search for STI_GCC in https://github.com/dlang/dmd/blob/master/src/dmd/backend/elfobj.d
the part that adds the symbol name to the string table is commented out, but the rest remain so the symbol is added with an empty name
it's harmless but some disassemblers warn about the empty name
to see it, compile a file containing "int x;" with "dmd -c test.d", then list the names using "nm test.o":
0000000000000000 t
0000000000000000 R _D4test12__ModuleInfoZ
0000000000000000 B _D4test1xi
U _d_dso_registry
U __start_minfo
U __stop_minfo
the first line is the symbol with no name
Comment #1 by robert.schadek — 2024-12-13T19:22:23Z