From fdbdabdda5c3f249b0e0e01bd5dd7c222017be3e Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Wed, 10 Sep 2003 20:48:32 +0000 Subject: [PATCH] 2003-09-10 H.J. Lu * elfxx-ia64.c (elfNN_ia64_special_sections): Mark all sections started with ".sbss" or "".sdata" as SHF_IA_64_SHORT. --- bfd/ChangeLog | 5 +++++ bfd/elfxx-ia64.c | 4 ++-- 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 + + * 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 Randolph Chung 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 } -- 2.34.1