aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2003-09-10 20:48:32 +0000
committerH.J. Lu <hjl.tools@gmail.com>2003-09-10 20:48:32 +0000
commitfdbdabdda5c3f249b0e0e01bd5dd7c222017be3e (patch)
treefe1cd1ab4a1db41dc8c8b2d8bb1a0dfa2e31fee8 /bfd
parentba9c40534b023210c8a2bd51f94a180f38ff9d7d (diff)
downloadgdb-fdbdabdda5c3f249b0e0e01bd5dd7c222017be3e.zip
gdb-fdbdabdda5c3f249b0e0e01bd5dd7c222017be3e.tar.gz
gdb-fdbdabdda5c3f249b0e0e01bd5dd7c222017be3e.tar.bz2
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.
Diffstat (limited to 'bfd')
-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 c8ebc91..a2f8f86 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 8c37240..47f4575 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 }