diff options
| author | Michael J. Spencer <bigcheesegs@gmail.com> | 2013-03-01 01:09:46 +0000 |
|---|---|---|
| committer | Michael J. Spencer <bigcheesegs@gmail.com> | 2013-03-01 01:09:46 +0000 |
| commit | 8c0526593aa5564bef99c182f8e93efbef8081d1 (patch) | |
| tree | f1ada4a029f1744e97624efa64d2c901841199c8 /lld/test/elf/Inputs/shared.c | |
| parent | e44e30ca5a0763d8eb86f552514884ac4c97f8cb (diff) | |
| download | bcm5719-llvm-8c0526593aa5564bef99c182f8e93efbef8081d1.tar.gz bcm5719-llvm-8c0526593aa5564bef99c182f8e93efbef8081d1.zip | |
[Writer][ELF][x86-64] Handle GOTPCREL relocations to SharedLibraryAtoms.
llvm-svn: 176324
Diffstat (limited to 'lld/test/elf/Inputs/shared.c')
| -rw-r--r-- | lld/test/elf/Inputs/shared.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lld/test/elf/Inputs/shared.c b/lld/test/elf/Inputs/shared.c index 9bf69f83f6e..a10944fd8d6 100644 --- a/lld/test/elf/Inputs/shared.c +++ b/lld/test/elf/Inputs/shared.c @@ -1,5 +1,8 @@ #include <stdio.h> +extern int i; +int i = 42; + void foo() { puts("Fooo!!"); } |

