Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 305114 Details for
Bug 446047
Add super-H(sh3,4) architecture support.
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
gcc43-libgcc_post_upgrade-sh-linux.patch
gcc43-libgcc_post_upgrade-sh-linux.patch (text/plain), 1.85 KB, created by
CHIKAMA Masaki
on 2008-05-12 10:37:05 UTC
(
hide
)
Description:
gcc43-libgcc_post_upgrade-sh-linux.patch
Filename:
MIME Type:
Creator:
CHIKAMA Masaki
Created:
2008-05-12 10:37:05 UTC
Size:
1.85 KB
patch
obsolete
>--- libgcc_post_upgrade.c.orig 2008-04-16 19:27:50.000000000 +0900 >+++ libgcc_post_upgrade.c 2008-04-30 21:53:51.000000000 +0900 >@@ -416,6 +416,50 @@ > _r0 = (int)r0; \ > register int _r1 __asm__("r1") = (int)r1; \ > register int _r2 __asm__("r2") = (int)r2; >+#elif defined __sh__ >+# define INTERNAL_SYSCALL_DECL(err) do { } while (0) >+# define INTERNAL_SYSCALL_NCS(name, err, nr, args...) \ >+ ({ \ >+ register long int r0 __asm__ ("r0"); \ >+ register long int r3 __asm__ ("r3"); \ >+ register long int r4 __asm__ ("r4"); \ >+ register long int r5 __asm__ ("r5"); \ >+ register long int r6 __asm__ ("r6"); \ >+ LOADARGS_##nr(name, args); \ >+ __asm__ __volatile__ \ >+ (TRAPA_##nr \ >+ : "=&r" (r0), \ >+ "=&r" (r3), "=&r" (r4), "=&r" (r5), "=&r" (r6) \ >+ : ASM_INPUT_##nr \ >+ : "t", "memory"); \ >+ (int) r0; \ >+ }) >+# define INTERNAL_SYSCALL(name, err, nr, args...) \ >+ INTERNAL_SYSCALL_NCS (__NR_##name, err, nr, ##args) >+# define INTERNAL_SYSCALL_ERROR_P(val, err) \ >+ ((unsigned long) (val) >= -4095L) >+# define LOADARGS_0(name, dummy) \ >+ r3 = name >+# define LOADARGS_1(name, __arg1) \ >+ long int arg1 = (long int) (__arg1); \ >+ LOADARGS_0(name, 0); \ >+ r4 = arg1 >+# define LOADARGS_2(name, __arg1, __arg2) \ >+ long int arg2 = (long int) (__arg2); \ >+ LOADARGS_1(name, __arg1); \ >+ r5 = arg2 >+# define LOADARGS_3(name, __arg1, __arg2, __arg3) \ >+ long int arg3 = (long int) (__arg3); \ >+ LOADARGS_2(name, __arg1, __arg2); \ >+ r6 = arg3 >+# define ASM_INPUT_0 "1" (r3) >+# define ASM_INPUT_1 ASM_INPUT_0, "2" (r4) >+# define ASM_INPUT_2 ASM_INPUT_1, "3" (r5) >+# define ASM_INPUT_3 ASM_INPUT_2, "4" (r6) >+# define TRAPA_0 "trapa #0x10" >+# define TRAPA_1 "trapa #0x11" >+# define TRAPA_2 "trapa #0x12" >+# define TRAPA_3 "trapa #0x13" > #endif > > int main (int argc, char **argv)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 446047
: 305114