diff options
author | bde <bde@FreeBSD.org> | 1999-05-06 09:44:57 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1999-05-06 09:44:57 +0000 |
commit | 5b08c51b31821f3ee69a4da34d5618c450494568 (patch) | |
tree | 519c2330fe4c5a08795caf7b4c055e6ca5fefe77 /sys/i386/isa/ipl.s | |
parent | 897b3119d8cdee2c1e43b35e5c16706c95f19ef1 (diff) | |
download | FreeBSD-src-5b08c51b31821f3ee69a4da34d5618c450494568.zip FreeBSD-src-5b08c51b31821f3ee69a4da34d5618c450494568.tar.gz |
Fixed profiling of elf kernels. Made high resolution profiling compile
for elf kernels (it is broken for all kernels due to lack of egcs support).
Renaming of many assembler labels is avoided by declaring by declaring
the labels that need to be visible to gprof as having type "function"
and depending on the elf version of gprof being zealous about discarding
the others. A few type declarations are still missing, mainly for SMP.
PR: 9413
Submitted by: Assar Westerlund <assar@sics.se> (initial parts)
Diffstat (limited to 'sys/i386/isa/ipl.s')
-rw-r--r-- | sys/i386/isa/ipl.s | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/i386/isa/ipl.s b/sys/i386/isa/ipl.s index 502a759..0ee85d2 100644 --- a/sys/i386/isa/ipl.s +++ b/sys/i386/isa/ipl.s @@ -36,7 +36,7 @@ * * @(#)ipl.s * - * $Id: ipl.s,v 1.25 1999/04/11 15:51:15 peter Exp $ + * $Id: ipl.s,v 1.26 1999/04/28 01:04:14 luoqi Exp $ */ @@ -107,6 +107,7 @@ _netisrs: * Handle return from interrupts, traps and syscalls. */ SUPERALIGN_TEXT + .type _doreti,@function _doreti: #ifdef SMP TEST_CIL @@ -417,6 +418,7 @@ dummynetisr: */ ALIGN_TEXT .globl _swi_generic + .type _swi_generic,@function _swi_generic: pushl %ecx FAKE_MCOUNT(4(%esp)) |