PATCH: Warning for unknown PE section flags.

Nick Clifton nickc@redhat.com
Wed Feb 21 13:06:00 GMT 2001


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



More information about the Binutils mailing list