mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-03 04:12:10 +08:00
83ad0046cf
2006-12-29 H.J. Lu <hongjiu.lu@intel.com> * elflink.c (elf_link_add_object_symbols): Remember the symbol size only if it is defined. ld/testsuite/ 2006-12-29 H.J. Lu <hongjiu.lu@intel.com> * ld-elf/wrap.exp: New file. * ld-elf/wrap1.c: Likewise. * ld-elf/wrap1.out: Likewise. * ld-elf/wrap1a.c: Likewise. * ld-elf/wrap1b.c: Likewise.
17 lines
183 B
C
17 lines
183 B
C
#include <stdio.h>
|
|
|
|
extern void par (void);
|
|
|
|
void __real_par (void)
|
|
{
|
|
printf ("__real_par \n");
|
|
par ();
|
|
}
|
|
|
|
void
|
|
__wrap_par (void)
|
|
{
|
|
printf ("__wrap_par \n");
|
|
__real_par ();
|
|
}
|