NetBSD/sys/arch
jtc d137b0e8ba Added new macro _PROF_PROLOG which contains the code sequence needed
to call mcount().  This is needed because the ``link a6,#0'' insn used
trips up gcc's ANSI preprocessor (A # in a function-type macro must be
followed by a macro argument).  _PROF_PROLOG is also used in the i386
asm.h.

Solaris' asm_linkage.h has a MCOUNT macro similar to _PROF_PROLOG
except it expands to different code sequences based on whether a
function is being compiled with "prof" or "gprof" instrumentation.

I also discovered that the m68k ALTENTRY is very different than the
implementation used by other NetBSD ports.  Usually ALTENTRY simply
provides an alternate function entry point.  The m68k version takes a
second argument and jumps inside the second function when profiling is
enabled.  The m68k behavior is similar to the ENTRY2 macro found in
solaris.

Providing ENTRY2 and changing all the code that uses ALTENTRY to use
it would be a desirable change.
1996-09-24 00:05:55 +00:00
..
alpha update for ELF toolchain support 1996-09-23 04:32:59 +00:00
amiga Kill two debug printfs whose output always haunt me in the boot 1996-09-14 14:55:08 +00:00
arm32 Move strip(1) flags into a separate variable, so that $STRIP can 1996-09-09 21:06:55 +00:00
atari Prepare for (soon to come) et4000 PCI console 1996-09-16 06:49:03 +00:00
hp300 Correct an old comment; the 318, 319, and 330 _are_ tested (68020 w/ 68851). 1996-09-14 20:36:49 +00:00
i386 kill unused options. no point in wading through lots of lines of commented 1996-09-22 03:00:32 +00:00
m68k Added new macro _PROF_PROLOG which contains the code sequence needed 1996-09-24 00:05:55 +00:00
mac68k Update for recent config(8) changes. 1996-09-22 06:49:09 +00:00
mips * Add missing `UADDR' argument to RESTORE_USER_REGS() macro calls. 1996-09-20 23:44:10 +00:00
mvme68k Update for the new way machine/cpu support is option'd in. 1996-09-12 07:36:37 +00:00
pc532 Move strip(1) flags into a separate variable, so that $STRIP can 1996-09-09 21:06:55 +00:00
pica Move strip(1) flags into a separate variable, so that $STRIP can 1996-09-09 21:06:55 +00:00
pmax Add prototype for function-pointer argument "strat" in definition of 1996-09-21 11:25:51 +00:00
sparc Don't attach an rcons to a cgfour/cgeight overlay plane; it doesn't work 1996-09-20 17:35:49 +00:00
sun3 Move strip(1) flags into a separate variable, so that $STRIP can 1996-09-09 21:06:55 +00:00
vax Move strip(1) flags into a separate variable, so that $STRIP can 1996-09-09 21:06:55 +00:00
x68k added ccd(blk)/ch/uk device 1996-09-16 20:08:56 +00:00