On Wed, Oct 24, 2012 at 10:09:51AM +0300, Stefan Kristiansson wrote: > This is the set of patches that adds support for PIC to binutils. > There will probably be follow-up changes, but this should be pretty > close to the "final deal". > I intend to push those to github.com/openrisc/or1k-src, > but before I do that I'd like to give people a chance to take a look > at it and comment on it. > > NOTE: This is not completely compatible with non-delay slot targets yet. > More specifically the PLT entries needs special handling for non-delay > targets, > the reason why they are not done in "compat-mode" is that it would require > one additional instruction space in the PLT entry and I felt that wasn't > a price worth paying. > > Stefan Kristiansson (6): > or1k: ld: Add elf32or1k_linux emulparams > or1k: Add PIC relocs to include/elf/or1k.h > or1k: bfd: Add PIC support > or1k: gas: Add PIC support. > or1k: cpu: Add PIC assembly keyword parsing. > or1k: Regenerate opcodes. > > bfd/ChangeLog.or1k | 45 + > bfd/bfd-in2.h | 10 + > bfd/elf-bfd.h | 1 + > bfd/elf32-or1k.c | 1832 > +++++++++++++++++++++++++++++++++++++- > bfd/reloc.c | 20 + > cpu/ChangeLog.or1k | 6 + > cpu/or1k.opc | 115 +++ > cpu/or1korbis.cpu | 10 +- > gas/ChangeLog.or1k | 7 + > gas/config/tc-or1k.c | 25 + > gas/config/tc-or1k.h | 2 - > include/ChangeLog.or1k | 7 + > include/elf/or1k.h | 10 + > ld/ChangeLog.or1k | 8 + > ld/Makefile.am | 4 + > ld/Makefile.in | 5 + > ld/configure.tgt | 2 +- > ld/emulparams/elf32or1k_linux.sh | 4 + > opcodes/ChangeLog.or1k | 6 + > opcodes/or1k-asm.c | 117 ++- > opcodes/or1k-desc.c | 8 +- > opcodes/or1k-desc.h | 4 +- > 22 files changed, 2232 insertions(+), 16 deletions(-) > create mode 100644 ld/emulparams/elf32or1k_linux.sh > > -- > 1.7.9.5 >
I've pushed those to github.com/openrisc/or1k-src now. Stefan _______________________________________________ OpenRISC mailing list [email protected] http://lists.openrisc.net/listinfo/openrisc
