This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [PATCH] Fix __builtin_return_address() on PPC


On Saturday 03 February 2001 23:43, Mark Mitchell wrote:
> Oops.  In my earlier reply, I didn't see this follow-up message.
>
> Now I'm going to try this patch!

Yes, testing DEFAULT_ABI is the correct thing here, I was a bit too hasty 
with my first patch.

BTW, now that AIX is (probably) working, you broke Linux :-), linking c++ 
gives:

/usr/lib/libgcc_s.so.0: undefined reference to `__SBSS2_END__'
/usr/lib/libgcc_s.so.0: undefined reference to `__init'
/usr/lib/libgcc_s.so.0: undefined reference to `__SBSS_END__'
/usr/lib/libgcc_s.so.0: undefined reference to `__SDATA2_START__'
/usr/lib/libgcc_s.so.0: undefined reference to `__SDATA_START__'
collect2: ld returned 1 exit status

I guess this is because eabi.S is pulled in via LIB2FUNCS_EXTRA, but I have 
currently no idea what's the correct fix.

Franz.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]