Commit Graph

8 Commits

Author SHA1 Message Date
pooka 1ce853369b Temporarily define MCOUNT as a dummy for _RUMPKERNEL to allow build
to proceed - the MD macros use processor instructions unavailable
to userspace and should/could be provided as interfaces.
2009-01-05 18:06:57 +00:00
uwe 5dd5d540a6 Simplify the __attribute__ ifdef mess now that __used does the right
thing for older gccs.
2006-10-27 22:14:13 +00:00
uwe 088af57adf Do the used/unused dance under #ifdef KERNEL too. Prevents mcount
from being optimized away when compiling sh3 kernels with profiling
enabled (gcc doesn't see that __mcount, which is written in asm,
refers to it).
2006-10-26 23:10:16 +00:00
christos 8ca2029daf always compile in the userland portion. XXX: We might want to change this
to __no_instrument_function__ like the kernel does.
2006-01-08 07:46:39 +00:00
christos 54bb4a449f conditionally build this on GPROF again. 2005-12-21 18:11:32 +00:00
christos 91165a001e make this compile again. 2005-12-21 16:58:04 +00:00
christos 4659ba77df Build also when GPROF is not defined. 2005-12-21 15:14:09 +00:00
christos 37c9f0a654 Merge libkern + libc common files. As requested by core. 2005-12-20 19:28:49 +00:00