* Fixes for alpha...
@ 2003-12-07 11:08 Andreas Jaeger
2003-12-10 2:24 ` Roland McGrath
0 siblings, 1 reply; 2+ messages in thread
From: Andreas Jaeger @ 2003-12-07 11:08 UTC (permalink / raw)
To: GNU libc hacker
[-- Attachment #1: Type: text/plain, Size: 2420 bytes --]
The following two fixes are needed to get glibc compile on alpha. The
first one is a 3.4/unit-at-a-time problem where a variable is only
used by asm and optimized out without the attribute, the second one
contains an extraneous line (fixed for nptl, broken in linuxthreads).
Ok to commit?
Andreas
2003-12-07 Andreas Jaeger <aj@suse.de>
Ruediger Oertel <ro@suse.de>
* sysdeps/alpha/fpu/e_sqrt.c: Mark as used.
linuxthreads:
* sysdeps/alpha/elf/pt-initfini.c (__asm__): Remove extra
.prologue.
============================================================
Index: sysdeps/alpha/fpu/e_sqrt.c
--- sysdeps/alpha/fpu/e_sqrt.c 8 Nov 2002 02:18:58 -0000 1.7
+++ sysdeps/alpha/fpu/e_sqrt.c 7 Dec 2003 11:07:38 -0000
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997, 1998, 2002 Free Software Foundation, Inc.
+/* Copyright (C) 1996,1997,1998,2002,2003 Free Software Foundation, Inc.
Contributed by David Mosberger (davidm@cs.arizona.edu).
This file is part of the GNU C Library.
@@ -33,7 +33,7 @@ const static struct sqrt_data_struct {
unsigned long dn, up, half, almost_three_half;
unsigned long one_and_a_half, two_to_minus_30, one, nan;
const int T2[64];
-} sqrt_data = {
+} sqrt_data __attribute__((used)) = {
0x3fefffffffffffff, /* __dn = nextafter(1,-Inf) */
0x3ff0000000000001, /* __up = nextafter(1,+Inf) */
0x3fe0000000000000, /* half */
============================================================
Index: linuxthreads/sysdeps/alpha/elf/pt-initfini.c
--- linuxthreads/sysdeps/alpha/elf/pt-initfini.c 5 Jul 2003 22:56:39 -0000 1.3
+++ linuxthreads/sysdeps/alpha/elf/pt-initfini.c 7 Dec 2003 11:07:38 -0000
@@ -1,5 +1,5 @@
/* Special .init and .fini section support for Alpha. Linuxthreads version.
- Copyright (C) 2002 Free Software Foundation, Inc.
+ Copyright (C) 2002, 2003 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -75,7 +75,6 @@ _fini: \n\
subq $30, 16, $30 \n\
stq $26, 0($30) \n\
stq $29, 8($30) \n\
- .prologue 1 \n\
.align 3 \n\
/*@_fini_PROLOG_ENDS*/ \n\
\n\
--
Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj
SuSE Linux AG, Deutschherrnstr. 15-19, 90429 Nürnberg, Germany
GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
[-- Attachment #2: Type: application/pgp-signature, Size: 188 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Fixes for alpha...
2003-12-07 11:08 Fixes for alpha Andreas Jaeger
@ 2003-12-10 2:24 ` Roland McGrath
0 siblings, 0 replies; 2+ messages in thread
From: Roland McGrath @ 2003-12-10 2:24 UTC (permalink / raw)
To: Andreas Jaeger; +Cc: GNU libc hacker
> The following two fixes are needed to get glibc compile on alpha. The
> first one is a 3.4/unit-at-a-time problem where a variable is only
> used by asm and optimized out without the attribute, the second one
> contains an extraneous line (fixed for nptl, broken in linuxthreads).
>
> Ok to commit?
>
> Andreas
>
> 2003-12-07 Andreas Jaeger <aj@suse.de>
> Ruediger Oertel <ro@suse.de>
>
> * sysdeps/alpha/fpu/e_sqrt.c: Mark as used.
>
> linuxthreads:
> * sysdeps/alpha/elf/pt-initfini.c (__asm__): Remove extra
> .prologue.
These look fine.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-12-10 2:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-07 11:08 Fixes for alpha Andreas Jaeger
2003-12-10 2:24 ` Roland McGrath
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).