diff options
Diffstat (limited to 'ld/testsuite/ld-loongarch-elf/get_abs_global_sym.c')
-rw-r--r-- | ld/testsuite/ld-loongarch-elf/get_abs_global_sym.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ld/testsuite/ld-loongarch-elf/get_abs_global_sym.c b/ld/testsuite/ld-loongarch-elf/get_abs_global_sym.c new file mode 100644 index 00000000000..29781ad7703 --- /dev/null +++ b/ld/testsuite/ld-loongarch-elf/get_abs_global_sym.c @@ -0,0 +1,7 @@ +#include <stdio.h> + +extern int get_sym(); +int main() { + printf("%x\n", get_sym()); + return 0; +} |