This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch AArch64] Use default_elf_asm_named_section instead of special cased hook
- From: Marcus Shawcroft <marcus dot shawcroft at gmail dot com>
- To: Ramana Radhakrishnan <ramana dot radhakrishnan at foss dot arm dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 2 Oct 2015 14:05:05 +0100
- Subject: Re: [Patch AArch64] Use default_elf_asm_named_section instead of special cased hook
- Authentication-results: sourceware.org; auth=none
- References: <20151002100806 dot GA18049 at e105545-lin> <CAFqB+Py_fimyiJL2KikK=V5ptn_uORTCDNp24DweG+do7s7CnA at mail dot gmail dot com> <560E8016 dot 2040701 at foss dot arm dot com>
On 2 October 2015 at 14:01, Ramana Radhakrishnan
<ramana.radhakrishnan@foss.arm.com> wrote:
>>> #undef TARGET_ASM_NAMED_SECTION
>>> -#define TARGET_ASM_NAMED_SECTION aarch64_elf_asm_named_section
>>> +#define TARGET_ASM_NAMED_SECTION default_elf_asm_named_section
>>
>> Isn't it sufficient to simply remove the #define completely and rely
>> on the default from elfos.h?
>
> Doh ! you're right - Yeah should be coming in from config/elfos.h given that we don't support anything other than elf in the aarch64 port.
>
> Ok to commit without that hunk ?
Yes. /Marcus