[PATCH] ld: Add --enable-textrel-check=[no|yes|warning|error]

Nick Clifton nickc@redhat.com
Thu May 28 10:07:30 GMT 2020


Hi H.J.

>>         PR ld/20824
>>         * NEWS: Mention --enable-textrel-check=[no|yes|warning|error].
>>         * configure.ac: Add --enable-textrel-check=[no|yes|warning|error].
>>         (DEFAULT_LD_TEXTREL_CHECK): New AC_DEFINE_UNQUOTED.
>>         (DEFAULT_LD_TEXTREL_CHECK_WARNING): Likewise.
>>         * ldmain.c (main): Initialize link_info.textrel_check to
>>         DEFAULT_LD_TEXTREL_CHECK.
>>         * lexsup.c (ld_options): Check DEFAULT_LD_TEXTREL_CHECK_WARNING.
>>         * config.in: Regenerated.
>>         * configure: Likewise.

 
> Now, --warn-textrel has been added to master branch.  I'd like to check
> it this patch.  Is it OK?

Approved - please apply.

Cheers
  Nick




More information about the Binutils mailing list