This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Empty sbss sections on ARM
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: binutils at sources dot redhat dot com
- Cc: Phil Blundell <pb at nexus dot co dot uk>
- Date: Fri, 26 Sep 2003 11:49:38 -0400
- Subject: Empty sbss sections on ARM
Is there any reason not to apply this patch? None of the other sbss
infrastructure appears to be present for ARM.
In other news, the empty .sbss section created without this patch is marked
as alignment 2**0, SHT_PROGBITS, CONTENTS. Which is obviously wrong but I'm
not sure how to fix that. That's what got me looking at the problem; the
prelinker in some situations gets quite upset by this.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
2003-09-26 Daniel Jacobowitz <drow@mvista.com>
* emulparams/armelf_linux.sh: Define NO_SMALL_DATA.
--- binutils-2.14/ld/emulparams/armelf_linux.sh.orig 2003-09-26 11:08:26.000000000 -0400
+++ binutils-2.14/ld/emulparams/armelf_linux.sh 2003-09-26 11:08:52.000000000 -0400
@@ -16,3 +16,5 @@ OTHER_BSS_SYMBOLS='__bss_start__ = .;'
OTHER_BSS_END_SYMBOLS='_bss_end__ = . ; __bss_end__ = . ; __end__ = . ;'
TEXT_START_ADDR=0x00008000
+
+NO_SMALL_DATA=yes