INPUT_SECTION_FLAGS broken (Was: [RFA] PowerPC VLE port)

James Lemke jwlemke@codesourcery.com
Wed May 9 18:37:00 GMT 2012


On 05/08/2012 11:53 PM, Alan Modra wrote:
> Fix this by passing info->section to a predicate
> function living in elf32-ppc.c something along the lines of
>
> bfd_boolean
> is_ppc_vle (asection *sec)
> {
>    return (sec->owner != NULL
> 	&&  is_ppc_elf (sec->owner)
> 	&&  sec->has_vle_insns);
> }
>
> Declare in, I dunno, elf32-ppc.h preferably but this will require
> you to pull other headers into ppc-dis.h.  elf-bfd.h as a last resort.

I have added the above changes very much as you described.
New patches are attached.  bfd, include & opcodes have changed, the others 
have not.
Build & test are complete - no changes.  A bootstrap is still running.
Jim.

-- 
Jim Lemke
Mentor Graphics / CodeSourcery
Orillia Ontario,  +1-613-963-1073
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: bfd-cl.txt
URL: <https://sourceware.org/pipermail/binutils/attachments/20120509/9dad0f2a/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: binutils-cl.txt
URL: <https://sourceware.org/pipermail/binutils/attachments/20120509/9dad0f2a/attachment-0001.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: gas-cl.txt
URL: <https://sourceware.org/pipermail/binutils/attachments/20120509/9dad0f2a/attachment-0002.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: include-cl.txt
URL: <https://sourceware.org/pipermail/binutils/attachments/20120509/9dad0f2a/attachment-0003.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ld-cl.txt
URL: <https://sourceware.org/pipermail/binutils/attachments/20120509/9dad0f2a/attachment-0004.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: opcodes-cl.txt
URL: <https://sourceware.org/pipermail/binutils/attachments/20120509/9dad0f2a/attachment-0005.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: vle-bfd-77.diff
URL: <https://sourceware.org/pipermail/binutils/attachments/20120509/9dad0f2a/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: vle-binutils-77.diff
URL: <https://sourceware.org/pipermail/binutils/attachments/20120509/9dad0f2a/attachment-0001.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: vle-gas-77.diff
URL: <https://sourceware.org/pipermail/binutils/attachments/20120509/9dad0f2a/attachment-0002.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: vle-include-77.diff
URL: <https://sourceware.org/pipermail/binutils/attachments/20120509/9dad0f2a/attachment-0003.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: vle-ld-77.diff
URL: <https://sourceware.org/pipermail/binutils/attachments/20120509/9dad0f2a/attachment-0004.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: vle-opcodes-77.diff
URL: <https://sourceware.org/pipermail/binutils/attachments/20120509/9dad0f2a/attachment-0005.ksh>


More information about the Binutils mailing list