"Try fixing asm_dot_test on Windows" few more cases

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

"Try fixing asm_dot_test on Windows" few more cases

Christian Jullien-3

Hello,

 

I missed to run few tests on Windows that I tried to add after commit "Try fixing asm_dot_test on Windows"

There are few remaining offending pseudo-op:

 

/cygdrive/f/tinycc/win32/tcc -run ../examples/ex1.c || (set -x; ../tcc -vv; ldd ../tcc; exit 1)

Hello World

cc -o tcctest.gcc tcctest.c -DTCC_TARGET_X86_64 -DTCC_TARGET_PE -I.. -I..  -w -O0 -std=gnu99 -fno-omit-frame-pointer

/cygdrive/c/Users/jullien/AppData/Local/Temp/cc3tfw9Y.s: Assembler messages:

/cygdrive/c/Users/jullien/AppData/Local/Temp/cc3tfw9Y.s:10528: Error: unknown pseudo-op: `.pushsection'

/cygdrive/c/Users/jullien/AppData/Local/Temp/cc3tfw9Y.s:10532: Error: unknown pseudo-op: `.popsection'

/cygdrive/c/Users/jullien/AppData/Local/Temp/cc3tfw9Y.s:10554: Error: unknown pseudo-op: `.pushsection'

/cygdrive/c/Users/jullien/AppData/Local/Temp/cc3tfw9Y.s:10556: Error: unknown pseudo-op: `.popsection'

/cygdrive/c/Users/jullien/AppData/Local/Temp/cc3tfw9Y.s:10845: Error: unknown pseudo-op: `.pushsection'

/cygdrive/c/Users/jullien/AppData/Local/Temp/cc3tfw9Y.s:10845: Error: unknown pseudo-op: `.popsection'

/cygdrive/c/Users/jullien/AppData/Local/Temp/cc3tfw9Y.s:10854: Error: unknown pseudo-op: `.previous'

make[1]: *** [Makefile:87: test.ref] Error 1

 

Googling retuned me this https://stackoverflow.com/questions/53920796/unknown-pseudo-op-pushsection-as-version-2-29-1:

 

As the manual says .pushsection is one of the ELF section stack manipulation directives. The cygwin target is not ELF, it's COFF/PE. As such that directive is not available (even though it would make sense).


_______________________________________________
Tinycc-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel