diff options
Diffstat (limited to 'x86_64-linux-android/lib/ldscripts/i386linux.xbn')
-rw-r--r-- | x86_64-linux-android/lib/ldscripts/i386linux.xbn | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/x86_64-linux-android/lib/ldscripts/i386linux.xbn b/x86_64-linux-android/lib/ldscripts/i386linux.xbn new file mode 100644 index 0000000..91b1e91 --- /dev/null +++ b/x86_64-linux-android/lib/ldscripts/i386linux.xbn @@ -0,0 +1,46 @@ +/* Script for -N: mix text and data on same page; don't align data */ +OUTPUT_FORMAT("a.out-i386-linux", "a.out-i386-linux", + "a.out-i386-linux") +OUTPUT_ARCH(i386) +PROVIDE (__stack = 0); +SECTIONS +{ + . = 0; + .text : + { + CREATE_OBJECT_SYMBOLS + *(.text) + /* The next six sections are for SunOS dynamic linking. The order + is important. */ + *(.dynrel) + *(.hash) + *(.dynsym) + *(.dynstr) + *(.rules) + *(.need) + _etext = .; + __etext = .; + } + . = .; + .data : + { + /* The first three sections are for SunOS dynamic linking. */ + *(.dynamic) + *(.got) + *(.plt) + *(.data) + *(.linux-dynamic) /* For Linux dynamic linking. */ + CONSTRUCTORS + _edata = .; + __edata = .; + } + .bss : + { + __bss_start = .; + *(.bss) + *(COMMON) + . = ALIGN(4); + _end = . ; + __end = . ; + } +} |