On Tue, Apr 20, 2021 at 7:41 AM Peng Yu via Gcc-help <gcc-help@xxxxxxxxxxx> wrote: > > Hi, > > I am trying to understand where are unnamed string constants are > defined in symbol tables. > > In the following example, the unnamed string constant is "Hello World!". > > $ cat a.c > #include <stdio.h> > int main() { puts("Hello World!"); } > $ gcc -c a.c > $ gcc -o a.out a.o > > But I don't find it in the symbol table. Could anybody point to me > where it is? Thanks. It’s just a fixed offset after linking, so it does not need a symbol entry.