1 /* Script for -N: mix text and data on same page; don't align data */ 2 /* Copyright (C) 2014-2016 Free Software Foundation, Inc. 3 Copying and distribution of this script, with or without modification, 4 are permitted in any medium without royalty provided the copyright 5 notice and this notice are preserved. */ 6 OUTPUT_FORMAT("a.out-i386-linux", "a.out-i386-linux", 7 "a.out-i386-linux") 8 OUTPUT_ARCH(i386) 9 SEARCH_DIR("=/tmp/3d998f8210e3abcf206756d42d8e2e39/i386-linux-androidaout/lib"); 10 PROVIDE (__stack = 0); 11 SECTIONS 12 { 13 . = 0; 14 .text : 15 { 16 CREATE_OBJECT_SYMBOLS 17 *(.text) 18 /* The next six sections are for SunOS dynamic linking. The order 19 is important. */ 20 *(.dynrel) 21 *(.hash) 22 *(.dynsym) 23 *(.dynstr) 24 *(.rules) 25 *(.need) 26 _etext = .; 27 __etext = .; 28 } 29 . = .; 30 .data : 31 { 32 /* The first three sections are for SunOS dynamic linking. */ 33 *(.dynamic) 34 *(.got) 35 *(.plt) 36 *(.data) 37 *(.linux-dynamic) /* For Linux dynamic linking. */ 38 CONSTRUCTORS 39 _edata = .; 40 __edata = .; 41 } 42 .bss : 43 { 44 __bss_start = .; 45 *(.bss) 46 *(COMMON) 47 . = ALIGN(4); 48 _end = . ; 49 __end = . ; 50 } 51 } 52