[PATCH] Don't emit vendor attribute section if there is no attribute need to emit.
Jim Wilson
jimw@sifive.com
Tue Jan 15 04:38:00 GMT 2019
On Mon, Jan 14, 2019 at 4:52 PM Jim Wilson <jimw@sifive.com> wrote:
> OBJ_ATTR_PROC is over conservative, and can be safely removed. We do
> need to verify this by checking every target that supports a target
> dependent attribute with this patch. That is arc, arm, msp430, and
> tic6x.
I tested these four targets with and without the patch and didn't see
any problem. I also checked the source code, and I don't see any way
to get a zero size attribute section from them, so they can't be
affected by the patch.
This is OK to apply.
Jim
More information about the Binutils
mailing list