Changeset 8dee117a5679f5c068c6e68d7d0306bf9570611f
- Timestamp:
- 06/22/2008 05:19:51 PM (5 months ago)
- Author:
- David Leverton <levertond@…>
- Parents:
- 4b9709ae72d646fcb19231bcabe46187701e976b
- Children:
- 4d290362c1367806e3bbbff74fb12f1a8956f281
- git-committer:
- David Leverton <levertond@googlemail.com> / 2008-06-22T22:19:51Z+0100
- Message:
-
FreeBSD doesn't define EF_MIPS_ABI2
- Files:
-
Legend:
- Unmodified
- Added
- Removed
-
|
r118de55
|
r8dee117a
|
|
| 52 | 52 | { |
| 53 | 53 | // not in elf.h; from glibc-2.5/sysdeps/s390/s390-32/dl-machine.h |
| 54 | | static const unsigned EM_S390_OLD = 0xA390; |
| | 54 | static const unsigned S390_OLD = 0xA390; |
| | 55 | // not in FreeBSD elf.h |
| | 56 | static const unsigned MIPS_ABI2 = 32; |
| 55 | 57 | |
| 56 | 58 | unsigned _machine; |
| … |
… |
|
| 66 | 68 | case EM_MIPS_RS3_LE: |
| 67 | 69 | return EM_MIPS; |
| 68 | | case EM_S390_OLD: |
| | 70 | case S390_OLD: |
| 69 | 71 | return EM_S390; |
| 70 | 72 | } |
| … |
… |
|
| 79 | 81 | _os_abi_version(elf.get_os_abi_version()), |
| 80 | 82 | _bigendian(elf.is_big_endian()), |
| 81 | | _mips_n32(EM_MIPS == _machine && EF_MIPS_ABI2 & elf.get_flags()) |
| | 83 | _mips_n32(EM_MIPS == _machine && MIPS_ABI2 & elf.get_flags()) |
| 82 | 84 | { |
| 83 | 85 | } |