This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [PATCH] avoid premature errors when linking with relaxation
- From: Nick Clifton <nickc at redhat dot com>
- To: Bob Wilson <bwilson at tensilica dot com>
- Cc: binutils at sources dot redhat dot com
- Date: 21 Feb 2003 10:54:22 +0000
- Subject: Re: [PATCH] avoid premature errors when linking with relaxation
- References: <200302181007.59109.bwilson@tensilica.com>
Hi Bob,
> 2003-02-18 Bob Wilson <bob dot wilson at acm dot org>
>
> * ldlang.c (lang_size_sections_1): Add CHECK_REGIONS argument and only
> call os_region_check when it is set.
> (lang_size_sections): Add CHECK_REGIONS argument and pass it through to
> lang_size_sections_1.
> (lang_process): Change lang_size_sections calls to set CHECK_REGIONS
> only for the last call, not on every relaxation iteration.
> * ldlang.h (lang_size_sections): Update prototype.
> * pe-dll.c (pe_dll_fill_sections): Set CHECK_REGIONS argument in calls
> to lang_size_sections.
> (pe_exe_fill_sections): Likewise.
> * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Likewise.
> * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
> * emultempl/ppc64elf.em (ppc_before_allocation): Likewise.
> (ppc_layout_sections_again): Likewise.
Approved and applied. Thanks very much for fixing this problem.
Cheers
Nick