| /TwlSDK-5.1.0/build/tools/bin2obj/ |
| D | output.c | 71 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()
|
| D | section.c | 62 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 …]
|
| D | object.h | 53 Section section; member 66 ELF32_SectionHeader section[MAX_SECTIONS]; member
|
| D | Makefile | 26 section.c \ 51 section.o: section.c bin2obj.h
|
| D | object.c | 63 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/ |
| D | dsp_process.c | 236 const COFFSectionTable *section) in DSPi_MapAndLoadProcessImageCallback() argument 257 const char *name = (const char *)section->Name; in DSPi_MapAndLoadProcessImageCallback() 263 (int)(stringtable + *(u32*)§ion->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/ |
| D | createlcf.c | 41 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/ |
| D | createlcf.c | 111 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/ |
| D | sinit.h | 23 #pragma section SINIT begin 25 #pragma section SINIT end
|
| D | dtcm_begin.h | 23 #pragma section DTCM begin
|
| D | main_begin.h | 23 #pragma section MAIN begin
|
| D | itcm_end.h | 21 #pragma section ITCM end
|
| D | parent_end.h | 21 #pragma section PARENT end
|
| D | wram_begin.h | 23 #pragma section WRAM begin
|
| D | wram_end.h | 21 #pragma section WRAM end
|
| D | parent_begin.h | 23 #pragma section PARENT begin
|
| D | main_end.h | 21 #pragma section MAIN end
|
| /TwlSDK-5.1.0/include/twl/ |
| D | itcm_begin.h | 23 #pragma section ITCM begin
|
| D | dtcm_begin.h | 23 #pragma section DTCM begin
|
| D | ltdwram_end.h | 21 #pragma section LTDWRAM end
|
| D | wram_begin.h | 23 #pragma section WRAM begin
|
| D | wram_end.h | 21 #pragma section WRAM end
|
| D | ltdmain_end.h | 21 #pragma section LTDMAIN end
|
| D | itcm_end.h | 21 #pragma section ITCM end
|
| D | ltdmain_begin.h | 23 #pragma section LTDMAIN begin
|