Hi,

On Thu, 21 Jan 2016, H. Peter Anvin wrote:

> Something that confuses me is that gcc seems to give these sections the 
> "aw" attributes which makes as complain.  This might be a gcc bug.

Workaround: use an (possibly empty) intializer:

struct foo {int i;};
const struct foo
__attribute__((used,section(".rodata.tbl.tablename.0"))) tablename[0] = {};


Ciao,
Michael.

Reply via email to