[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
port-alpha/51926: The alpha EM_ALPHA and EM_ALPHA_EXP machine type handling seems out-of-date
>Synopsis: The alpha EM_ALPHA and EM_ALPHA_EXP machine type handling seems out-of-date
>Arrival-Date: Sun Jan 29 21:40:00 +0000 2017
>Originator: Guillem Jover
While going over various ELF implementations I noticed that NetBSD considers EM_ALPHA (41), and EM_ALPHA_EXP (0x9026) in reverse to what pretty much every other implementation thinks is the old and the current ID. Those would include at least Linux, FreeBSD, OpenBSD, GNU binutils and LLVM.
The common usage indicates that 0x9026 is the current value for EM_ALPHA, and that 41 is considered the old one.
Even NetBSD considers it so in the code, but not in the macro names or the code comments.
where the code comments and the macro names do not match current conventions.
Main Index |
Thread Index |