This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: section attribute of compound literals
- From: Jim Wilson <jimw at sifive dot com>
- To: "Jason A. Donenfeld" <Jason at zx2c4 dot com>
- Cc: GCC Development <gcc at gcc dot gnu dot org>
- Date: Fri, 14 Sep 2018 08:11:50 -0700
- Subject: Re: section attribute of compound literals
- References: <CAHmME9o7T1csHUTxA5UH6GU2c3Kp=0BHxYT41ujmt21JokVT1g@mail.gmail.com> <c256bdfc-209d-f660-bd46-5cd03fc2340c@sifive.com> <CAHmME9piwj14zuHVYrgV75tpf6LhApk4u05tXVJTzcjvsN=9Hg@mail.gmail.com>
On Fri, Sep 14, 2018 at 7:44 AM Jason A. Donenfeld <Jason@zx2c4.com> wrote:
> Assuming this is an array of a huge amount of
> chacha20poly1305_testvec, I'm not sure if there's a syntax for me to
> define the symbol inline with the declarations. Any ideas?
Don't do it inline.
u8[] __stuffdata key_value = ...
...
.key = key_value
Jim