Home
last modified time | relevance | path

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

123

/TwlSDK-5.1.0/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.1.0/build/libraries/dsp/ARM9.TWL/src/
Ddsp_process.c236 const COFFSectionTable *section) in DSPi_MapAndLoadProcessImageCallback() argument
257 const char *name = (const char *)section->Name; in DSPi_MapAndLoadProcessImageCallback()
263 (int)(stringtable + *(u32*)&section->Name[4]), in DSPi_MapAndLoadProcessImageCallback()
279 if ((section->s_flags & COFF_SECTION_ATTR_MAPPED_IN_CODE_MEMORY) != 0) in DSPi_MapAndLoadProcessImageCallback()
281 int baseaddr = (int)(section->s_paddr * 2); in DSPi_MapAndLoadProcessImageCallback()
282 BOOL noload = ((section->s_flags & COFF_SECTION_ATTR_NOLOAD_FOR_CODE_MEMORY) != 0); in DSPi_MapAndLoadProcessImageCallback()
300 if ((section->s_flags & COFF_SECTION_ATTR_MAPPED_IN_DATA_MEMORY) != 0) in DSPi_MapAndLoadProcessImageCallback()
302 int baseaddr = (int)(section->s_vaddr * 2); in DSPi_MapAndLoadProcessImageCallback()
303 BOOL noload = ((section->s_flags & COFF_SECTION_ATTR_NOLOAD_FOR_DATA_MEMORY) != 0); in DSPi_MapAndLoadProcessImageCallback()
327 int length = (int)section->s_size; in DSPi_MapAndLoadProcessImageCallback()
[all …]
/TwlSDK-5.1.0/build/tools/makelcf.TWL/
Dcreatelcf.c41 static BOOL isObjectOK(const tObject * obj, const char *section, char filter_type);
42 static BOOL isSectionWildcard(const char *section);
43 static BOOL isSectionRegular(const char *section);
369 static BOOL isObjectOK(const tObject * obj, const char *section, char filter_type) in isObjectOK() argument
378 if (isSectionWildcard(section) || in isObjectOK()
379 (isSectionWildcard(obj->sectionName) && isSectionRegular(section)) || in isObjectOK()
380 isSame(obj->sectionName, section)) in isObjectOK()
400 static BOOL isSectionWildcard(const char *section) in isSectionWildcard() argument
402 return !section || isSame(section, "*"); in isSectionWildcard()
405 static BOOL isSectionRegular(const char *section) in isSectionRegular() argument
[all …]
/TwlSDK-5.1.0/build/tools/makelcf/
Dcreatelcf.c111 static BOOL isObjectOK(const tObject * obj, const char *section, char filter_type);
112 static BOOL isSectionWildcard(const char *section);
113 static BOOL isSectionRegular(const char *section);
421 static BOOL isObjectOK(const tObject * obj, const char *section, char filter_type) in isObjectOK() argument
430 if (isSectionWildcard(section) || in isObjectOK()
431 (isSectionWildcard(obj->sectionName) && isSectionRegular(section)) || in isObjectOK()
432 isSame(obj->sectionName, section)) in isObjectOK()
452 static BOOL isSectionWildcard(const char *section) in isSectionWildcard() argument
454 return !section || isSame(section, "*"); in isSectionWildcard()
457 static BOOL isSectionRegular(const char *section) in isSectionRegular() argument
[all …]
/TwlSDK-5.1.0/include/nitro/
Dsinit.h23 #pragma section SINIT begin
25 #pragma section SINIT end
Ddtcm_begin.h23 #pragma section DTCM begin
Dmain_begin.h23 #pragma section MAIN begin
Ditcm_end.h21 #pragma section ITCM end
Dparent_end.h21 #pragma section PARENT end
Dwram_begin.h23 #pragma section WRAM begin
Dwram_end.h21 #pragma section WRAM end
Dparent_begin.h23 #pragma section PARENT begin
Dmain_end.h21 #pragma section MAIN end
/TwlSDK-5.1.0/include/twl/
Ditcm_begin.h23 #pragma section ITCM begin
Ddtcm_begin.h23 #pragma section DTCM begin
Dltdwram_end.h21 #pragma section LTDWRAM end
Dwram_begin.h23 #pragma section WRAM begin
Dwram_end.h21 #pragma section WRAM end
Dltdmain_end.h21 #pragma section LTDMAIN end
Ditcm_end.h21 #pragma section ITCM end
Dltdmain_begin.h23 #pragma section LTDMAIN begin

123