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 158565 Details for
Bug 246800
gcc: please add arm 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]
ARM support for libgcc_post_upgrade.c.
libgcc_post_upgrade.c.arm.patch (text/plain), 1.27 KB, created by
Lennert Buytenhek
on 2007-07-05 00:07:18 UTC
(
hide
)
Description:
ARM support for libgcc_post_upgrade.c.
Filename:
MIME Type:
Creator:
Lennert Buytenhek
Created:
2007-07-05 00:07:18 UTC
Size:
1.27 KB
patch
obsolete
>--- libgcc_post_upgrade.c.orig 2007-07-04 06:30:10.000000000 -0400 >+++ libgcc_post_upgrade.c 2007-07-04 07:33:02.000000000 -0400 >@@ -387,6 +387,35 @@ > : inline_syscall_clobbers, "$20", "$21"); \ > _sc_ret = _sc_0, _sc_err = _sc_19; \ > } >+#elif defined __arm__ && defined __ARM_EABI__ >+# define INTERNAL_SYSCALL_DECL(err) do { } while (0) >+# define INTERNAL_SYSCALL(name, err, nr, args...) \ >+ ({ \ >+ register int _r0 __asm__("r0"); \ >+ register int _nr __asm__("r7"); \ >+ LOAD_ARGS_##nr(args) \ >+ _nr = __NR_##name; \ >+ asm volatile ("swi\t0\t@ syscall " #name "\n\t" \ >+ : "=r" (_r0) \ >+ : "r" (_nr) ASM_ARGS_##nr \ >+ : "memory"); \ >+ _r0; }) >+# define INTERNAL_SYSCALL_ERROR_P(val, err) \ >+ ((unsigned int) (val) >= 0xfffff001u) >+# define ASM_ARGS_0 >+# define ASM_ARGS_1 , "r" (_r0) >+# define ASM_ARGS_2 , "r" (_r0), "r" (_r1) >+# define ASM_ARGS_3 , "r" (_r0), "r" (_r1), "r" (_r2) >+# define LOAD_ARGS_0() >+# define LOAD_ARGS_1(r0) \ >+ _r0 = (int)r0; >+# define LOAD_ARGS_2(r0, r1) \ >+ _r0 = (int)r0; \ >+ register int _r1 __asm__("r1") = (int)r1; >+# define LOAD_ARGS_3(r0, r1, r2) \ >+ _r0 = (int)r0; \ >+ register int _r1 __asm__("r1") = (int)r1; \ >+ register int _r2 __asm__("r2") = (int)r2; > #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 246800
:
158560
|
158561
|
158562
|
158563
|
158564
| 158565 |
241781
|
243621
|
250151
|
250521