aboutsummaryrefslogtreecommitdiff
path: root/tccelf.c
diff options
context:
space:
mode:
authorChristian Jullien <jullien@coltrane.eligis.com>2016-09-26 06:42:43 +0200
committerChristian Jullien <jullien@coltrane.eligis.com>2016-09-26 06:42:43 +0200
commit6db7a2157bd44cdc1a764e8c7a767ea1dee8e006 (patch)
treeec164a0fdd2f5ef8a993d888aea82343f679637f /tccelf.c
parent30238b1ebdef35ea2840f4180387d488ae2daa9c (diff)
parentff158bffe6f7ddc2b727069daa238b396c318e14 (diff)
downloadtinycc-6db7a2157bd44cdc1a764e8c7a767ea1dee8e006.tar.gz
tinycc-6db7a2157bd44cdc1a764e8c7a767ea1dee8e006.tar.bz2
Merge branch 'mob' of git://repo.or.cz/tinycc into mypatch
Add Visual Studio processor identification
Diffstat (limited to 'tccelf.c')
-rw-r--r--tccelf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tccelf.c b/tccelf.c
index 2b50ff5..ace75be 100644
--- a/tccelf.c
+++ b/tccelf.c
@@ -1729,7 +1729,7 @@ static void tcc_output_binary(TCCState *s1, FILE *f,
#define EXTRA_RELITEMS 14
/* move the relocation value from .dynsym to .got */
-void patch_dynsym_undef(TCCState *s1, Section *s)
+static void patch_dynsym_undef(TCCState *s1, Section *s)
{
uint32_t *gotd = (void *)s1->got->data;
ElfW(Sym) *sym;
@@ -1748,7 +1748,7 @@ void patch_dynsym_undef(TCCState *s1, Section *s)
#define EXTRA_RELITEMS 9
/* zero plt offsets of weak symbols in .dynsym */
-void patch_dynsym_undef(TCCState *s1, Section *s)
+static void patch_dynsym_undef(TCCState *s1, Section *s)
{
ElfW(Sym) *sym;