From 254ed74373f67d4e5668c48a8dd16e8120c9a040 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 25 Jan 2002 16:41:37 +0000 Subject: [PATCH] Reset AIX vector function overrides for HP-UX. --- bfd/ChangeLog | 4 ++++ bfd/elfxx-ia64.c | 10 ++++++++++ 2 files changed, 14 insertions(+) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 04bcd07bac..01a2d101aa 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2002-01-22 Steve Ellcey + + * bfd/elfxx-ia64.c: Reset AIX vector function overrides for HP-UX. + 2002-01-25 Philipp Thomas * coffgen.c (coff_print_symbol): Don't mark info message diff --git a/bfd/elfxx-ia64.c b/bfd/elfxx-ia64.c index 6baf77866d..7c4e1394ec 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