mcount arm
Wed Nov 14 05:46:00 GMT 2001

I tried using the profiler on an application copiled with arm-elf-gcc. Only
mcount was undefined. This symbol could be generated if libgloss (directory newlib) is build but on configuring
newlib for arm-elf targets libgloss is not configured for this target.
So I had a look at the gcc directory in gcc-3.0.1 and found the source file gmon.c where mcount is defined. But a look at
does not include a gmon.o as possible target. Thus mcount is not defined in libgcc.a

What should be exactly modified (where more precisely ) in the Makefile to take into account gmon.c (OBJS = ?)  and that mcount be included in libgcc.a

Want more information?  See the CrossGCC FAQ,
Want to unsubscribe? Send a note to

More information about the crossgcc mailing list