aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf64-hppa.c
diff options
context:
space:
mode:
authorDave Anglin <dave.anglin@nrc.ca>2005-08-14 01:01:32 +0000
committerDave Anglin <dave.anglin@nrc.ca>2005-08-14 01:01:32 +0000
commit4fc35ca996e9c37ef860b123acc44bc832b2070a (patch)
tree67215cf1f60649750ba15397625d12da6dca252e /bfd/elf64-hppa.c
parenta765d810c88cc53ad749963b619740b164df846c (diff)
downloadgdb-4fc35ca996e9c37ef860b123acc44bc832b2070a.zip
gdb-4fc35ca996e9c37ef860b123acc44bc832b2070a.tar.gz
gdb-4fc35ca996e9c37ef860b123acc44bc832b2070a.tar.bz2
PR ld/1135
* elf64-hppa.c (elf64_hppa_special_sections): Add flag definitions for .plt, .dlt, .sdata, .sbss and .tbss.
Diffstat (limited to 'bfd/elf64-hppa.c')
-rw-r--r--bfd/elf64-hppa.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/bfd/elf64-hppa.c b/bfd/elf64-hppa.c
index 08421b5..6ac653f 100644
--- a/bfd/elf64-hppa.c
+++ b/bfd/elf64-hppa.c
@@ -2643,9 +2643,14 @@ elf64_hppa_elf_get_symbol_type (elf_sym, type)
static const struct bfd_elf_special_section elf64_hppa_special_sections[] =
{
- { ".fini", 5, 0, SHT_PROGBITS, SHF_ALLOC + SHF_WRITE },
- { ".init", 5, 0, SHT_PROGBITS, SHF_ALLOC + SHF_WRITE },
- { NULL, 0, 0, 0, 0 }
+ { ".fini", 5, 0, SHT_PROGBITS, SHF_ALLOC + SHF_WRITE },
+ { ".init", 5, 0, SHT_PROGBITS, SHF_ALLOC + SHF_WRITE },
+ { ".plt", 4, 0, SHT_PROGBITS, SHF_ALLOC + SHF_WRITE + SHF_PARISC_SHORT },
+ { ".dlt", 4, 0, SHT_PROGBITS, SHF_ALLOC + SHF_WRITE + SHF_PARISC_SHORT },
+ { ".sdata", 6, 0, SHT_PROGBITS, SHF_ALLOC + SHF_WRITE + SHF_PARISC_SHORT },
+ { ".sbss", 5, 0, SHT_NOBITS, SHF_ALLOC + SHF_WRITE + SHF_PARISC_SHORT },
+ { ".tbss", 5, 0, SHT_NOBITS, SHF_ALLOC + SHF_WRITE + SHF_PARISC_WEAKORDER },
+ { NULL, 0, 0, 0, 0 }
};
/* The hash bucket size is the standard one, namely 4. */