aboutsummaryrefslogtreecommitdiff
path: root/ld/ChangeLog
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2016-03-30 17:35:14 +1030
committerAlan Modra <amodra@gmail.com>2016-03-30 17:50:03 +1030
commita87dd97a2098b7e18ff2574a4e81ae521ef7e6f2 (patch)
tree7de7b1e3c838657894badf93aecbe54c264fcc63 /ld/ChangeLog
parentca62bc4a869267105a4b492223ed46d59e04c27c (diff)
downloadgdb-a87dd97a2098b7e18ff2574a4e81ae521ef7e6f2.zip
gdb-a87dd97a2098b7e18ff2574a4e81ae521ef7e6f2.tar.gz
gdb-a87dd97a2098b7e18ff2574a4e81ae521ef7e6f2.tar.bz2
PR18452, ld allows overlapping sections
PR 18452 * ldlang.c (maybe_overlays): New static var. (lang_size_sections_1): Set it here. (struct check_sec): New. (sort_sections_by_lma): Adjust for array of structs. (sort_sections_by_vma): New function. (lang_check_section_addresses): Check both LMA and VMA for overlap. * testsuite/ld-scripts/rgn-over7.d: Adjust.
Diffstat (limited to 'ld/ChangeLog')
-rw-r--r--ld/ChangeLog11
1 files changed, 11 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 5a2df38..17c0f6f 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,5 +1,16 @@
2016-03-30 Alan Modra <amodra@gmail.com>
+ PR 18452
+ * ldlang.c (maybe_overlays): New static var.
+ (lang_size_sections_1): Set it here.
+ (struct check_sec): New.
+ (sort_sections_by_lma): Adjust for array of structs.
+ (sort_sections_by_vma): New function.
+ (lang_check_section_addresses): Check both LMA and VMA for overlap.
+ * testsuite/ld-scripts/rgn-over7.d: Adjust.
+
+2016-03-30 Alan Modra <amodra@gmail.com>
+
* ldlang.c (lang_size_sections_1): Correct code detecting a
backward non-overlapping move.