Re: Inline static data causes a section type conflict

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Feb 17, 2016 at 5:57 PM, Andrew Haley <aph@xxxxxxxxxx> wrote:
> On 02/17/2016 04:39 PM, Benedek Thaler wrote:
>> Is there any expert on this matter missed this message I can directly contact?
>
> My immediate response is "don't do that."
>
> More generally, you're doing something odd and quite unnecessary.  Why
> not simply not do the odd thing?  Move the global data outside the
> function?
>
> Andrew.

In the real life use case, I have control over the macro which
produces `data`. The user invokes this macro wherever s/he wants, as
many times as s/he likes, with possibly different values.

The stored value is going to be used by the application on the spot,
and has to be looked up offline, statically; hence the custom section.

Thanks,
Benedek



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux