[PATCH] NO_SMALL_DATA for s390/s390x
Jakub Jelinek
jakub@redhat.com
Mon Jan 5 09:49:00 GMT 2004
Hi!
AFAIK s390/s390x never use .sdata/.sbss/.sdata2/.sbss2 etc. sections.
This patch gets rid of the empty .sbss sections.
2004-01-05 Jakub Jelinek <jakub@redhat.com>
* emulparams/elf_s390.sh (NO_SMALL_DATA): Set to yes.
* emulparams/elf64_s390.sh (NO_SMALL_DATA): Set to yes.
--- ld/emulparams/elf_s390.sh.jj 2003-05-30 17:19:17.000000000 +0200
+++ ld/emulparams/elf_s390.sh 2004-01-05 10:44:44.000000000 +0100
@@ -9,3 +9,4 @@ NOP=0x07070707
TEMPLATE_NAME=elf32
GENERATE_SHLIB_SCRIPT=yes
GENERATE_PIE_SCRIPT=yes
+NO_SMALL_DATA=yes
--- ld/emulparams/elf64_s390.sh.jj 2003-05-30 17:19:17.000000000 +0200
+++ ld/emulparams/elf64_s390.sh 2004-01-05 10:44:57.000000000 +0100
@@ -10,6 +10,7 @@ NOP=0x07070707
TEMPLATE_NAME=elf32
GENERATE_SHLIB_SCRIPT=yes
GENERATE_PIE_SCRIPT=yes
+NO_SMALL_DATA=yes
# Treat a host that matches the target with the possible exception of "x"
# in the name as if it were native.
Jakub
More information about the Binutils
mailing list