Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 207510 Details for
Bug 289642
sys-libs/glibc: patches for alpha
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to fix warnings with gcc-4
local-gcc4.1.diff (text/plain), 1.81 KB, created by
Matt Turner
on 2009-10-18 21:15:44 UTC
(
hide
)
Description:
patch to fix warnings with gcc-4
Filename:
MIME Type:
Creator:
Matt Turner
Created:
2009-10-18 21:15:44 UTC
Size:
1.81 KB
patch
obsolete
>2006-05-30 Falk Hueffner <falk@debian.org> > > * sysdeps/unix/sysv/linux/alpha/ioperm.c: force the architecture > to ev6 in assembly code. > >{standard input}: Assembler messages: >{standard input}:341: Error: macro requires $at register while noat in effect >{standard input}:374: Error: macro requires $at register while noat in effect >{standard input}:438: Error: macro requires $at register while noat in effect >{standard input}:471: Error: macro requires $at register while noat in effect >make[3]: *** [/tmp/buildd/glibc-2.3.6/build-tree/alpha-libc/misc/ioperm.o] Error 1 > >Hrm. gcc puts .arch ev4 into the .s, and this overrides -mev6 for as. >I cannot really think of anything better than > >--- > ports/sysdeps/unix/sysv/linux/alpha/ioperm.c | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > >--- a/ports/sysdeps/unix/sysv/linux/alpha/ioperm.c >+++ b/ports/sysdeps/unix/sysv/linux/alpha/ioperm.c >@@ -178,13 +178,13 @@ > static inline void > stb_mb(unsigned char val, unsigned long addr) > { >- __asm__("stb %1,%0; mb" : "=m"(*(vucp)addr) : "r"(val)); >+ __asm__(".arch ev6; stb %1,%0; mb" : "=m"(*(vucp)addr) : "r"(val)); > } > > static inline void > stw_mb(unsigned short val, unsigned long addr) > { >- __asm__("stw %1,%0; mb" : "=m"(*(vusp)addr) : "r"(val)); >+ __asm__(".arch ev6; stw %1,%0; mb" : "=m"(*(vusp)addr) : "r"(val)); > } > > static inline void >@@ -356,7 +356,7 @@ > unsigned long int addr = dense_port_to_cpu_addr (port); > unsigned char r; > >- __asm__ ("ldbu %0,%1" : "=r"(r) : "m"(*(vucp)addr)); >+ __asm__ (".arch ev6; ldbu %0,%1" : "=r"(r) : "m"(*(vucp)addr)); > return r; > } > >@@ -366,7 +366,7 @@ > unsigned long int addr = dense_port_to_cpu_addr (port); > unsigned short r; > >- __asm__ ("ldwu %0,%1" : "=r"(r) : "m"(*(vusp)addr)); >+ __asm__ (".arch ev6; ldwu %0,%1" : "=r"(r) : "m"(*(vusp)addr)); > return r; > } >
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 289642
:
207510
|
207511
|
207515
|
207517
|
207519
|
207520
|
207522
|
207524
|
207525
|
207527
|
208573