diff options
author | Alan Modra <amodra@gmail.com> | 2007-02-19 12:44:18 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2007-02-19 12:44:18 +0000 |
commit | 6bfdb61b0cfa7f8e483cacc6802188a8b211fbbd (patch) | |
tree | 68dc2ba9d4ad6f8b60c437fdde307c7c62d880f5 /bfd/elfxx-target.h | |
parent | c88471452a9c275da39f0cdcd2c05c3c7a4e7e4a (diff) | |
download | gdb-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/elfxx-target.h')
-rw-r--r-- | bfd/elfxx-target.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/bfd/elfxx-target.h b/bfd/elfxx-target.h index a09376b..c7be577 100644 --- a/bfd/elfxx-target.h +++ b/bfd/elfxx-target.h @@ -103,6 +103,9 @@ #ifndef elf_backend_want_p_paddr_set_to_zero #define elf_backend_want_p_paddr_set_to_zero 0 #endif +#ifndef elf_backend_default_execstack +#define elf_backend_default_execstack 1 +#endif #define bfd_elfNN_bfd_debug_info_start bfd_void #define bfd_elfNN_bfd_debug_info_end bfd_void @@ -683,7 +686,8 @@ static struct elf_backend_data elfNN_bed = elf_backend_can_refcount, elf_backend_want_got_sym, elf_backend_want_dynbss, - elf_backend_want_p_paddr_set_to_zero + elf_backend_want_p_paddr_set_to_zero, + elf_backend_default_execstack }; /* Forward declaration for use when initialising alternative_target field. */ |