]> git.wh0rd.org Git - elf2flt.git/commit
microblaze: properly handle relocations in resolved symbol mode
authorSteve Bennett <steveb@workware.net.au>
Tue, 28 Jan 2020 06:22:08 +0000 (16:22 +1000)
committerSteve Bennett <steveb@workware.net.au>
Wed, 13 May 2020 13:02:39 +0000 (23:02 +1000)
commit8414a352d284c61047a884d27c955e14d608fddd
tree4a4c1db64e52ffb5ec8b09f92c2451a56e3ba094
parent453398f917d167f8c308c8f997270c48ae8f8b12
microblaze: properly handle relocations in resolved symbol mode

The default is now to use -a -p, but microblaze currently has no support
for this.

Add support for the appropriate relocations and ignore
pc-relative and got(r20)-relative relocations.

Also:
- binfmt_flat can't support GOT data-relative relocations, so error out in that case
- Only output relocations debug if the relocation was actually created
- Tidy up the non-resolved symbol mode for microblaze

Signed-off-by: Steve Bennett <steveb@workware.net.au>
elf2flt.c