]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* ld-elf/empty.s: Define "start".
authorAlan Modra <amodra@gmail.com>
Mon, 15 Aug 2005 14:08:58 +0000 (14:08 +0000)
committerAlan Modra <amodra@gmail.com>
Mon, 15 Aug 2005 14:08:58 +0000 (14:08 +0000)
* ld-elf/merge2.d: xfail arc-*-* and dlx-*-*.
* ld-scripts/empty-aligned.s: No .data section.
* ld-scripts/empty-aligned.t: Discard most sections.
* ld-scripts/empty-aligned.d: Adjust.

ld/testsuite/ChangeLog
ld/testsuite/ld-elf/empty.s
ld/testsuite/ld-elf/merge2.d
ld/testsuite/ld-scripts/empty-aligned.d
ld/testsuite/ld-scripts/empty-aligned.s
ld/testsuite/ld-scripts/empty-aligned.t

index af1cc5fed473b6261a5f6218d442258f74b0d82f..55fa5e8bdb57bcc28ddfd3b55a53a068a818ca4b 100644 (file)
@@ -1,3 +1,11 @@
+2005-08-15  Alan Modra  <amodra@bigpond.net.au>
+
+       * ld-elf/empty.s: Define "start".
+       * ld-elf/merge2.d: xfail arc-*-* and dlx-*-*.
+       * ld-scripts/empty-aligned.s: No .data section.
+       * ld-scripts/empty-aligned.t: Discard most sections.
+       * ld-scripts/empty-aligned.d: Adjust.
+
 2005-08-11  Hans-Peter Nilsson  <hp@axis.com>
 
        * ld-cris/expdyn1.s (expobj): Set size here, at definition...
index 3176f66d9d4d161f68ebc57d9fe753bdcce876a1..e2c8203df012f88122a70dfb488c5c71964a1fbf 100644 (file)
@@ -1,6 +1,9 @@
        .section .bss
 bar:
        .text
+       .type start,"function"
+       .global start
+start:
        .type _start,"function"
        .global _start
 _start:
index cb49c51df7fef8a9319792dc89eba16d2dde50d0..9465ad5e6731c07e3376f949f30524ae32623c40 100644 (file)
@@ -1,6 +1,7 @@
 #source: merge2.s
 #ld: -T merge.ld
 #objdump: -s
+#xfail: "arc-*-*" "dlx-*-*"
 
 .*:     file format .*elf.*
 
index 493a40c6a21e7f14aed621a822422016659282ca..e342f7ba44a87d9b8e23c0d2a5a1e8fdf62ca5aa 100644 (file)
@@ -9,4 +9,4 @@ Program Headers:
 
  Section to Segment mapping:
  +Segment Sections\.\.\.
- +00.*\.text.*\.data.*
+ +00 +.text 
index f386e9e9dfe75dba276491fc1758fae37388de9d..2079aa7dd1cc3680db238c4d31d84d9f29b9769d 100644 (file)
@@ -1,4 +1,2 @@
        .text
        .long 123
-       .data
-       .long 123
index 4deb240f7bcc60a89e32c531c771633c5545539c..e59bc2036080bb1fde229fb25ffc890e131b6d82 100644 (file)
@@ -25,6 +25,5 @@ SECTIONS
   {
     *(.text4)
   }
-  .data : { *(.data) }
-  .bss : { *(.bss) }
+  /DISCARD/ : { *(*) }
 }