* [PATCH] SH: Remove RESOLVE from dl-machine.h
@ 2005-02-08 4:34 Kaz Kojima
2005-02-08 8:28 ` Ulrich Drepper
0 siblings, 1 reply; 2+ messages in thread
From: Kaz Kojima @ 2005-02-08 4:34 UTC (permalink / raw)
To: libc-hacker
Hi,
The appended patch removes RESOLVE from sh/dl-machine.h.
Regards,
kaz
--
2005-02-08 Kaz Kojima <kkojima@rr.iij4u.or.jp>
* sysdeps/sh/dl-machine.h (elf_machine_rela): Remove code using
RESOLVE.
diff -uprN ORIG/libc/sysdeps/sh/dl-machine.h LOCAL/libc/sysdeps/sh/dl-machine.h
--- ORIG/libc/sysdeps/sh/dl-machine.h 2005-01-12 12:35:28.000000000 +0900
+++ LOCAL/libc/sysdeps/sh/dl-machine.h 2005-02-08 12:24:02.000000000 +0900
@@ -323,15 +323,9 @@ elf_machine_rela (struct link_map *map,
else
{
const Elf32_Sym *const refsym = sym;
-#ifndef RTLD_BOOTSTRAP
struct link_map *sym_map = RESOLVE_MAP (&sym, version, r_type);
- value = sym == NULL ? 0 : sym_map->l_addr + sym->st_value;
-#else
-
- value = RESOLVE (&sym, version, r_type);
- value += sym->st_value;
-#endif
+ value = sym_map == NULL ? 0 : sym_map->l_addr + sym->st_value;
value += reloc->r_addend;
switch (r_type)
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] SH: Remove RESOLVE from dl-machine.h
2005-02-08 4:34 [PATCH] SH: Remove RESOLVE from dl-machine.h Kaz Kojima
@ 2005-02-08 8:28 ` Ulrich Drepper
0 siblings, 0 replies; 2+ messages in thread
From: Ulrich Drepper @ 2005-02-08 8:28 UTC (permalink / raw)
To: Kaz Kojima; +Cc: libc-hacker
[-- Attachment #1: Type: text/plain, Size: 109 bytes --]
Applied.
--
⧠Ulrich Drepper ⧠Red Hat, Inc. ⧠444 Castro St ⧠Mountain View, CA â
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 252 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-02-08 8:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-08 4:34 [PATCH] SH: Remove RESOLVE from dl-machine.h Kaz Kojima
2005-02-08 8:28 ` 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).