Re: Stuff taking up kernel space

Dave Jones. (djones2@glam.ac.uk)
Fri, 4 Jun 1999 14:32:37 +0000 ( )


On Fri, 4 Jun 1999, Alan Modra wrote:

> > (Seemingly at the end of every .o) Compiling with a -S argument,
> > and examining the asm output I see .ident directives at the end
> > of each file.
> These all go into the .comment section of the object files. They are
> stripped out of the compressed image by the -R options to objcopy.
> grep -i objcopy `find linux/arch/ -name Makefile` to see the gory details.

Ok, I understand this now. Thanks.

More disturbingly, I notice in the same image that the strings that
are printk'd in the macros from include/linux/time.h seem to be
occuring quite a lot.
The comment in this file says that the macros are only a temp measure
whilst the new waitqueue code is debugged, but can't these macros be
changed to use 1 copy of each string?

Regards,

d.
_______________________________________________
| Dave 'Barc0de' Jones. djones2@glam.ac.uk |
| http://www.comp.glam.ac.uk/students/djones2 |
|_______________________________________________|

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/