Package: gcc-2.95 Version: 1:2.95-7 Severity: important Tags: fixed Profiling does not work on ARM with gcc 2.95. There are two problems:
- the cc1 specs seem to be missing %{profile:-p}, so "-profile" doesn't actually enable profiling code generation (though -p/-pg works) - the generated profiling code is incorrect: it contains a stray data word after the call to mcount. It probably needs something like this adding to linux-elf.h: /* Call the function profiler with a given profile label. */ #undef FUNCTION_PROFILER #define FUNCTION_PROFILER(STREAM, LABELNO) \ { \ fprintf (STREAM, "\tbl\tmcount%s\n", NEED_PLT_RELOC ? "(PLT)" : ""); \ } #undef CC1_SPEC #define CC1_SPEC "%{profile:-p}" -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]