aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog8
-rw-r--r--ld/testsuite/ld-elf/pr21903.s12
2 files changed, 12 insertions, 8 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 33fb868..96dc608 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,11 @@
+2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
+
+ * testsuite/ld-elf/pr21903.s (start): Removed.
+ (_start): Likewise.
+ (__start): Likewise.
+ (main): Likewise.
+ (bar): New.
+
2017-08-07 Alan Modra <amodra@gmail.com>
* testsuite/ld-alpha/alpha.exp: Add --hash-style=sysv to various
diff --git a/ld/testsuite/ld-elf/pr21903.s b/ld/testsuite/ld-elf/pr21903.s
index 9dbf96c..ce26b33 100644
--- a/ld/testsuite/ld-elf/pr21903.s
+++ b/ld/testsuite/ld-elf/pr21903.s
@@ -1,12 +1,8 @@
.text
- .global start /* Used by SH targets. */
-start:
- .global _start
-_start:
- .global __start
-__start:
- .global main /* Used by HPPA targets. */
-main:
+ .global bar
+bar:
+ .byte 0
+ .data
.dc.a foo
.ifdef HPUX
foo .comm 4