[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/18452] ld allows overlapping sections
From: |
amodra at gmail dot com |
Subject: |
[Bug ld/18452] ld allows overlapping sections |
Date: |
Mon, 25 May 2015 09:42:49 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=18452
Alan Modra <amodra at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |amodra at gmail dot com
--- Comment #1 from Alan Modra <amodra at gmail dot com> ---
Confirmed. This is where we update the region "current" location, which lacks
any sort of check.
if (output_section_statement == abs_output_section)
{
/* If we don't have an output section, then just adjust
the default memory address. */
lang_memory_region_lookup (DEFAULT_MEMORY_REGION,
FALSE)->current = newdot;
}
The behaviour goes back forever as far as I can tell. This code was introduced
with commit 27f7237e.
--
You are receiving this mail because:
You are on the CC list for the bug.