diff options
Diffstat (limited to 'ld')
-rw-r--r-- | ld/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | 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 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 (); +} |