Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1324747 > unrolled thread

Re: [RFC v1 0/8] x86/init: Linux linker tables

Started by"H. Peter Anvin" <hpa@zytor.com>
First post2016-02-03 01:00 +0100
Last post2016-02-03 01:20 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [RFC v1 0/8] x86/init: Linux linker tables "H. Peter Anvin" <hpa@zytor.com> - 2016-02-03 01:00 +0100
    Re: [RFC v1 0/8] x86/init: Linux linker tables "Luis R. Rodriguez" <mcgrof@do-not-panic.com> - 2016-02-03 01:20 +0100

#1324747 — Re: [RFC v1 0/8] x86/init: Linux linker tables

From"H. Peter Anvin" <hpa@zytor.com>
Date2016-02-03 01:00 +0100
SubjectRe: [RFC v1 0/8] x86/init: Linux linker tables
Message-ID<qXT1w-2h3-1@gated-at.bofh.it>
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?

	-hpa

[toc] | [next] | [standalone]


#1324754

From"Luis R. Rodriguez" <mcgrof@do-not-panic.com>
Date2016-02-03 01:20 +0100
Message-ID<qXTkR-2Is-5@gated-at.bofh.it>
In reply to#1324747
On Tue, Feb 2, 2016 at 3:48 PM, H. Peter Anvin <hpa@zytor.com> 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

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web