Subject: Re: bug#20614: Segmentation fault when building on Power8 Little Endian

From: Andreas Schwab <[email-masked]>
Date: Mon, 19 Oct 2015 09:20:52 +0200

Jaromir Capik <[email-masked]> writes:

> Hi Andreas.
>
>> Petr Hracek <[email-masked]> writes:
>> 
>> > [20] .plt                 NOBITS       00000000102b0000 002a0000 00002058
>> > 8 WA     0   0  8
>> > [21] .data                PROGBITS     00000000102b2058 002a2058 002c6d36
>> > 0 WA     0   0  8
>> > [22] .bss                 NOBITS       0000000010578d90 00568d8e 00087740
>> > 0 WA     0   0 16
>> 
>> You have a broken linker.  Having NOBITS sections interspersed with
>> non-NOBITS sections doesn't make sense.
>
> If I understood correctly, this is intentional (security).

This has nothing to do with security.  A NOBITS section only makes sense
at the end of a segment.

Andreas.

-- 
Andreas Schwab, SUSE Labs, [email-masked]
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."