summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2005-10-17 04:52:21 +0000
committerRoland McGrath <roland@gnu.org>2005-10-17 04:52:21 +0000
commitab512971e971a37f6642868e3db830e83573a64c (patch)
tree91984824ca896f9544965fa9094354d0069ebb68
parent8164e5916d9e5ca1b49d0ac0ec3a0438ba602cdc (diff)
2005-02-16 Roland McGrath <roland@redhat.com>
[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.
-rw-r--r--sysdeps/sh/dl-machine.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sysdeps/sh/dl-machine.h b/sysdeps/sh/dl-machine.h
index 271666a2a3..0ef98c4123 100644
--- a/sysdeps/sh/dl-machine.h
+++ b/sysdeps/sh/dl-machine.h
@@ -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. */