x86-64: Combine buffers of sections before we call tcc_run().
commitfcf2e5981fe5e37e3aee633b414486311e54bc8e
authorShinichiro Hamaji <shinichiro.hamaji _at_ gmail.com>
Sun, 12 Apr 2009 18:22:08 +0000 (13 03:22 +0900)
committergrischka <grischka>
Sat, 18 Apr 2009 13:08:01 +0000 (18 15:08 +0200)
treec6d2a56070f03622b184654bb2b37dc58a038ea8
parent830b7533c99f86203c4fbaf94897679678c3bad0
x86-64: Combine buffers of sections before we call tcc_run().

- Now we can run tcc -run tcc.c successfully, though there are some bugs.
- Remove jmp_table and got_table and use text_section for got and plt entries.
- Combine buffers in tcc_relocate().
- Use R_X86_64_64 instead of R_X86_64_32 for R_DATA_32 (now the name R_DATA_32 is inappropriate...).
tcc.c
tccelf.c
x86_64-gen.c