diff options
| author | grischka <grischka> | 2017-05-13 08:59:06 +0200 |
|---|---|---|
| committer | grischka <grischka> | 2017-05-13 08:59:06 +0200 |
| commit | 28435ec58c2ef9bb571cad5f8a1129aea3ecc204 (patch) | |
| tree | a08b77f90c9c24972e0fccd6c223af73b5b240f6 /arm64-gen.c | |
| parent | 3a9d6b3655bd15e752e65a4f0f23f64f4ec56fe1 (diff) | |
| download | tinycc-28435ec58c2ef9bb571cad5f8a1129aea3ecc204.tar.gz tinycc-28435ec58c2ef9bb571cad5f8a1129aea3ecc204.tar.bz2 | |
configure: --config-musl/-uClibc switch & misc cleanups
- configure:
- add --config-uClibc,-musl switch and suggest to use
it if uClibc/musl is detected
- make warning options magic clang compatible
- simplify (use $confvars instead of individual options)
- Revert "Remove some unused-parameter lint"
7443db0d5f841b81a55e918bf8c228dd20f9ddb2
rather use -Wno-unused-parameter (or just not -Wextra)
- #ifdef functions that are unused on some targets
- tccgen.c: use PTR_SIZE==8 instead of (X86_64 || ARM64)
- tccpe.c: fix some warnings
- integrate dummy arm-asm better
Diffstat (limited to 'arm64-gen.c')
| -rw-r--r-- | arm64-gen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arm64-gen.c b/arm64-gen.c index 0ff6099..c7a71e6 100644 --- a/arm64-gen.c +++ b/arm64-gen.c @@ -583,7 +583,7 @@ static void arm64_gen_bl_or_b(int b) { if ((vtop->r & (VT_VALMASK | VT_LVAL)) == VT_CONST) { assert(!b && (vtop->r & VT_SYM)); - greloc(cur_text_section, vtop->sym, ind, R_AARCH64_CALL26); + greloca(cur_text_section, vtop->sym, ind, R_AARCH64_CALL26, 0); o(0x94000000); // bl . } else |
