[Bug target/116472] Wrong offset format when generating assembly with -masm=intel and -fPIE/-fPIC

2024-08-25 Thread 8dcc.git at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116472 --- Comment #6 from 8dcc.git at gmail dot com --- (In reply to Xi Ruoyao from comment #4) > > I tried compiling the source with: > > > > gcc -S -masm=intel -no-pie -o output.s source.c > > > > And the issue still persists. > > -no-pie is o

[Bug target/116472] Wrong offset format when generating assembly with -masm=intel and -fPIE/-fPIC

2024-08-24 Thread 8dcc.git at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116472 --- Comment #3 from 8dcc.git at gmail dot com --- > Are you sure you don't have some patch which breaks this? I haven't manually patched GCC, it was installed it from the Arch repository, which is apparently configured with `--enable-default-pie`

[Bug other/116472] New: Wrong offset format when generating assembly with -S and -masm=intel

2024-08-23 Thread 8dcc.git at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116472 Bug ID: 116472 Summary: Wrong offset format when generating assembly with -S and -masm=intel Product: gcc Version: 14.2.1 Status: UNCONFIRMED Severity: normal