Fixing SH builds
Nick Clifton
nickc@redhat.com
Mon Jul 21 14:11:00 GMT 2008
Hi Guys,
Right, it was my fault that the SH ports stopped building properly,
so I am checking in the patch below to fix things. (What happened
was that I applied Danny's patch, started my regression tests, saw
that everything was building OK, assumed that the remaining builds
would work and so checked in the patch. Obviously I should have
waited until all the builds and tests had run, as then I would have
seen the problem with the SH ports.
What I have done is to move pe_print_ce_compressed_pdata into
peXXigen.c, renamed it using the XX convention so that when multiple
copies of peXXigen.c are built we do not get name conflicts, and
then fixed up the references to it. This time I did rerun the full
build and regression test of all 107 targets, and everything worked.
Cheers
Nick
bfd/ChangeLog
2008-07-21 Nick Clifton <nickc@redhat.com>
* 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bfd.patch.bz2
Type: application/x-bzip2
Size: 3147 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20080721/3faaf20d/attachment.bz2>
More information about the Binutils
mailing list