aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2000-04-03 11:29:28 +0000
committerHans-Peter Nilsson <hp@axis.com>2000-04-03 11:29:28 +0000
commit1ce6d55a69f34e933bc3365c85d0639a53ec9a2a (patch)
tree048b18491069671fae35d7818d7e3f2a8276dc07 /include
parent726c5dcddf8bf027a3f625ac931037e36725e745 (diff)
downloadgdb-1ce6d55a69f34e933bc3365c85d0639a53ec9a2a.zip
gdb-1ce6d55a69f34e933bc3365c85d0639a53ec9a2a.tar.gz
gdb-1ce6d55a69f34e933bc3365c85d0639a53ec9a2a.tar.bz2
* aout64.h (RELOC_EXT_BITS_EXTERN_BIG): Wrap definition in #ifndef.
(RELOC_EXT_BITS_EXTERN_LITTLE): Ditto. (RELOC_EXT_BITS_TYPE_BIG): Ditto. (RELOC_EXT_BITS_TYPE_SH_BIG): Ditto. (RELOC_EXT_BITS_TYPE_LITTLE): Ditto. (RELOC_EXT_BITS_TYPE_SH_LITTLE): Ditto.
Diffstat (limited to 'include')
-rw-r--r--include/aout/ChangeLog9
-rw-r--r--include/aout/aout64.h16
2 files changed, 25 insertions, 0 deletions
diff --git a/include/aout/ChangeLog b/include/aout/ChangeLog
index 63f17ec..1645a5a 100644
--- a/include/aout/ChangeLog
+++ b/include/aout/ChangeLog
@@ -1,3 +1,12 @@
+Mon Apr 3 13:29:08 2000 Hans-Peter Nilsson <hp@axis.com>
+
+ * aout64.h (RELOC_EXT_BITS_EXTERN_BIG): Wrap definition in #ifndef.
+ (RELOC_EXT_BITS_EXTERN_LITTLE): Ditto.
+ (RELOC_EXT_BITS_TYPE_BIG): Ditto.
+ (RELOC_EXT_BITS_TYPE_SH_BIG): Ditto.
+ (RELOC_EXT_BITS_TYPE_LITTLE): Ditto.
+ (RELOC_EXT_BITS_TYPE_SH_LITTLE): Ditto.
+
1999-07-12 Ian Lance Taylor <ian@zembu.com>
* aout64.h (N_SHARED_LIB): Define as 0 if TEXT_START_ADDR is
diff --git a/include/aout/aout64.h b/include/aout/aout64.h
index bf743c4..bec8440 100644
--- a/include/aout/aout64.h
+++ b/include/aout/aout64.h
@@ -388,13 +388,29 @@ struct reloc_ext_external {
bfd_byte r_addend[BYTES_IN_WORD]; /* datum addend */
};
+#ifndef RELOC_EXT_BITS_EXTERN_BIG
#define RELOC_EXT_BITS_EXTERN_BIG ((unsigned int) 0x80)
+#endif
+
+#ifndef RELOC_EXT_BITS_EXTERN_LITTLE
#define RELOC_EXT_BITS_EXTERN_LITTLE ((unsigned int) 0x01)
+#endif
+#ifndef RELOC_EXT_BITS_TYPE_BIG
#define RELOC_EXT_BITS_TYPE_BIG ((unsigned int) 0x1F)
+#endif
+
+#ifndef RELOC_EXT_BITS_TYPE_SH_BIG
#define RELOC_EXT_BITS_TYPE_SH_BIG 0
+#endif
+
+#ifndef RELOC_EXT_BITS_TYPE_LITTLE
#define RELOC_EXT_BITS_TYPE_LITTLE ((unsigned int) 0xF8)
+#endif
+
+#ifndef RELOC_EXT_BITS_TYPE_SH_LITTLE
#define RELOC_EXT_BITS_TYPE_SH_LITTLE 3
+#endif
/* Bytes per relocation entry */
#define RELOC_EXT_SIZE (BYTES_IN_WORD + 3 + 1 + BYTES_IN_WORD)