summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl@lucon.org>2003-09-10 20:48:32 +0000
committerH.J. Lu <hjl@lucon.org>2003-09-10 20:48:32 +0000
commitd66a07412aa25b292e2c3fd8975d3f7edf1d55f3 (patch)
tree6467012eae7317e4fb0b1816cfdb5bec7d7ac812
parentf3a2426c109598f4d7022d8ca6e2b7a813eb9b25 (diff)
downloadbinutils-redhat-d66a07412aa25b292e2c3fd8975d3f7edf1d55f3.tar.gz
2003-09-10 H.J. Lu <hongjiu.lu@intel.com>
* elfxx-ia64.c (elfNN_ia64_special_sections): Mark all sections started with ".sbss" or "".sdata" as SHF_IA_64_SHORT.
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elfxx-ia64.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index c8ebc9111c..a2f8f86e2c 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2003-09-10 H.J. Lu <hongjiu.lu@intel.com>
+
+ * elfxx-ia64.c (elfNN_ia64_special_sections): Mark all sections
+ started with ".sbss" or "".sdata" as SHF_IA_64_SHORT.
+
2003-09-10 John David Anglin <dave.anglin@nrc-cnrc.nrc.ca>
Randolph Chung <randolph@tausq.org>
diff --git a/bfd/elfxx-ia64.c b/bfd/elfxx-ia64.c
index 8c37240536..47f457594d 100644
--- a/bfd/elfxx-ia64.c
+++ b/bfd/elfxx-ia64.c
@@ -4748,9 +4748,9 @@ elfNN_ia64_reloc_type_class (rela)
static struct bfd_elf_special_section const elfNN_ia64_special_sections[]=
{
- { ".sbss", 0, NULL, 0,
+ { ".sbss", 5, NULL, 0,
SHT_NOBITS, SHF_ALLOC + SHF_WRITE + SHF_IA_64_SHORT },
- { ".sdata", 0, NULL, 0,
+ { ".sdata", 6, NULL, 0,
SHT_PROGBITS, SHF_ALLOC + SHF_WRITE + SHF_IA_64_SHORT },
{ NULL, 0, NULL, 0,
0, 0 }