[PATCH] Add support for subsections to the ELF assembler. Fixes PR8717.
Sid Manning
sidneym at codeaurora.org
Tue Jun 18 09:49:58 PDT 2013
On 06/07/2013 10:36 AM, Rafael EspĂndola wrote:
>> Hexagon's gcc emits negative subsection numbers. The only documented place
>> I could find that suggested this is OK was in gcc/config.in,
>> HAS_GAS_SUBSECTION_ORDERING. I looked for some documented range for this
>> but could not find any.
>
> I guess we can add support for that, but please check with the gcc
> devs if this is intentional and if so why and what is the common usage
> (values, how many subsections per file, etc).
Rafael,
Sorry for the delay in my response I was on vacation. The negative
values are used to assist in small data sorting. I think that the
minimum value will be -8. I don't know of any specific limits on the
number of subsections.
Thanks,
>
> Cheers,
> Rafael
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
hosted by The Linux Foundation
More information about the llvm-commits
mailing list