Empty sbss sections on ARM

Daniel Jacobowitz drow@mvista.com
Fri Sep 26 15:49:00 GMT 2003


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



More information about the Binutils mailing list