]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
2005-02-16 Roland McGrath <roland@redhat.com>
authorRoland McGrath <roland@gnu.org>
Mon, 17 Oct 2005 04:52:21 +0000 (04:52 +0000)
committerRoland McGrath <roland@gnu.org>
Mon, 17 Oct 2005 04:52:21 +0000 (04:52 +0000)
[BZ #721]
* sysdeps/i386/dl-machine.h (ELF_MACHINE_NO_RELA): Define this outside
of [RESOLVE].
* sysdeps/sh/dl-machine.h (ELF_MACHINE_NO_REL): Likewise.

sysdeps/sh/dl-machine.h

index 271666a2a3b730fa03fcc8fe3b2583bc27e0e580..0ef98c41232011bf9913b0e2c9ea47e1ccb18dc5 100644 (file)
@@ -1,6 +1,6 @@
 /* Machine-dependent ELF dynamic relocation inline functions.  SH version.
-   Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004
-   Free Software Foundation, Inc.
+   Copyright (C) 1999,2000,2001,2002,2003,2004,2005
+       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
@@ -512,11 +512,11 @@ elf_machine_plt_value (struct link_map *map, const Elf32_Rela *reloc,
 
 #endif /* !dl_machine_h */
 
-#ifdef RESOLVE
-
 /* SH never uses Elf32_Rel relocations.         */
 #define ELF_MACHINE_NO_REL 1
 
+#ifdef RESOLVE
+
 /* Perform the relocation specified by RELOC and SYM (which is fully resolved).
    MAP is the object containing the reloc.  */