search for: gs32768

Displaying 2 results from an estimated 2 matches for "gs32768".

2019 Feb 18
2
lld-link fails to link 32bits assembly functions but 64bits pass
...main.c and foo.nasm. $ cat main.c void Foo (void); int main() { Foo(); return 0; } $ cat foo.nasm SECTION .text global Foo Foo: Ret 64bits compiling and linking is successful: $ nasm foo.nasm -Ox -f win64 -g -o foo.obj $ ~/llvm/releaseinstall/bin/clang-cl main.c /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /EHs-c- /GR- /GF /Gy /Zi /Gw -m64 $ ~/llvm/releaseinstall/bin/lld-link main.obj foo.obj /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /DLL /ENTRY:main /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER: /DEBUG:GHA...
2019 Feb 18
2
lld-link fails to link 32bits assembly functions but 64bits pass
...lobal Foo > > > > Foo: > > > > Ret > > > > > > > > 64bits compiling and linking is successful: > > > > $ nasm foo.nasm -Ox -f win64 -g -o foo.obj > > > > $ ~/llvm/releaseinstall/bin/clang-cl main.c /nologo /c /WX /GS- /W4 > /Gs32768 > > /D UNICODE /O1b2s /EHs-c- /GR- /GF /Gy /Zi /Gw -m64 > > > > $ ~/llvm/releaseinstall/bin/lld-link main.obj foo.obj /NOLOGO > /NODEFAULTLIB > > /IGNORE:4001 /OPT:REF /OPT:ICF=10 /ALIGN:32 /SECTION:.xdata,D > > /SECTION:.pdata,D /DLL /ENTRY:main > /SUBSYSTEM:EFI...