bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/24491] -z separate-code generates segment with both rodata and t


From: hjl.tools at gmail dot com
Subject: [Bug ld/24491] -z separate-code generates segment with both rodata and text
Date: Wed, 28 Feb 2024 12:23:04 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=24491

--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Alan Modra from comment #2)
> What do you expect ld to do here?  Warn perhaps?  Your script puts the start
> of .text at the end of .rodata and not on a page boundary.  You're making a
> demand paged binary.  There isn't any point in trying to make them go into
> two pt_load headers.

A warning is needed if we can't honor it.  Working on a patch.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]