diff options
author | Nick Clifton <nickc@redhat.com> | 2000-12-02 00:35:38 +0300 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2000-12-02 00:35:38 +0300 |
commit | 388732e7f6a9b690cf03ec1f1b6fe286c8dd4ecf (patch) | |
tree | 9d2b7b759b0752e04005333779ae692f3defb1f7 /include/elf | |
parent | 2a91907cc0ca92840dbe64a992013f2285c89c45 (diff) |
Add MIPS32 as a seperate MIPS architecture
Diffstat (limited to 'include/elf')
-rw-r--r-- | include/elf/ChangeLog | 6 | ||||
-rw-r--r-- | include/elf/mips.h | 7 |
2 files changed, 10 insertions, 3 deletions
diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog index aa2d4e018..a1ef8852a 100644 --- a/include/elf/ChangeLog +++ b/include/elf/ChangeLog @@ -1,3 +1,9 @@ +2000-10-16 Chris Demetriou <cgd@sibyte.com> + + * mips.h (E_MIPS_ARCH_32): New constant. + (E_MIPS_MACH_MIPS32, E_MIPS_MACH_MIPS32_4K): Replace the + former with the latter. + 2000-11-30 Jan Hubicka <jh@suse.cz> * common.h (EM_X86_64): New macro. diff --git a/include/elf/mips.h b/include/elf/mips.h index 18185e7df..41f52cd04 100644 --- a/include/elf/mips.h +++ b/include/elf/mips.h @@ -121,6 +121,9 @@ END_RELOC_NUMBERS (R_MIPS_maxext) /* -mips4 code. */ #define E_MIPS_ARCH_4 0x30000000 +/* -mips32 code. */ +#define E_MIPS_ARCH_32 0x50000000 + /* The ABI of the file. Also see EF_MIPS_ABI2 above. */ #define EF_MIPS_ABI 0x0000F000 @@ -153,9 +156,7 @@ END_RELOC_NUMBERS (R_MIPS_maxext) #define E_MIPS_MACH_4100 0x00830000 #define E_MIPS_MACH_4650 0x00850000 #define E_MIPS_MACH_4111 0x00880000 -/* -mips32 code. - It is easier to treat MIPS32 as a machine rather than an architecture. */ -#define E_MIPS_MACH_MIPS32 0x00890000 +#define E_MIPS_MACH_MIPS32_4K 0x00890000 /* Processor specific section indices. These sections do not actually exist. Symbols with a st_shndx field corresponding to one of these |