diff options
| author | grischka <grischka> | 2010-01-14 20:56:04 +0100 |
|---|---|---|
| committer | grischka <grischka> | 2010-01-14 20:59:42 +0100 |
| commit | 5299142286b4f5e6344ea9e2f905cf2e84566006 (patch) | |
| tree | 1d5e3879711e41f9c223e55146e6c241d60256ff /tcc.h | |
| parent | 2341ee5142c184e06964f66696ebf88931953e7d (diff) | |
| download | tinycc-5299142286b4f5e6344ea9e2f905cf2e84566006.tar.gz tinycc-5299142286b4f5e6344ea9e2f905cf2e84566006.tar.bz2 | |
x86-64: use uplong for symbol values
Diffstat (limited to 'tcc.h')
| -rw-r--r-- | tcc.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1062,7 +1062,7 @@ typedef struct { ST_FUNC Section *new_symtab(TCCState *s1, const char *symtab_name, int sh_type, int sh_flags, const char *strtab_name, const char *hash_name, int hash_sh_flags); ST_FUNC int put_elf_str(Section *s, const char *sym); -ST_FUNC int put_elf_sym(Section *s, unsigned long value, unsigned long size, int info, int other, int shndx, const char *name); +ST_FUNC int put_elf_sym(Section *s, uplong value, unsigned long size, int info, int other, int shndx, const char *name); ST_FUNC int add_elf_sym(Section *s, uplong value, unsigned long size, int info, int other, int sh_num, const char *name); ST_FUNC int find_elf_sym(Section *s, const char *name); ST_FUNC void put_elf_reloc(Section *symtab, Section *s, unsigned long offset, int type, int symbol); |
