Message ID | 54D37E11.2050407@codesourcery.com |
---|---|
State | New |
Headers | show |
On 02/05/2015 09:28 AM, Chung-Lin Tang wrote: > There was a typo error in sysdeps/nios2/machine-gmon.h, a missing > leading "__" which of course causes linking with '-static -pg to fail. > Patch committed. > > Chung-Lin > > 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com> > > * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct > name of called function in non-PIC case. > Thanks. Cheers, Carlos.
diff --git a/sysdeps/nios2/machine-gmon.h b/sysdeps/nios2/machine-gmon.h index 1f0ea8f..039d253 100644 --- a/sysdeps/nios2/machine-gmon.h +++ b/sysdeps/nios2/machine-gmon.h @@ -35,7 +35,7 @@ static void __attribute_used__ __mcount_internal (u_long frompc, u_long selfpc) "callr r2\n\t" #else #define NIOS2_MCOUNT_CALL \ - "call\tmcount_internal\n\t" + "call\t__mcount_internal\n\t" #endif #define MCOUNT \