On 08/05/14 7:39 PM, Tobias Ulmer wrote:
I've invested some time into adding the mips64(el) backend. It gets
quite far (xgcc seems to be fine), but then our ld takes a dump:
/usr/bin/ld: not enough GOT space for local GOT entries
/usr/bin/ld: BFD 2.15 internal error, aborting at /usr/src/gnu/usr.bin/binutils
/bfd/elfxx-mips.c line 6483 in _bfd_mips_elf_relocate_section
/usr/bin/ld: Please report this bug.
Log: http://www.tmux.org/~tobiasu/tmp/gcc48-mips64-build.txt
Others have run into this, and it's possibly fixed in newer binutils,
but I have not been able to make sense of the BFD guts enough to fix ld.
Question is, should I commit this in its current form so others can try
their luck? I'm pretty sure this patch is 95% there.
IMO better than nothing and its a good start. Anyone else that might
want to help out I'm sure would find it useful. Fine with me.
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.