[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xen-devel] [RFC v1 0/8] x86/init: Linux linker tables
- To: "H. Peter Anvin" <hpa@xxxxxxxxx>
- From: "Luis R. Rodriguez" <mcgrof@xxxxxxxxxxxxxxxx>
- Date: Tue, 2 Feb 2016 16:15:12 -0800
- Cc: Peter Senna Tschudin <peter.senna@xxxxxxxxx>, Andrey Ryabinin <ryabinin.a.a@xxxxxxxxx>, Jan Beulich <JBeulich@xxxxxxxx>, qiuxishi@xxxxxxxxxx, Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx>, Mauro Carvalho Chehab <mchehab@xxxxxxxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Joerg Roedel <joro@xxxxxxxxxx>, X86 ML <x86@xxxxxxxxxx>, Ingo Molnar <mingo@xxxxxxxxxx>, aryabinin@xxxxxxxxxxxxx, Michael Matz <matz@xxxxxxx>, andreyknvl@xxxxxxxxxx, Rusty Russell <rusty@xxxxxxxxxxxxxxx>, Michal Marek <mmarek@xxxxxxxx>, Borislav Petkov <bp@xxxxxxxxx>, Thomas Gleixner <tglx@xxxxxxxxxxxxx>, Michael Brown <mcb30@xxxxxxxx>, Valentin Rothberg <valentinrothberg@xxxxxxxxx>, Juergen Gross <jgross@xxxxxxxx>, "linux-kernel@xxxxxxxxxxxxxxx" <linux-kernel@xxxxxxxxxxxxxxx>, Andy Lutomirski <luto@xxxxxxxxxxxxxx>, long.wanglong@xxxxxxxxxx
- Delivery-date: Wed, 03 Feb 2016 00:15:51 +0000
- List-id: Xen developer discussion <xen-devel.lists.xen.org>
On Tue, Feb 2, 2016 at 3:48 PM, H. Peter Anvin <hpa@xxxxxxxxx> wrote:
> On 01/22/2016 05:44 AM, Michael Matz wrote:
>> 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] = {};
>>
>
> Any forward progress on this?
Yes, I'll reply inline to my only concern.
Luis
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|