[gccsdk] [Bug 215] Stack backtrace when using atof() and gcc 4.6

bugzilla-daemon at riscos.info bugzilla-daemon at riscos.info
Sun Feb 27 13:49:27 PST 2011


John Tytgat <John.Tytgat at aaug.net> changed:

           What    |Removed                     |Added
             Status|NEW                         |ASSIGNED
         AssignedTo|John.Tytgat at aaug.net        |leenoar at sky.com

--- Comment #1 from John Tytgat <John.Tytgat at aaug.net> 2011-02-27 13:49:27 PST ---
Even a simple printf("%f\n", 1.1) goes bang and this since r5004 because of the
new recipe/patches/gcc/gcc.config.arm.lib1funcs.asm.p.

Cfr. gcc/gcc/config/arm/ieee754-df.S:

ARM_FUNC_ALIAS aeabi_dsub subdf3

    eor    yh, yh, #0x80000000    @ flip sign bit of second arg
#if defined(__INTERWORKING_STUBS__)
    b    1f            @ Skip Thumb-code prologue

ARM_FUNC_ALIAS aeabi_dadd adddf3

1:    do_push    {r4, r5, lr}

Either we need to revert gcc.config.arm.lib1funcs.asm.p, either define
__INTERWORKING_STUBS__ (but feels like a gross hack which probably will bite us
one day), either patch so we're taking the 'b 1f' branch (any other instances
we have to take care of ?).

Lee, any preference ?

Configure bugmail: http://www.riscos.info/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.

More information about the gcc mailing list