This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
[PATCH] NO_SMALL_DATA for s390/s390x
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Martin Schwidefsky <schwidefsky at de dot ibm dot com>
- Cc: binutils at sources dot redhat dot com
- Date: Mon, 5 Jan 2004 08:42:54 +0100
- Subject: [PATCH] NO_SMALL_DATA for s390/s390x
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
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