Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1324754
| From | "Luis R. Rodriguez" <mcgrof@do-not-panic.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [RFC v1 0/8] x86/init: Linux linker tables |
| Date | 2016-02-03 01:20 +0100 |
| Message-ID | <qXTkR-2Is-5@gated-at.bofh.it> (permalink) |
| References | (3 earlier) <qGUQ2-Ms-5@gated-at.bofh.it> <qGV9n-Tm-3@gated-at.bofh.it> <qTu1I-1V0-11@gated-at.bofh.it> <qTKg9-4IT-11@gated-at.bofh.it> <qXT1w-2h3-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
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
csiph-web