binutils-gdb/sim
Mike Frysinger 5be229c0d8 sim: profile: fix building with --disable-sim-profile
When the sim is configured with profile support disabled, the build fails:
./../common/sim-profile.c: In function 'profile_option_handler':
./../common/sim-profile.c:337:6: warning: implicit declaration of function 'PROFILE_PC_FREQ'
./../common/sim-profile.c:337:6: error: lvalue required as left operand of assignment
./../common/sim-profile.c:351:6: warning: implicit declaration of function 'PROFILE_PC_NR_BUCKETS'
./../common/sim-profile.c:351:6: error: lvalue required as left operand of assignment
./../common/sim-profile.c:381:6: warning: implicit declaration of function 'PROFILE_PC_SHIFT'
./../common/sim-profile.c:381:6: error: lvalue required as left operand of assignment
./../common/sim-profile.c:405:8: warning: implicit declaration of function 'PROFILE_PC_START'
./../common/sim-profile.c:405:8: error: lvalue required as left operand of assignment
./../common/sim-profile.c:406:8: warning: implicit declaration of function 'PROFILE_PC_END'
./../common/sim-profile.c:406:8: error: lvalue required as left operand of assignment
./../common/sim-profile.c: In function 'profile_uninstall':
./../common/sim-profile.c:1299:7: warning: implicit declaration of function 'PROFILE_INSN_COUNT'
./../common/sim-profile.c:1299:37: warning: comparison between pointer and integer
./../common/sim-profile.c:1300:2: warning: passing argument 1 of 'zfree' makes pointer from integer without a cast
../common/sim-utils.h:30:6: note: expected 'void *' but argument is of type 'int'
make[2]: *** [sim-profile.o] Error 1

So add some stubs similar to how some of the other subsystems are
stubbed out so things build correctly.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-11-23 02:48:54 +00:00
..
arm 2010-05-26 Ozkan Sezer <sezeroz@gmail.com> 2010-05-26 22:40:24 +00:00
avr
common sim: profile: fix building with --disable-sim-profile 2010-11-23 02:48:54 +00:00
cr16
cris Regenerate for bool -> bool_ change 2010-10-09 07:56:18 +00:00
d10v
erc32
frv
h8300
igen
iq2000
lm32
m32c 2010-05-26 Ozkan Sezer <sezeroz@gmail.com> 2010-05-26 22:40:24 +00:00
m32r
m68hc11
mcore
microblaze
mips
mn10300
moxie
ppc
rx * rx.c (lsb_count): New. 2010-11-12 01:01:12 +00:00
sh
sh64 Regenerate for bool -> bool_ change 2010-10-09 07:56:18 +00:00
testsuite * sim/cris/c/seek3.c, sim/cris/c/seek4.c: New tests. 2010-10-06 23:41:20 +00:00
v850
ChangeLog * MAINTAINERS: Add self as RX maintainer. Sort list. 2010-07-28 21:56:16 +00:00
configure
configure.ac
configure.tgt
MAINTAINERS Sort *alphabetically* this time 2010-07-28 22:31:09 +00:00
Makefile.in
README-HACKING