2011-02-25 H.J. Lu <hongjiu.lu@intel.com>
PR ld/12516
* ld-elf/dynamic1.d: New.
* ld-elf/dynamic1.ld: Likewise.
* ld-elf/dynamic1.s: Likewise.
+2011-02-25 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR ld/12516
+ * ld-elf/dynamic1.d: New.
+ * ld-elf/dynamic1.ld: Likewise.
+ * ld-elf/dynamic1.s: Likewise.
+
2011-02-25 Alan Modra <amodra@gmail.com>
* ld-mn10300/i135409-3.s: Correct .size label reference.
--- /dev/null
+#ld: -shared -T dynamic1.ld
+#readelf: -l --wide
+#target: *-*-linux* *-*-gnu*
+
+#...
+ Section to Segment mapping:
+ Segment Sections...
+#...
+ 0[1-9] .dynamic[ ]*
+#pass
--- /dev/null
+SECTIONS
+{
+ . = SIZEOF_HEADERS;
+ .text : { *(.text) }
+ .data : { *(.data) }
+ .data1 : { KEEP (*(.data1)) }
+ .dynamic : { *(.dynamic) }
+}
--- /dev/null
+.section .data1,"aw"
+.balign 16