This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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

Attachment: bfd-cl.txt
Description: Text document

Attachment: binutils-cl.txt
Description: Text document

Attachment: gas-cl.txt
Description: Text document

Attachment: include-cl.txt
Description: Text document

Attachment: ld-cl.txt
Description: Text document

Attachment: opcodes-cl.txt
Description: Text document

Attachment: vle-bfd-77.diff
Description: Text document

Attachment: vle-binutils-77.diff
Description: Text document

Attachment: vle-gas-77.diff
Description: Text document

Attachment: vle-include-77.diff
Description: Text document

Attachment: vle-ld-77.diff
Description: Text document

Attachment: vle-opcodes-77.diff
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]