From 64c1a318563c968a219642b849cb8dc917f16666 Mon Sep 17 00:00:00 2001 From: Dave Anglin Date: Sun, 14 Aug 2005 01:01:32 +0000 Subject: [PATCH] PR ld/1135 * elf64-hppa.c (elf64_hppa_special_sections): Add flag definitions for .plt, .dlt, .sdata, .sbss and .tbss. --- bfd/ChangeLog | 6 ++++++ bfd/elf64-hppa.c | 11 ++++++++--- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index aa15d4cb44..bb284c744b 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,9 @@ +2005-08-13 John David Anglin + + PR ld/1135 + * elf64-hppa.c (elf64_hppa_special_sections): Add flag definitions for + .plt, .dlt, .sdata, .sbss and .tbss. + 2005-08-12 Dmitry Diky * elf32-msp430.c (msp430_elf_relax_delete_bytes): Adjust relocations diff --git a/bfd/elf64-hppa.c b/bfd/elf64-hppa.c index 08421b5dfa..6ac653f3a0 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. */ -- 2.11.0