This is the mail archive of the binutils@sources.redhat.com 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]

Re: PATCH: Warning for unknown PE section flags.


Hi DJ

> I'm mostly worried about ld linking in objects with unknown section
> flags.  Ignoring them may not be a good idea then.

But the patch does not ignore them, it issues a warning message.

I agree that the patch as it currently stands will only issue a
warning, not an error, and so an executable image would be produced.
I think that this is a weakness of the linker, in that failures that
are acceptable for other tools (objdump, readelf, etc) are not
acceptable for the linker.  Hence my suggestion of overriding
bfd_error_handler.

Cheers
        Nick


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