mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-05 19:35:52 +03:00
* elf/dl-conflict.c: Don't compile _dl_resolve_conflicts if ELF_MACHINE_NO_RELA is set. * elf/rtld.c (dl_main): No prelink support for REL-only.
* elf/dl-conflict.c: Don't compile _dl_resolve_conflicts if ELF_MACHINE_NO_RELA is set. * elf/rtld.c (dl_main): No prelink support for REL-only.
This commit is contained in:
10
ChangeLog
10
ChangeLog
@@ -1,24 +1,22 @@
|
|||||||
2003-03-14 Alexandre Oliva <aoliva@redhat.com>
|
2003-03-14 Alexandre Oliva <aoliva@redhat.com>
|
||||||
|
|
||||||
|
* elf/dl-conflict.c: Don't compile _dl_resolve_conflicts if
|
||||||
|
ELF_MACHINE_NO_RELA is set.
|
||||||
|
* elf/rtld.c (dl_main): No prelink support for REL-only.
|
||||||
|
|
||||||
* sysdeps/generic/ldconfig.h (FLAG_MIPS64_LIBN32,
|
* sysdeps/generic/ldconfig.h (FLAG_MIPS64_LIBN32,
|
||||||
FLAG_MIPS64_LIBN64): Define.
|
FLAG_MIPS64_LIBN64): Define.
|
||||||
* elf/cache.c (print_entry): Handle mips64 n32 and n64.
|
* elf/cache.c (print_entry): Handle mips64 n32 and n64.
|
||||||
|
|
||||||
2003-03-14 Alexandre Oliva <aoliva@redhat.com>
|
|
||||||
|
|
||||||
* sysdeps/mips/memcpy.S: Map t0-3 to a4-7 on new abis.
|
* sysdeps/mips/memcpy.S: Map t0-3 to a4-7 on new abis.
|
||||||
* sysdeps/mips/memset.S: Likewise.
|
* sysdeps/mips/memset.S: Likewise.
|
||||||
* sysdeps/mips/sys/regdef.h: Alias a4-7 or t0-3 to $8-11
|
* sysdeps/mips/sys/regdef.h: Alias a4-7 or t0-3 to $8-11
|
||||||
depending on the ABI.
|
depending on the ABI.
|
||||||
|
|
||||||
2003-03-14 Alexandre Oliva <aoliva@redhat.com>
|
|
||||||
|
|
||||||
* sysdeps/mips/atomicity.h (exchange_and_add, atomic_add):
|
* sysdeps/mips/atomicity.h (exchange_and_add, atomic_add):
|
||||||
Don't .set mips2 on new abi.
|
Don't .set mips2 on new abi.
|
||||||
(compare_and_swap): Likewise. Support 64-bit longs on n64.
|
(compare_and_swap): Likewise. Support 64-bit longs on n64.
|
||||||
|
|
||||||
2003-03-14 Alexandre Oliva <aoliva@redhat.com>
|
|
||||||
|
|
||||||
* stdlib/fpioconst.h: Include gmp.h with angle brackets.
|
* stdlib/fpioconst.h: Include gmp.h with angle brackets.
|
||||||
|
|
||||||
2003-03-13 Roland McGrath <roland@redhat.com>
|
2003-03-13 Roland McGrath <roland@redhat.com>
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
/* Resolve conflicts against already prelinked libraries.
|
/* Resolve conflicts against already prelinked libraries.
|
||||||
Copyright (C) 2001, 2002 Free Software Foundation, Inc.
|
Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
Contributed by Jakub Jelinek <jakub@redhat.com>, 2001.
|
Contributed by Jakub Jelinek <jakub@redhat.com>, 2001.
|
||||||
|
|
||||||
@@ -28,7 +28,7 @@
|
|||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include "dynamic-link.h"
|
#include "dynamic-link.h"
|
||||||
|
|
||||||
|
#if ! ELF_MACHINE_NO_RELA
|
||||||
void
|
void
|
||||||
_dl_resolve_conflicts (struct link_map *l, ElfW(Rela) *conflict,
|
_dl_resolve_conflicts (struct link_map *l, ElfW(Rela) *conflict,
|
||||||
ElfW(Rela) *conflictend)
|
ElfW(Rela) *conflictend)
|
||||||
@@ -65,3 +65,4 @@ _dl_resolve_conflicts (struct link_map *l, ElfW(Rela) *conflict,
|
|||||||
elf_machine_rela (l, conflict, NULL, NULL, (void *) conflict->r_offset);
|
elf_machine_rela (l, conflict, NULL, NULL, (void *) conflict->r_offset);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
@@ -1444,6 +1444,7 @@ cannot allocate TLS data structures for initial thread");
|
|||||||
_dl_printf ("\nprelink checking: %s\n", prelinked ? "ok" : "failed");
|
_dl_printf ("\nprelink checking: %s\n", prelinked ? "ok" : "failed");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if ! ELF_MACHINE_NO_RELA /* We don't REL-only prelink. */
|
||||||
if (prelinked)
|
if (prelinked)
|
||||||
{
|
{
|
||||||
struct link_map *l;
|
struct link_map *l;
|
||||||
@@ -1476,6 +1477,7 @@ cannot allocate TLS data structures for initial thread");
|
|||||||
_dl_sysdep_start_cleanup ();
|
_dl_sysdep_start_cleanup ();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
#endif
|
||||||
{
|
{
|
||||||
/* Now we have all the objects loaded. Relocate them all except for
|
/* Now we have all the objects loaded. Relocate them all except for
|
||||||
the dynamic linker itself. We do this in reverse order so that copy
|
the dynamic linker itself. We do this in reverse order so that copy
|
||||||
|
Reference in New Issue
Block a user