aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf64-ppc.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2007-02-19 12:44:18 +0000
committerAlan Modra <amodra@gmail.com>2007-02-19 12:44:18 +0000
commit6bfdb61b0cfa7f8e483cacc6802188a8b211fbbd (patch)
tree68dc2ba9d4ad6f8b60c437fdde307c7c62d880f5 /bfd/elf64-ppc.c
parentc88471452a9c275da39f0cdcd2c05c3c7a4e7e4a (diff)
downloadgdb-6bfdb61b0cfa7f8e483cacc6802188a8b211fbbd.zip
gdb-6bfdb61b0cfa7f8e483cacc6802188a8b211fbbd.tar.gz
gdb-6bfdb61b0cfa7f8e483cacc6802188a8b211fbbd.tar.bz2
* elf-bfd.h (struct elf_backend_data): Add default_execstack.
* elflink.c (bfd_elf_size_dynamic_sections): Heed default_execstack. * elfxx-target.h (elf_backend_default_execstack): Define to 1. (elfNN_bed): Init new field. * elf64-ppc.c (elf_backend_default_execstack): Define to 0.
Diffstat (limited to 'bfd/elf64-ppc.c')
-rw-r--r--bfd/elf64-ppc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/bfd/elf64-ppc.c b/bfd/elf64-ppc.c
index b6f5b35f..c1c5e6b 100644
--- a/bfd/elf64-ppc.c
+++ b/bfd/elf64-ppc.c
@@ -73,6 +73,7 @@ static bfd_vma opd_entry_value
#define elf_backend_can_gc_sections 1
#define elf_backend_can_refcount 1
#define elf_backend_rela_normal 1
+#define elf_backend_default_execstack 0
#define bfd_elf64_mkobject ppc64_elf_mkobject
#define bfd_elf64_bfd_reloc_type_lookup ppc64_elf_reloc_type_lookup
@@ -1197,7 +1198,7 @@ static reloc_howto_type ppc64_elf_howto_raw[] = {
/* Like R_PPC64_PLTGOT16, but for instructions with a DS field. */
/* FIXME: R_PPC64_PLTGOT16_DS not implemented. */
- HOWTO (R_PPC64_PLTGOT16_DS, /* type */
+ HOWTO (R_PPC64_PLTGOT16_DS, /* type */
0, /* rightshift */
1, /* size (0 = byte, 1 = short, 2 = long) */
16, /* bitsize */