summaryrefslogtreecommitdiff
path: root/ldso/include
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-02-20 02:40:15 +0000
committerEric Andersen <andersen@codepoet.org>2004-02-20 02:40:15 +0000
commit5ef557bd1f00d030d21c51d10ea670372ef22a2c (patch)
tree79fceb2cf0ba49588ecb790a8183ac9a6e1fe2f7 /ldso/include
parente6d9378e257d45d41f928292bb48fd3cace4257d (diff)
Slightly cleaner formatting
Diffstat (limited to 'ldso/include')
-rw-r--r--ldso/include/dl-elf.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/ldso/include/dl-elf.h b/ldso/include/dl-elf.h
index b0a475319..c6c33e835 100644
--- a/ldso/include/dl-elf.h
+++ b/ldso/include/dl-elf.h
@@ -99,12 +99,12 @@ extern int _dl_fixup(struct dyn_elf *rpnt, int flag);
not support copy relocations. In this case we define the macro to
zero so that the code for handling them gets automatically optimized
out. */
-#define ELF_RTYPE_CLASS_PLT 1
-#ifndef DL_NO_COPY_RELOCS
-# define ELF_RTYPE_CLASS_COPY 2
+#ifdef DL_NO_COPY_RELOCS
+# define ELF_RTYPE_CLASS_COPY (0x0)
#else
-# define ELF_RTYPE_CLASS_COPY 0
+# define ELF_RTYPE_CLASS_COPY (0x1)
#endif
+#define ELF_RTYPE_CLASS_PLT (0x2)
/* Convert between the Linux flags for page protections and the