PR ld/13621
bfd/
* linker.c (_bfd_nearby_section): Revert 2012-02-13 change.
ld/testsuite/
* ld-elf/warn2.d: Revert 2012-02-13 change.
* ld-elf/zerosize1.d, ld-elf/zerosize1.s: Delete.
+2012-05-05 Alan Modra <amodra@gmail.com>
+
+ PR ld/14052
+ PR ld/13621
+ * linker.c (_bfd_nearby_section): Revert 2012-02-13 change.
+
2012-05-05 Alan Modra <amodra@gmail.com>
* aout-arm.c: Replace all uses of bfd_abs_section, bfd_com_section,
best = prev;
}
- /* Refuse to choose a section for which we are out of bounds. */
- /* ??? This may make most of the above moot. */
- if (addr < best->vma || addr > best->vma + best->size)
- best = bfd_abs_section_ptr;
-
return best;
}
+2012-05-05 Alan Modra <amodra@gmail.com>
+
+ PR ld/14052
+ PR ld/13621
+ * ld-elf/warn2.d: Revert 2012-02-13 change.
+ * ld-elf/zerosize1.d, ld-elf/zerosize1.s: Delete.
+
2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
* ld-elf/eh1.d: Skip x86_64-*-linux-gnux32.
# construct and that the symbol still appears as expected.
#...
- +[0-9]+: +[0-9a-f]+ +20 +OBJECT +GLOBAL +DEFAULT +ABS Foo
+ +[0-9]+: +[0-9a-f]+ +20 +OBJECT +GLOBAL +DEFAULT +[1-9] Foo
#pass
+++ /dev/null
-#source: start.s
-#source: zerosize1.s
-#ld:
-#readelf: -s
-
-# Check that xyzzy is not placed in the .text section.
-
-#...
- +[0-9]+: +[0-9a-f]+ +0 +(OBJECT|NOTYPE) +GLOBAL +DEFAULT +ABS xyzzy
-#pass
+++ /dev/null
- .section "zerosize","aw"
- .globl xyzzy
-xyzzy: