Issue Details (XML | Word | Printable)

Key: CORE-2655
Type: New Feature New Feature
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Alexander Peshkov
Reporter: Damyan Ivanov
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Firebird Core

port to Renesas SH CPU (sh4)

Created: 01/Oct/09 02:57 PM   Updated: 12/Nov/09 05:46 PM
Component/s: Build Issues / Porting
Affects Version/s: None
Fix Version/s: 2.5 RC1, 2.1.4

Time Tracking:
Not Specified

File Attachments: 1. Text File fb-head-sh4.patch (4 kB)
2. Text File port-s390.patch (5 kB)
3. Text File port-sh4.patch (5 kB)

Environment: posix/sh4

Planning Status: Unspecified


 Description  « Hide
Attached is a patch that adds support and implementation IDs for linux/sh4 (Renesas SH) architecture.

SH comes in little- and big-endian variants, support for both is added. SH has alignment constraints.

The patch was initially proposed by Nobuhiro Iwamatsu <iwamatsu@nigauri.org> and reported to Debian as http://bugs.debian.org/545925.

The patch I attach here is intented for CVS HEAD. I will take care of backporting it to 2.1 (which is the latest avaible in Debian) and 2.5 (work on packaging which is in progress) for Debian, including additionally patching remote/xdr.cpp (which is no longer necessary in HEAD). Tell me if you want these patches.

Thanks,
    dam

 All   Comments   Work Log   Change History   Version Control   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Damyan Ivanov added a comment - 01/Oct/09 02:58 PM
CVS HEAD SH4 port patch

Alexander Peshkov added a comment - 01/Oct/09 05:41 PM
Backporting to 2.5 is not needed, HEAD is still == 2.5. Patch for 2.1 is welcome.

Damyan Ivanov added a comment - 01/Oct/09 06:13 PM
Since the sh4 port was done after the s390 ones, I also attach the patch that adds support to s390/s390x (backported from HEAD).

So you first apply the s390 patch (supporting both 32/64 bit s390) and second the sh4 patch.

Both patches are against 2.1.3.18185. Hopefully they apply to B2_1_Release without much problems. Sorry for not preparing clean patches for the current 2.1 branch, the Git mirror at http://gitorious.org/firebird-head-mirror/ tracks only HEAD.

Thank you for the quick response.