PR ld/10749
* ld-elf/relocatable.d: New.
* ld-elf/relocatable.t: Likewise.
* ld-elf/simple.s: Likewise.
+2009-10-09 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR ld/10749
+ * ld-elf/relocatable.d: New.
+ * ld-elf/relocatable.t: Likewise.
+ * ld-elf/simple.s: Likewise.
+
2009-10-07 H.J. Lu <hongjiu.lu@intel.com>
PR ld/10744
--- /dev/null
+#name: relocatable with script
+#source: simple.s
+#ld: -r -T relocatable.t
+#readelf: -S --wide
+
+#...
+ \[[ 0-9]+\] \.text.*[ \t]+PROGBITS[ \t]+0+800000[ \t0-9a-f]+AX.*
+ \[[ 0-9]+\] \.data.*[ \t]+PROGBITS[ \t]+0+900000[ \t0-9a-f]+WA.*
+#pass
--- /dev/null
+SECTIONS
+{
+ . = 0x800000;
+ .text : { *(.text) }
+ . = 0x900000;
+ .data : { *(.data) }
+ /DISCARD/ : { *(.*) }
+}
--- /dev/null
+ .text
+ .long 1
+ .data
+ .long 2