This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.
Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
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
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |