aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@linux-mips.org>2012-11-08 18:25:23 +0000
committerMaciej W. Rozycki <macro@linux-mips.org>2012-11-08 18:25:23 +0000
commitc266cd02906e7e066645c4314bca670fabe5be90 (patch)
treee93a8b248eda6d5e5b5a4c30f2cd16eebef5380a
parent5821951ca6721283d125491fa1c56322f086ea94 (diff)
downloadgdb-c266cd02906e7e066645c4314bca670fabe5be90.zip
gdb-c266cd02906e7e066645c4314bca670fabe5be90.tar.gz
gdb-c266cd02906e7e066645c4314bca670fabe5be90.tar.bz2
* mips.h (EF_MIPS_32BITMODE): Move next to lower-order bits.
-rw-r--r--include/elf/ChangeLog4
-rw-r--r--include/elf/mips.h8
2 files changed, 8 insertions, 4 deletions
diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog
index f03cd73..2944bb9 100644
--- a/include/elf/ChangeLog
+++ b/include/elf/ChangeLog
@@ -1,3 +1,7 @@
+2012-11-08 Maciej W. Rozycki <macro@codesourcery.com>
+
+ * mips.h (EF_MIPS_32BITMODE): Move next to lower-order bits.
+
2012-11-01 Tom Tromey <tromey@redhat.com>
* common.h (NT_386_TLS, NT_386_IOPERM): New defines.
diff --git a/include/elf/mips.h b/include/elf/mips.h
index c2c5922..c2f362e 100644
--- a/include/elf/mips.h
+++ b/include/elf/mips.h
@@ -187,6 +187,10 @@ END_RELOC_NUMBERS (R_MIPS_maxext)
/* Process the .MIPS.options section first by ld */
#define EF_MIPS_OPTIONS_FIRST 0x00000080
+/* Indicates code compiled for a 64-bit machine in 32-bit mode
+ (regs are 32-bits wide). */
+#define EF_MIPS_32BITMODE 0x00000100
+
/* Architectural Extensions used by this file */
#define EF_MIPS_ARCH_ASE 0x0f000000
@@ -199,10 +203,6 @@ END_RELOC_NUMBERS (R_MIPS_maxext)
/* Use MICROMIPS ISA extensions. */
#define EF_MIPS_ARCH_ASE_MICROMIPS 0x02000000
-/* Indicates code compiled for a 64-bit machine in 32-bit mode.
- (regs are 32-bits wide.) */
-#define EF_MIPS_32BITMODE 0x00000100
-
/* Four bit MIPS architecture field. */
#define EF_MIPS_ARCH 0xf0000000