Messages in this thread |  | | Date | Thu, 17 Oct 1996 14:35:40 -0400 (EDT) | From | Tom Zerucha <> | Subject | ELF - are .comment and .note sections needed? Inline syscalls? |
| |
I was experimenting to see how small I could make an executable, and found that readelf showed .comment and .note sections in the code. It would sometimes show others too. Are they used for any purpose? strip won't remove them unless you specifically say --remove-section= for each one you want to remove.
Also, is there any way to force the inlining of system calls? If I include asm/unistd.h I can define a write() that will simply be the system call, but gcc always wants to talk to libc. Is there a particular reason that write isn't inlined by gcc, or have I stupidly overlooked something.
tz@execpc.com finger tz@execpc.com for PGP key
|  |