mirror of
https://github.com/mirror/tinycc.git
synced 2024-12-28 04:00:06 +08:00
fix for the previous commit (compilation on RPi)
This commit is contained in:
parent
acef4ff244
commit
3b7f5008fd
2
libtcc.c
2
libtcc.c
@ -388,7 +388,7 @@ ST_FUNC void section_realloc(Section *sec, unsigned long new_size)
|
||||
|
||||
/* reserve at least 'size' bytes in section 'sec' from
|
||||
sec->data_offset. */
|
||||
ST_FUNC void *section_ptr_add(Section *sec, size_t size)
|
||||
ST_FUNC void *section_ptr_add(Section *sec, addr_t size)
|
||||
{
|
||||
size_t offset, offset1;
|
||||
|
||||
|
2
tcc.h
2
tcc.h
@ -1088,7 +1088,7 @@ ST_FUNC void cstr_reset(CString *cstr);
|
||||
|
||||
ST_FUNC Section *new_section(TCCState *s1, const char *name, int sh_type, int sh_flags);
|
||||
ST_FUNC void section_realloc(Section *sec, unsigned long new_size);
|
||||
ST_FUNC void *section_ptr_add(Section *sec, unsigned long size);
|
||||
ST_FUNC void *section_ptr_add(Section *sec, addr_t size);
|
||||
ST_FUNC void section_reserve(Section *sec, unsigned long size);
|
||||
ST_FUNC Section *find_section(TCCState *s1, const char *name);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user