diff options
author | Alan Modra <amodra@gmail.com> | 2007-02-15 08:33:53 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2007-02-15 08:33:53 +0000 |
commit | 72f6ea61c5fa80885964876fc77f65788cc4e5d5 (patch) | |
tree | 1ba2ecbc3f1272a77f8a5a9ec5134a7d747a83ea /bfd/ppcboot.c | |
parent | 277d975a4da12874852c444834a08304e75de1db (diff) | |
download | gdb-72f6ea61c5fa80885964876fc77f65788cc4e5d5.zip gdb-72f6ea61c5fa80885964876fc77f65788cc4e5d5.tar.gz gdb-72f6ea61c5fa80885964876fc77f65788cc4e5d5.tar.bz2 |
* libbfd-in.h (_bfd_norelocs_get_reloc_upper_bound): Don't define,
declare.
(_bfd_norelocs_canonicalize_reloc): Likewise.
* libbfd.h: Regenerate.
* libbfd.c (_bfd_norelocs_get_reloc_upper_bound): New function.
(_bfd_norelocs_canonicalize_reloc): Likewise.
* binary.c (binary_bfd_reloc_type_lookup): Don't define.
(binary_get_reloc_upper_bound, binary_canonicalize_reloc): Likewise.
(binary_vec): Use _bfd_norelocs in BFD_JUMP_TABLE_RELOCS.
* ihex.c: Similarly.
* mach-o-target.c: Similarly.
* mach-o.c: Similarly.
* mmo.c: Similarly.
* pef.c: Similarly.
* ppcboot.c: Similarly.
* srec.c: Similarly.
* xsym.c: Similarly.
Diffstat (limited to 'bfd/ppcboot.c')
-rw-r--r-- | bfd/ppcboot.c | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/bfd/ppcboot.c b/bfd/ppcboot.c index f7bb6aa..12d59f3 100644 --- a/bfd/ppcboot.c +++ b/bfd/ppcboot.c @@ -1,6 +1,6 @@ /* BFD back-end for PPCbug boot records. - Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2006 - Free Software Foundation, Inc. + Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2006, + 2007 Free Software Foundation, Inc. Written by Michael Meissner, Cygnus Support, <meissner@cygnus.com> This file is part of BFD, the Binary File Descriptor library. @@ -354,12 +354,6 @@ ppcboot_get_symbol_info (ignore_abfd, symbol, ret) #define ppcboot_bfd_make_debug_symbol _bfd_nosymbols_bfd_make_debug_symbol #define ppcboot_read_minisymbols _bfd_generic_read_minisymbols #define ppcboot_minisymbol_to_symbol _bfd_generic_minisymbol_to_symbol - -#define ppcboot_get_reloc_upper_bound \ - ((long (*) PARAMS ((bfd *, asection *))) bfd_0l) -#define ppcboot_canonicalize_reloc \ - ((long (*) PARAMS ((bfd *, asection *, arelent **, asymbol **))) bfd_0l) -#define ppcboot_bfd_reloc_type_lookup _bfd_norelocs_bfd_reloc_type_lookup /* Write section contents of a ppcboot file. */ @@ -534,7 +528,7 @@ const bfd_target ppcboot_vec = BFD_JUMP_TABLE_CORE (_bfd_nocore), BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive), BFD_JUMP_TABLE_SYMBOLS (ppcboot), - BFD_JUMP_TABLE_RELOCS (ppcboot), + BFD_JUMP_TABLE_RELOCS (_bfd_norelocs), BFD_JUMP_TABLE_WRITE (ppcboot), BFD_JUMP_TABLE_LINK (ppcboot), BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), |