RFC: ARM: Add comment enumerating emitted .eabi_attribute tags
Ramana Radhakrishnan
ramana.radhakrishnan@linaro.org
Tue Sep 27 17:01:00 GMT 2011
On 27 September 2011 16:55, Paul Brook <paul@codesourcery.com> wrote:
>> Hi Nick,
>>
>> On 27 September 2011 15:38, Nick Clifton <nickc@redhat.com> wrote:
>> > Any comments or objections to this patch ? If not, I will apply it
>> > next week.
>>
>> I've got a few objections to this patch as it stands today while I
>> don't object to the motivation for it.
>>
>> > +/* Get the definitions of the ARM EABI Attribute tag values. */
>> > +#define BFD_ARCH_SIZE
>> > +#include "elf/arm.h"
>>
>> Defining BFD_ARCH_SIZE appears to be a bit of a hack. I would also
>> ifdef this inclusion on TARGET_AAPCS since we shouldn't really be
>> caring about object attributes for non AAPCS configurations.
>
> TARGET_AAPCS doesn't exist. If you mean TARGET_AAPCS_BASED then this is a
> runtime expression and can't be used for preprocessor conditionals. Either
> way I don't think we really care. The important thing is that we only emit
> the .eabi_attribute directives on EABI based targets.
Bah yes - you are right.
>
> A more important consideration is that this file does not exist.
Amen.
Ramana
More information about the Gcc-patches
mailing list