aboutsummaryrefslogtreecommitdiff
path: root/bfd/elfxx-ia64.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2002-01-25 16:41:37 +0000
committerNick Clifton <nickc@redhat.com>2002-01-25 16:41:37 +0000
commit254ed74373f67d4e5668c48a8dd16e8120c9a040 (patch)
treef5cb2ec712fa26458cdf2bc368c9e85df7163a06 /bfd/elfxx-ia64.c
parent15c82623b17cbfe6a5879d7e886e636dde6c92f1 (diff)
downloadgdb-254ed74373f67d4e5668c48a8dd16e8120c9a040.zip
gdb-254ed74373f67d4e5668c48a8dd16e8120c9a040.tar.gz
gdb-254ed74373f67d4e5668c48a8dd16e8120c9a040.tar.bz2
Reset AIX vector function overrides for HP-UX.
Diffstat (limited to 'bfd/elfxx-ia64.c')
-rw-r--r--bfd/elfxx-ia64.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/bfd/elfxx-ia64.c b/bfd/elfxx-ia64.c
index 6baf778..7c4e139 100644
--- a/bfd/elfxx-ia64.c
+++ b/bfd/elfxx-ia64.c
@@ -4600,6 +4600,16 @@ elfNN_hpux_backend_section_from_bfd_section (abfd, sec, retval)
#undef TARGET_BIG_NAME
#define TARGET_BIG_NAME "elfNN-ia64-hpux-big"
+/* We need to undo the AIX specific functions. */
+
+#undef elf_backend_add_symbol_hook
+#define elf_backend_add_symbol_hook elfNN_ia64_add_symbol_hook
+
+#undef bfd_elfNN_bfd_link_add_symbols
+#define bfd_elfNN_bfd_link_add_symbols _bfd_generic_link_add_symbols
+
+/* These are HP-UX specific functions. */
+
#undef elf_backend_post_process_headers
#define elf_backend_post_process_headers elfNN_hpux_post_process_headers