i386/include/profile.h:
Fixed a syntax error for the (!__KERNEL && !__GNUCLIKE_ASM) case in rev.1.36. Apparently, this case has never been reached even by lint. Submitted by: stefanf {amd64,i386}/include/profile.h: In case the above case is actually reached, break it properly by providing null support that will fail at link time instead of a stub that gives wrong (null) profiling at runtime.
This commit is contained in:
parent
955d762aca
commit
43f0ea0a27
@ -171,11 +171,7 @@ mcount() \
|
||||
}
|
||||
#endif
|
||||
#else /* !__GNUCLIKE_ASM */
|
||||
#define MCOUNT \
|
||||
void \
|
||||
mcount() \
|
||||
{ \
|
||||
}
|
||||
#define MCOUNT
|
||||
#endif /* __GNUCLIKE_ASM */
|
||||
|
||||
typedef u_long uintfptr_t;
|
||||
|
@ -134,11 +134,7 @@ mcount() \
|
||||
_mcount(frompc, selfpc); \
|
||||
}
|
||||
#else /* !__GNUCLIKE_ASM */
|
||||
void \
|
||||
#define MCOUNT \
|
||||
mcount() \
|
||||
{ \
|
||||
}
|
||||
#define MCOUNT
|
||||
#endif /* __GNUCLIKE_ASM */
|
||||
|
||||
typedef u_int uintfptr_t;
|
||||
|
Loading…
Reference in New Issue
Block a user