aboutsummaryrefslogtreecommitdiff
path: root/bfd/elfxx-target.h
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>1999-05-28 13:24:33 +0000
committerNick Clifton <nickc@redhat.com>1999-05-28 13:24:33 +0000
commite6c51ed4dfc35cad59f92b1e364511385858401a (patch)
tree3240776f91249a08e427368fddd74ebe0f11e004 /bfd/elfxx-target.h
parent229cf42b3388829e250cfab927fbb116e6d946ae (diff)
downloadgdb-e6c51ed4dfc35cad59f92b1e364511385858401a.zip
gdb-e6c51ed4dfc35cad59f92b1e364511385858401a.tar.gz
gdb-e6c51ed4dfc35cad59f92b1e364511385858401a.tar.bz2
Initialise EI_OSABI and EI_ABIVERSION fields of e_ident array.
Add ability for backends to process program and section headers after they have been created.
Diffstat (limited to 'bfd/elfxx-target.h')
-rw-r--r--bfd/elfxx-target.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/bfd/elfxx-target.h b/bfd/elfxx-target.h
index 9acabd1..dc116ef 100644
--- a/bfd/elfxx-target.h
+++ b/bfd/elfxx-target.h
@@ -290,6 +290,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#ifndef elf_backend_plt_header_size
#define elf_backend_plt_header_size 0
#endif
+#ifndef elf_backend_post_process_headers
+#define elf_backend_post_process_headers NULL
+#endif
#ifndef ELF_MACHINE_ALT1
#define ELF_MACHINE_ALT1 0
@@ -344,6 +347,7 @@ static CONST struct elf_backend_data elfNN_bed =
elf_backend_modify_segment_map,
elf_backend_gc_mark_hook,
elf_backend_gc_sweep_hook,
+ elf_backend_post_process_headers,
elf_backend_ecoff_debug_swap,
ELF_MACHINE_ALT1,
ELF_MACHINE_ALT2,