Home
last modified time | relevance | path

Searched refs:section (Results 1 – 25 of 66) sorted by relevance

123

/TwlSDK-5.5/build/tools/bin2obj/
Doutput.c71 ptr = (u8 *)&cooked_obj->section[0]; in output_object()
79 offset = obj->section[n].sh_offset; in output_object()
80 size = obj->section[n].sh_size; in output_object()
89 offset = obj->section[n].sh_offset; in output_object()
90 size = obj->section[n].sh_size; in output_object()
99 offset = obj->section[n].sh_offset; in output_object()
100 size = obj->section[n].sh_size; in output_object()
111 offset = obj->section[n].sh_offset; in output_object()
112 size = obj->section[n].sh_size; in output_object()
113 ptr = (u8 *)obj->data[i].section.ptr; in output_object()
Dsection.c62 add_section(obj, section_rwdata, SHT_PROGBITS, SHF_WRITE | SHF_ALLOC, d->section.size, in add_datasec()
68 add_section(obj, section_rodata, SHT_PROGBITS, SHF_ALLOC, d->section.size, align); in add_datasec()
76 (void)add_symbol(obj, symbol_begin, 0, d->section.size, d->index); in add_datasec()
77 (void)add_symbol(obj, symbol_end, d->section.size, 0, d->index); in add_datasec()
99 Section *s = &obj->data[n].section; in read_datasec()
152 obj->section[obj->header.e_shstrndx].sh_size = obj->section_name.size; in add_section_name()
177 s = &obj->section[n]; in add_section()
223 obj->section[obj->symbol_name_index].sh_size = obj->symbol_name.size; in add_symbol_name()
241 u32 add_symbol(Object * obj, const char *symbol, u32 value, u32 size, u32 section) in add_symbol() argument
243 ELF32_SectionHeader *symtab = &obj->section[obj->symbol_index]; in add_symbol()
[all …]
Dobject.h53 Section section; member
66 ELF32_SectionHeader section[MAX_SECTIONS]; member
DMakefile26 section.c \
51 section.o: section.c bin2obj.h
Dobject.c63 s = &obj->section[obj->symbol_index]; in object_init()
142 s = &obj->section[i]; in map_section()
245 conv_to_big_endian_section(&src->section[i], &dest->section[i]); in conv_to_big_endian()
248 n = src->section[src->symbol_index].sh_size / sizeof(src->symbol[0]); in conv_to_big_endian()
/TwlSDK-5.5/build/tools/makelcf.TWL/
Dcreatelcf.c43 static BOOL isObjectOK(const tObject * obj, const char *section, char filter_type);
44 static BOOL isSectionWildcard(const char *section);
45 static BOOL isSectionRegular(const char *section);
375 static BOOL isObjectOK(const tObject * obj, const char *section, char filter_type) in isObjectOK() argument
384 if (isSectionWildcard(section) || in isObjectOK()
385 (isSectionWildcard(obj->sectionName) && isSectionRegular(section)) || in isObjectOK()
386 isSame(obj->sectionName, section)) in isObjectOK()
406 static BOOL isSectionWildcard(const char *section) in isSectionWildcard() argument
408 return !section || isSame(section, "*"); in isSectionWildcard()
411 static BOOL isSectionRegular(const char *section) in isSectionRegular() argument
[all …]
/TwlSDK-5.5/build/libraries/dsp/ARM9.TWL/src/
Ddsp_process.c237 const COFFSectionTable *section) in DSPi_MapAndLoadProcessImageCallback() argument
258 const char *name = (const char *)section->Name; in DSPi_MapAndLoadProcessImageCallback()
264 (int)(stringtable + *(u32*)&section->Name[4]), in DSPi_MapAndLoadProcessImageCallback()
280 if ((section->s_flags & COFF_SECTION_ATTR_MAPPED_IN_CODE_MEMORY) != 0) in DSPi_MapAndLoadProcessImageCallback()
282 int baseaddr = (int)(section->s_paddr * 2); in DSPi_MapAndLoadProcessImageCallback()
283 BOOL noload = ((section->s_flags & COFF_SECTION_ATTR_NOLOAD_FOR_CODE_MEMORY) != 0); in DSPi_MapAndLoadProcessImageCallback()
301 if ((section->s_flags & COFF_SECTION_ATTR_MAPPED_IN_DATA_MEMORY) != 0) in DSPi_MapAndLoadProcessImageCallback()
303 int baseaddr = (int)(section->s_vaddr * 2); in DSPi_MapAndLoadProcessImageCallback()
304 BOOL noload = ((section->s_flags & COFF_SECTION_ATTR_NOLOAD_FOR_DATA_MEMORY) != 0); in DSPi_MapAndLoadProcessImageCallback()
328 int length = (int)section->s_size; in DSPi_MapAndLoadProcessImageCallback()
[all …]
/TwlSDK-5.5/build/tools/makelcf/
Dcreatelcf.c112 static BOOL isObjectOK(const tObject * obj, const char *section, char filter_type);
113 static BOOL isSectionWildcard(const char *section);
114 static BOOL isSectionRegular(const char *section);
425 static BOOL isObjectOK(const tObject * obj, const char *section, char filter_type) in isObjectOK() argument
434 if (isSectionWildcard(section) || in isObjectOK()
435 (isSectionWildcard(obj->sectionName) && isSectionRegular(section)) || in isObjectOK()
436 isSame(obj->sectionName, section)) in isObjectOK()
456 static BOOL isSectionWildcard(const char *section) in isSectionWildcard() argument
458 return !section || isSame(section, "*"); in isSectionWildcard()
461 static BOOL isSectionRegular(const char *section) in isSectionRegular() argument
[all …]
/TwlSDK-5.5/include/nitro/
Dsinit.h23 #pragma section SINIT begin
25 #pragma section SINIT end
Ditcm_end.h21 #pragma section ITCM end
Dmain_end.h21 #pragma section MAIN end
Ddtcm_begin.h23 #pragma section DTCM begin
Ditcm_begin.h23 #pragma section ITCM begin
Dwram_begin.h23 #pragma section WRAM begin
Dversion_begin.h23 #pragma section VERSION begin
Dparent_begin.h23 #pragma section PARENT begin
Dparent_end.h21 #pragma section PARENT end
/TwlSDK-5.5/include/twl/
Dltdwram_begin.h23 #pragma section LTDWRAM begin
Ddtcm_begin.h23 #pragma section DTCM begin
Dltdwram_end.h21 #pragma section LTDWRAM end
Dwram_end.h21 #pragma section WRAM end
Ditcm_begin.h23 #pragma section ITCM begin
Ditcm_end.h21 #pragma section ITCM end
Dltdmain_end.h21 #pragma section LTDMAIN end
Dwram_begin.h23 #pragma section WRAM begin

123