BusyBox Bug and Patch Tracking
BusyBox
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003824 [uClibc] Architecture Specific minor always 06-20-08 13:28 11-03-08 04:28
Reporter comio View Status public  
Assigned To uClibc
Priority normal Resolution fixed  
Status closed   Product Version
Summary 0003824: 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.
Additional Information  Freescale has recently dismiss the 680x0 cpu. Now only Coldfire cpus can be purchased from Freescale
Attached Files  uClibc.067-m68k-coldfire-jmp.patch [^] (1,664 bytes) 10-16-08 02:06

- Relationships

- Notes
(0013454)
bernhardf
10-13-08 07:28

Shouldn't this be guarded with __cf__ or __mcoldfire__ ?
 
(0013674)
bernhardf
10-16-08 02:07

Please test the attached patch which should not break non-coldfire m68k and possibly fixes the same issue in vfork.S
 
(0014954)
bernhardf
11-03-08 04:28

Fixed in r23911. Thanks!
 

- 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
10-13-08 07:28 bernhardf Note Added: 0013454
10-16-08 02:06 bernhardf File Added: uClibc.067-m68k-coldfire-jmp.patch
10-16-08 02:07 bernhardf Note Added: 0013674
10-17-08 11:14 bernhardf File Deleted: 900-cf-support.patch
11-03-08 04:28 bernhardf Status assigned => closed
11-03-08 04:28 bernhardf Note Added: 0014954
11-03-08 04:28 bernhardf Resolution open => fixed
11-03-08 04:28 bernhardf Fixed in Version  => 0.9.30


Copyright © 2000 - 2006 Mantis Group
Powered by Mantis Bugtracker