backends: Add PPC64 machine_flag_check.
authorMark Wielaard <mjw@redhat.com>
Sat, 4 Jan 2014 18:19:16 +0000 (19:19 +0100)
committerMark Wielaard <mjw@redhat.com>
Sat, 4 Jan 2014 18:19:21 +0000 (19:19 +0100)
commit0c4a868fa4c3e2a45663a78cc6d1e31089c3b0dc
treee4fa9c028be6747f4808b6b78c374422617fb907
parent1051a0c8ad8b69725384de20647a982b283701f0
backends: Add PPC64 machine_flag_check.

To distinguish between the current PPC64 ELF ABI and the revised
ELFv2 ABI that will not use function descriptors binutils started
to emit the version (currently 1) in the ehdr e_flags. Recognize
all valid versions (0, 1 or 2) in elflint by adding the hook
ppc64_machine_flag_check.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
backends/ChangeLog
backends/ppc64_init.c
backends/ppc64_symbol.c