Re: [Tinycc-devel] forward asm symbols vs static

2017-11-16 Thread grischka
Forgot to mention the actual benefit from my former change: It was (IIRC) to allow the dlltest test pass on musl. (That is to use tcc on x86_64 to create a libtcc.so without DT_TEXTREL) -- gr grischka wrote: Michael Matz wrote: Hello grischka, I had to revert a small part of your da8c62

[Tinycc-devel] forward asm symbols vs static

2017-11-16 Thread Michael Matz
Hello grischka, I had to revert a small part of your da8c62 commit ("various stuff"): tccasm.c: - keep forward asm labels static, otherwise they will endup in dynsym eventually. A symbol which stays undefined until the end is implicitely STB_GLOBAL, even without a .globl