From: H.J. Lu Date: Thu, 8 May 2003 07:01:11 +0000 (+0000) Subject: 2003-05-07 H.J. Lu X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=95b4a16ea50717a379eb806067e854c91da1ecb6;p=binutils-gdb.git 2003-05-07 H.J. Lu * ld-elfvers/vers27d3.c (__start): New. (start): New. --- 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 (); +}