PATCH: Preserve the original p_align and p_flags if they are valid

Alan Modra amodra@gmail.com
Mon May 7 13:04:00 GMT 2012


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



More information about the Binutils mailing list