PR binutils/5233
* ld-elf/flags1.d: New.
* ld-elf/flags1.ld: Likewise.
* ld-elf/flags1.s: Likewise.
+2007-11-13 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR binutils/5233
+ * ld-elf/flags1.d: New.
+ * ld-elf/flags1.ld: Likewise.
+ * ld-elf/flags1.s: Likewise.
+
2007-11-13 Nick Clifton <nickc@redhat.com>
* ld-mn10300/i127740.s: New test: Checks relaxation and alignment.
2007-10-16 Nick Clifton <nickc@redhat.com>
- * lf-elfcomm/elfcomm.exp: Add tests of STT_COMMON symbol
+ * ld-elfcomm/elfcomm.exp: Add tests of STT_COMMON symbol
generation.
2007-10-12 Joseph Myers <joseph@codesourcery.com>
--- /dev/null
+#name: --set-section-flags test 1 (sections)
+#ld: -Tflags1.ld
+#objcopy_linked_file: --set-section-flags .post_text_reserve=contents,alloc,load,readonly,code
+#readelf: -l --wide
+
+#...
+Program Headers:
+ Type.*
+ LOAD +0x[0-9a-f]+ 0x0*0 0x0*0 0x0*0161 0x0*0161 RWE 0x[0-9a-f]+
+
+#...
+ Segment Sections...
+ 00[ \t]+.text .post_text_reserve[ \t]*
+#pass
--- /dev/null
+SECTIONS
+{
+ .text :
+ {
+ *(.text)
+ } =0
+ .post_text_reserve :
+ {
+ . += 0x160;
+ }
+ /DISCARD/ : { *(.*) }
+}
--- /dev/null
+ .text
+.globl start
+ .type start, @function
+start:
+ .byte 0