This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
Adam Sulmicki <adam@cfar.umd.edu> writes:
can someone help me understand what is going on?
are the -p and -pg options supposed to work?
This question is not appropriate for gcc@gcc.gnu.org, which is a mailing list for gcc developments. It is appropriate for gcc-help@gcc.gnu.org.
-p does work on GNU/Linux systems.
3b0: e8 00 00 00 00 call 3b5 <menu_init+0xb> 3b1: R_386_PC32 .bss
That is presumably the call to mcount which records the profiling information.
# grep mcount menu.c static int mcount = 0;
-- Adam Sulmicki http://www.eax.com The Supreme Headquarters of the 32 bit registers
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |