This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
-- Caroline Tice ctice@apple.com
Hopefully I missed something, but why object file size bloat is not considered there? Even if no cold section detected, compiler emits 3 extra labels for each routine. That makes symbol table growing dramatically.
Local labels don't go into the object file.
zw
Not exactly. Please see this example:
$ cat foo.c int puts(const char *); int foo(){ puts("hello"); }
$ gcc -c foo.c $ nm foo.o 0000000000000000 T foo 0000000000000060 t foo.end 0000000000000000 t foo.end.cold 0000000000000000 t foo.hot_section U puts
- Grigory
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |