public inbox for libc-hacker@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] Make glibc build on Alpha
@ 2002-02-27  2:47 Jakub Jelinek
  2002-02-27 10:11 ` Ulrich Drepper
  0 siblings, 1 reply; 2+ messages in thread
From: Jakub Jelinek @ 2002-02-27  2:47 UTC (permalink / raw)
  To: Ulrich Drepper, Richard Henderson; +Cc: Glibc hackers

Hi!

I found a bug in Alpha gas which must have been there for quite some time
- .text and .data directives were not visible for .previous handling, so
we ended up in a different section that we wanted.
Could this be installed so that glibc works even with gas which is not yet
fixed?

2002-02-27  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/alpha/dl-machine.h (elf_machine_load_address, RTLD_START):
	Work around an Alpha gas bug.

--- libc/sysdeps/alpha/dl-machine.h.jj	Mon Feb  4 17:34:53 2002
+++ libc/sysdeps/alpha/dl-machine.h	Wed Feb 27 11:39:02 2002
@@ -74,7 +74,7 @@ elf_machine_load_address (void)
       "0:\n\t"
       "br $0, 2f\n"
       "1:\n\t"
-      ".data\n"
+      ".section\t.data\n"
       "2:\n\t"
       ".quad 0b\n\t"
       ".previous"
@@ -294,7 +294,7 @@ elf_machine_runtime_setup (struct link_m
    its return value is the user program's entry point.  */
 
 #define RTLD_START asm ("\
-.text								\n\
+	.section .text						\n\
 	.set at							\n\
 	.globl _start						\n\
 	.ent _start						\n\

	Jakub

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] Make glibc build on Alpha
  2002-02-27  2:47 [PATCH] Make glibc build on Alpha Jakub Jelinek
@ 2002-02-27 10:11 ` Ulrich Drepper
  0 siblings, 0 replies; 2+ messages in thread
From: Ulrich Drepper @ 2002-02-27 10:11 UTC (permalink / raw)
  To: Jakub Jelinek; +Cc: Richard Henderson, Glibc hackers

Jakub Jelinek <jakub@redhat.com> writes:

> 2002-02-27  Jakub Jelinek  <jakub@redhat.com>
> 
> 	* sysdeps/alpha/dl-machine.h (elf_machine_load_address, RTLD_START):
> 	Work around an Alpha gas bug.

I've applied the patch.  Thanks,

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-02-27 18:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-02-27  2:47 [PATCH] Make glibc build on Alpha Jakub Jelinek
2002-02-27 10:11 ` Ulrich Drepper

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).