This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [patch] Fix objcopy of a separate debug info
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: binutils at sourceware dot org
- Date: Thu, 29 May 2008 11:17:53 +0930
- Subject: Re: [patch] Fix objcopy of a separate debug info
- References: <20080528224416.GA7394@host0.dyn.jankratochvil.net>
On Thu, May 29, 2008 at 12:44:16AM +0200, Jan Kratochvil wrote:
> 2008-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
>
> * elf.c (assign_file_positions_for_load_sections): Adjust pre-section
> gaps based on VMA and P_VADDR instead of LMA and P_PADDR addresses.
> Remove the sections overlap check.
>
> 2008-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
>
> * binutils-all/objcopy.exp: Call KEEP_DEBUG_SYMBOLS_AND_TEST_COPY.
> (keep_debug_symbols_and_test_copy): New function.
> (test5, test6): New variables.
This patch is OK, but please fix the changelog. You didn't remove any
section overlap check.
--
Alan Modra
Australia Development Lab, IBM