From 95b4a16ea50717a379eb806067e854c91da1ecb6 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Thu, 8 May 2003 07:01:11 +0000 Subject: [PATCH] 2003-05-07 H.J. Lu * ld-elfvers/vers27d3.c (__start): New. (start): New. --- ld/testsuite/ChangeLog | 5 +++++ ld/testsuite/ld-elfvers/vers27d3.c | 14 ++++++++++++-- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 0da2fb8dd8e..0d1ad21909c 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2003-05-07 H.J. Lu + + * ld-elfvers/vers27d3.c (__start): New. + (start): New. + 2003-05-07 H.J. Lu * ld-elfvers/vers.exp (build_binary): Support build exeutable. diff --git a/ld/testsuite/ld-elfvers/vers27d3.c b/ld/testsuite/ld-elfvers/vers27d3.c index e72d6f8abfd..b2658809063 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 (); +} -- 2.30.2