--- Comment #1 from joel at gcc dot gnu dot org 2010-07-02 20:14 ---
Created an attachment (id=21071)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21071action=view)
bzip'ed test case
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44793
--- Comment #2 from joel at gcc dot gnu dot org 2010-07-02 20:16 ---
Works with 4.4.4
$ /opt/rtems-4.10/bin/powerpc-rtems4.10-gcc -mcpu=603e -Os pr44793.c -S
$ grep _res pr44793.s
$ /opt/rtems-4.10/bin/powerpc-rtems4.10-gcc --version
powerpc-rtems4.10-gcc (GCC) 4.4.4 20100429 (RTEMS
--- Comment #3 from pinskia at gmail dot com 2010-07-02 20:17 ---
Subject: Re: New: Code generated references undefined symbol
These functions are part of PowerPC abi. So they should be provided by
either libgcc or the libc.
On Jul 2, 2010, at 1:12 PM, joel at gcc dot gnu dot org
--- Comment #4 from joel at gcc dot gnu dot org 2010-07-02 20:31 ---
We use newlib and it is not in any of the .a or .o files installed. I
see it in the file crtresgpr.S in gcc/config/rs6000 but only
config/rs6000/t-netbsd references it. Should this code from t-netbsd be copied
to