mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-09-09 10:42:22 +08:00
Don't warn zero LMA adjustment.
bfd/ 2010-09-09 H.J. Lu <hongjiu.lu@intel.com> PR ld/11998 * elf.c (assign_file_positions_for_load_sections): Don't warn zero LMA adjustment. ld/testsuite/ 2010-09-09 H.J. Lu <hongjiu.lu@intel.com> PR ld/11998 * ld-scripts/rgn-at5.d: New. * ld-scripts/rgn-at5.s: Likewise. * ld-scripts/rgn-at5.t: Likewise.
This commit is contained in:
@ -1,3 +1,9 @@
|
||||
2010-09-09 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
PR ld/11998
|
||||
* elf.c (assign_file_positions_for_load_sections): Don't warn
|
||||
zero LMA adjustment.
|
||||
|
||||
2010-09-09 Bernd Schmidt <bernds@codesourcery.com>
|
||||
|
||||
bfd/
|
||||
|
@ -4481,8 +4481,9 @@ assign_file_positions_for_load_sections (bfd *abfd,
|
||||
bfd_vma s_start = sec->lma;
|
||||
bfd_vma adjust = s_start - p_end;
|
||||
|
||||
if (s_start < p_end
|
||||
|| p_end < p_start)
|
||||
if (adjust != 0
|
||||
&& (s_start < p_end
|
||||
|| p_end < p_start))
|
||||
{
|
||||
(*_bfd_error_handler)
|
||||
(_("%B: section %A lma %#lx adjusted to %#lx"), abfd, sec,
|
||||
|
Reference in New Issue
Block a user