2003-05-07 H.J. Lu <hongjiu.lu@intel.com>
* ld-elfvers/vers27d3.c (__start): New. (start): New.
This commit is contained in:
parent
715529421b
commit
95b4a16ea5
2 changed files with 17 additions and 2 deletions
|
@ -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.
|
||||
|
|
|
@ -1,11 +1,21 @@
|
|||
extern void ref ();
|
||||
extern void foo ();
|
||||
|
||||
void _start() __asm__("_start");
|
||||
|
||||
void
|
||||
_start ()
|
||||
{
|
||||
foo ();
|
||||
ref ();
|
||||
}
|
||||
|
||||
void
|
||||
__start ()
|
||||
{
|
||||
_start ();
|
||||
}
|
||||
|
||||
void
|
||||
start ()
|
||||
{
|
||||
__start ();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue