Make tccelf.c 64bit ready.
commit27d23342eabbb02fc66ed5212c3cfee0276d0191
authorShinichiro Hamaji <shinichiro.hamaji _at_ gmail.com>
Sun, 30 Nov 2008 17:52:08 +0000 (1 02:52 +0900)
committergrischka <grischka>
Tue, 2 Dec 2008 01:26:34 +0000 (2 02:26 +0100)
tree144db8adf3eb3c655405be9dfdb14cdbd368e6d5
parentc92daa02e488ef975d3057399740eb890db216ca
Make tccelf.c 64bit ready.

- Use REL_SECTION_FMT instead of ".rel%s".
- Use PTR_SIZE instead of sizeof(int) for GOT entries.
- Use sizeof(ElfW(Dyn)) instead of magic number 8.
- Use TCC_ELFCLASS instead of ELFCLASS32.
tccelf.c