This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] Don't emit vendor attribute section if there is no attribute need to emit.
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