[patch] PPC build faiure (was: Re VXWorks support for PPC)
Paul Brook
paul@codesourcery.com
Tue Jul 5 16:08:00 GMT 2005
On Tuesday 05 July 2005 16:32, Nick Clifton wrote:
> Hi Paul,
>
> Your recent check-in to add support for ppc-vxworks appears to have
> broken other ELF based PPC toolchains. eg for powerpc-eabisim I now
> get:
>
> .../bfd/elf32-ppc.c:7414: error: 'ppc_special_sections_s' undeclared here
> (not in a function) .../bfd/elf32-ppc.c:7415: error:
> 'ppc_special_sections_t' undeclared here (not in a function)
> .../bfd/elf32-ppc.c:7422: error: 'ppc_special_sections_other' undeclared
> here (not in a function)
My patch was still using the old method of handling special sections.
Attached patch fixes this.
Tested on powerpc-linux --enable-targets=all.
Ok?
2005-07-06 Paul Brook <paul@codesourcery.com>
* elf32-ppc.c (ppc_elf_vxworks_special_sections): Remove.
(ppc_elf_vxworks_get_sec_type_attr): New function.
(elf_backend_special_sections): Remove vxwords definition.
(elf_backend_get_sec_type_attr): Define for vxworks.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.ppc_vxworks_plt
Type: text/x-diff
Size: 2580 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20050705/ea760ebf/attachment.bin>
More information about the Binutils
mailing list