This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: PATCH: Preserve the original p_align and p_flags if they are valid
On Fri, May 04, 2012 at 01:59:47PM -0700, Ben Cheng wrote:
> + /* Preserve the alignment and flags if they are valid. The gold
> + linker generates RW/4 for the PT_GNU_RELRO section. It is better
> + for objcopy/strip to honor these attributes otherwise gdb will
> + choke when doing cross-debugging. */
I don't see what this has to do with cross-debugging. Did you mean to
say "... when using separate debug files."?
--
Alan Modra
Australia Development Lab, IBM