1530d68baSNigel CroxonOUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm") 2530d68baSNigel CroxonOUTPUT_ARCH(arm) 3530d68baSNigel CroxonENTRY(_start) 4530d68baSNigel CroxonSECTIONS 5530d68baSNigel Croxon{ 6530d68baSNigel Croxon .text 0x0 : { 711a459baSNigel Croxon _text = .; 8530d68baSNigel Croxon *(.text.head) 9530d68baSNigel Croxon *(.text) 10530d68baSNigel Croxon *(.text.*) 11530d68baSNigel Croxon *(.gnu.linkonce.t.*) 12530d68baSNigel Croxon *(.srodata) 13530d68baSNigel Croxon *(.rodata*) 14530d68baSNigel Croxon . = ALIGN(16); 15530d68baSNigel Croxon } 1611a459baSNigel Croxon _etext = .; 1711a459baSNigel Croxon _text_size = . - _text; 1889d55b36SCallum Farmer . = ALIGN(4096); 19530d68baSNigel Croxon .dynamic : { *(.dynamic) } 20530d68baSNigel Croxon .data : 21530d68baSNigel Croxon { 2211a459baSNigel Croxon _data = .; 23530d68baSNigel Croxon *(.sdata) 24530d68baSNigel Croxon *(.data) 25530d68baSNigel Croxon *(.data1) 2606db4a2bSNigel Croxon *(.data.*) 27530d68baSNigel Croxon *(.got.plt) 28530d68baSNigel Croxon *(.got) 29530d68baSNigel Croxon 30530d68baSNigel Croxon /* the EFI loader doesn't seem to like a .bss section, so we stick 31530d68baSNigel Croxon it all into .data: */ 32530d68baSNigel Croxon . = ALIGN(16); 33530d68baSNigel Croxon _bss = .; 34530d68baSNigel Croxon *(.sbss) 35530d68baSNigel Croxon *(.scommon) 36530d68baSNigel Croxon *(.dynbss) 37530d68baSNigel Croxon *(.bss) 3806db4a2bSNigel Croxon *(.bss.*) 39530d68baSNigel Croxon *(COMMON) 40530d68baSNigel Croxon . = ALIGN(16); 41530d68baSNigel Croxon _bss_end = .; 42530d68baSNigel Croxon } 43d39106b3SNigel Croxon 44eea6d31aSCallum Farmer .rel : 45eea6d31aSCallum Farmer { 46eea6d31aSCallum Farmer *(.rel.text*) 47eea6d31aSCallum Farmer *(.rel.data*) 48eea6d31aSCallum Farmer *(.rel.got) 4902f96e8aSCallum Farmer *(.rel.dyn) 50eea6d31aSCallum Farmer *(.rel.stab) 51eea6d31aSCallum Farmer } 52*1a10c661SCallum Farmer . = ALIGN(4096); 53*1a10c661SCallum Farmer .rel.plt : { *(.rel.plt) } 54530d68baSNigel Croxon _edata = .; 55530d68baSNigel Croxon _data_size = . - _etext; 56530d68baSNigel Croxon 57530d68baSNigel Croxon . = ALIGN(4096); 58530d68baSNigel Croxon .dynsym : { *(.dynsym) } 59530d68baSNigel Croxon . = ALIGN(4096); 60530d68baSNigel Croxon .dynstr : { *(.dynstr) } 61530d68baSNigel Croxon . = ALIGN(4096); 62e64257b9SNigel Croxon .note.gnu.build-id : { *(.note.gnu.build-id) } 63530d68baSNigel Croxon /DISCARD/ : 64530d68baSNigel Croxon { 65530d68baSNigel Croxon *(.rel.reloc) 66530d68baSNigel Croxon *(.eh_frame) 67530d68baSNigel Croxon *(.note.GNU-stack) 68530d68baSNigel Croxon } 69530d68baSNigel Croxon .comment 0 : { *(.comment) } 70530d68baSNigel Croxon} 71