* coff-sh.c (bfd_pe_print_pdata): Define to NULL for non

COFF_WITH_PE based SH ports.
        * libpei.h (_bfd_XX_print_ce_compressed_pdata): Prototype.
        * arm-wince-pe.c (bfd_pe_print_pdata): Use
        _bfd_pe_print_ce_compressed_pdata.
        (slurp_symcache, cleanup_syms, pe_print_ce_compressed_pdata): Move
        to...
        * peXXigen.c: ... here and rename pe_print_ce_compressed_pdata to
        _bfd_XX_print_ce_compressed_pdata.
This commit is contained in:
Nick Clifton 2008-07-21 14:09:57 +00:00
parent 5b9f75a8ae
commit 799c00e027
5 changed files with 208 additions and 187 deletions

View file

@ -30,6 +30,8 @@
#include "coff/sh.h"
#include "coff/internal.h"
#undef bfd_pe_print_pdata
#ifdef COFF_WITH_PE
#include "coff/pe.h"
@ -41,11 +43,14 @@ static bfd_boolean sh_align_load_span
#define _bfd_sh_align_load_span sh_align_load_span
#endif
#endif
#undef bfd_pe_print_pdata
#define bfd_pe_print_pdata pe_print_ce_compressed_pdata
extern bfd_boolean pe_print_ce_compressed_pdata (bfd *, void *);
#define bfd_pe_print_pdata _bfd_pe_print_ce_compressed_pdata
#else
#define bfd_pe_print_pdata NULL
#endif /* COFF_WITH_PE. */
#include "libcoff.h"