MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / elf_zero_bss

Function elf_zero_bss

components/lwp/lwp_elf.c:594–600  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

592}
593
594static int elf_zero_bss(struct rt_lwp *lwp, int fd, const Elf_Phdr *phdr, rt_ubase_t bss_start,
595 rt_ubase_t bss_end)
596{
597 lwp_data_set(lwp, (void *)bss_start, 0, bss_end - bss_start);
598
599 return RT_EOK;
600}
601
602/**
603 * @brief Map ELF segments into memory.

Callers 1

elf_file_mmapFunction · 0.85

Calls 1

lwp_data_setFunction · 0.85

Tested by

no test coverage detected