other/5372: GCC 3.0.3: Target: powerpc-*-eabi, -mno-eabi not working

antti-pekka.virjonen@computec.fi antti-pekka.virjonen@computec.fi
Mon Jan 14 02:06:00 GMT 2002


>Number:         5372
>Category:       other
>Synopsis:       GCC 3.0.3: Target: powerpc-*-eabi, -mno-eabi not working
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jan 14 02:06:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     antti-pekka.virjonen@computec.fi
>Release:        GCC-3.0.3
>Organization:
>Environment:
Cygwin (current) under Win2K
>Description:
GCC-3.0.3 cross compiler for powerpc-*-eabi running under
Cygwin slightly illbehaves. When used with the -mno-eabi
option, the compiler still generates a call to the __eabi
function. According to the Gcc man-page, this should not
happen. Otherwise the -mno-eabi -option seems to work ok 
(stack alignment changes like it should).

The older compiler (Gcc egcs-2.91.66 under Linux (Redhat 7.1))
works ok in this respect (though it seems to handle these
things differently).

Pretty easy to get around this is to add a void __eabi()
function in the application code... but it would be
nice if it worked correctly out of box.

Regards,
Antti-Pekka
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the Gcc-bugs mailing list