[uClibc 0003824]: Fix ldso/ldso/m68k/resolve.S in order to support Coldfire CPUs

bugs at busybox.net bugs at busybox.net
Fri Jun 20 20:28:34 UTC 2008


The following issue has been SUBMITTED. 
====================================================================== 
http://busybox.net/bugs/view.php?id=3824 
====================================================================== 
Reported By:                comio
Assigned To:                uClibc
====================================================================== 
Project:                    uClibc
Issue ID:                   3824
Category:                   Architecture Specific
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             06-20-2008 13:28 PDT
Last Modified:              06-20-2008 13:28 PDT
====================================================================== 
Summary:                    Fix ldso/ldso/m68k/resolve.S in order to support
Coldfire CPUs
Description: 
Hi,

I ask for modify the resolve.S file in order to permit the compilation of
uClibc with target m68k/coldfire.

Coldfire cpus don't support the instruction jmp (REGISTER) that is used to
return from _dl_linux_resolve. The fix (that is google-able on many
websites) consists to save the the return value on the stack and then
perform a rts instruction.

Using the proposed patch both m68k and coldfire cpus should be able to
execute the uClibc code.
====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
06-20-08 13:28  comio          New Issue                                    
06-20-08 13:28  comio          Status                   new => assigned     
06-20-08 13:28  comio          Assigned To               => uClibc          
06-20-08 13:28  comio          File Added: 900-cf-support.patch                 
  
======================================================================




More information about the uClibc-cvs mailing list