diff options
Diffstat (limited to 'binutils-2.21/ld/testsuite/ld-elf/wrap1b.c')
-rw-r--r-- | binutils-2.21/ld/testsuite/ld-elf/wrap1b.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/binutils-2.21/ld/testsuite/ld-elf/wrap1b.c b/binutils-2.21/ld/testsuite/ld-elf/wrap1b.c new file mode 100644 index 0000000..abd39aa --- /dev/null +++ b/binutils-2.21/ld/testsuite/ld-elf/wrap1b.c @@ -0,0 +1,16 @@ +#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 (); +} |