This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
PATCH: Fix .sbss.* and .sdata.*
- From: "H. J. Lu" <hjl at lucon dot org>
- To: binutils at sources dot redhat dot com
- Date: Wed, 10 Sep 2003 13:49:38 -0700
- Subject: PATCH: Fix .sbss.* and .sdata.*
I checked in the following patch to fix .sbss.* and .sdata.* sections.
H.J.
----
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.
--- bfd/elfxx-ia64.c.gp 2003-09-08 14:19:42.000000000 -0700
+++ bfd/elfxx-ia64.c 2003-09-10 12:00:35.000000000 -0700
@@ -4784,9 +4791,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 }