2003-05-07 H.J. Lu <hongjiu.lu@intel.com>

* ld-elfvers/vers27d3.c (__start): New.
	(start): New.
This commit is contained in:
H.J. Lu 2003-05-08 07:01:11 +00:00
parent 715529421b
commit 95b4a16ea5
2 changed files with 17 additions and 2 deletions

View file

@ -1,3 +1,8 @@
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.

View file

@ -1,11 +1,21 @@
extern void ref ();
extern void foo ();
void _start() __asm__("_start");
void
_start ()
{
foo ();
ref ();
}
void
__start ()
{
_start ();
}
void
start ()
{
__start ();
}