diff options
| author | Shinichiro Hamaji <shinichiro.hamaji@gmail.com> | 2010-12-28 16:14:30 +0900 |
|---|---|---|
| committer | Shinichiro Hamaji <shinichiro.hamaji@gmail.com> | 2010-12-28 16:14:30 +0900 |
| commit | 0ae39f1957c92ca33e7ab158870b92be945eb595 (patch) | |
| tree | 202ab6dbd176a3971f45de3954b715371f9962e0 /examples/ex2.c | |
| parent | 48e325df3cad5cdadef6bb354bbc328d70c6ab32 (diff) | |
| download | tinycc-0ae39f1957c92ca33e7ab158870b92be945eb595.tar.gz tinycc-0ae39f1957c92ca33e7ab158870b92be945eb595.tar.bz2 | |
Handle r_addend and R_X86_64_PLT32 properly.
- r_addend should be applied for PLT entries as well
- R_X86_64_PLT32 should be handled just like R_X86_64_PC32
- spec says GLOB_DAT and JUMP_SLOT don't need r_addend (not tested)
http://www.x86-64.org/documentation/abi.pdf
Now we can -run ELF objects generated by GCC.
Diffstat (limited to 'examples/ex2.c')
0 files changed, 0 insertions, 0 deletions
