aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2003-05-08 07:01:11 +0000
committerH.J. Lu <hjl.tools@gmail.com>2003-05-08 07:01:11 +0000
commit95b4a16ea50717a379eb806067e854c91da1ecb6 (patch)
treefd49caad8415ab021f814a3313f7dbfe29b6b920 /ld
parent715529421b0901da14f18acc61c79856dfe96359 (diff)
downloadgdb-95b4a16ea50717a379eb806067e854c91da1ecb6.zip
gdb-95b4a16ea50717a379eb806067e854c91da1ecb6.tar.gz
gdb-95b4a16ea50717a379eb806067e854c91da1ecb6.tar.bz2
2003-05-07 H.J. Lu <hongjiu.lu@intel.com>
* ld-elfvers/vers27d3.c (__start): New. (start): New.
Diffstat (limited to 'ld')
-rw-r--r--ld/testsuite/ChangeLog5
-rw-r--r--ld/testsuite/ld-elfvers/vers27d3.c14
2 files changed, 17 insertions, 2 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index 0da2fb8..0d1ad21 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,5 +1,10 @@
2003-05-07 H.J. Lu <hongjiu.lu@intel.com>
+ * ld-elfvers/vers27d3.c (__start): New.
+ (start): New.
+
+2003-05-07 H.J. Lu <hongjiu.lu@intel.com>
+
* ld-elfvers/vers.exp (build_binary): Support build exeutable.
(build_binary): Renamed from ...
(build_vers_lib): This.
diff --git a/ld/testsuite/ld-elfvers/vers27d3.c b/ld/testsuite/ld-elfvers/vers27d3.c
index e72d6f8..b265880 100644
--- a/ld/testsuite/ld-elfvers/vers27d3.c
+++ b/ld/testsuite/ld-elfvers/vers27d3.c
@@ -1,11 +1,21 @@
extern void ref ();
extern void foo ();
-void _start() __asm__("_start");
-
void
_start ()
{
foo ();
ref ();
}
+
+void
+__start ()
+{
+ _start ();
+}
+
+void
+start ()
+{
+ __start ();
+}