diff options
Diffstat (limited to 'elf/reldep7mod2.c')
-rw-r--r-- | elf/reldep7mod2.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/elf/reldep7mod2.c b/elf/reldep7mod2.c new file mode 100644 index 0000000000..3fa3368792 --- /dev/null +++ b/elf/reldep7mod2.c @@ -0,0 +1,12 @@ +int foo (void) __attribute__ ((weak)); +int +foo (void) +{ + return 2; +} + +int +mod2_bar (void) +{ + return foo (); +} |