Gold MIPS64 : R_MIPS_HIGHER / R_MIPS_HIGHEST

Smets, Jan (Nokia - BE) jan.smets@nokia.com
Mon Feb 6 19:01:00 GMT 2017


Hi

I'm trying out the gold linker for a medium sized project

Is it possible that these mips relocation types are not supported ?

Given this (crappy) example code :

.globl sysInit
.text
.ent sysInit
sysInit:
.set noreorder
dla $2, sysInit
.set reorder
.end sysInit


$ mips64-linux-gnuabi64-as -mabi=64   /tmp/test.s -o /tmp/test.o
$ mips64-linux-gnuabi64-ld.gold -e sysInit /tmp/test.o -o /tmp/test1.exe 
-mabi=64
mips64-linux-gnuabi64-ld.gold: internal error in get_reference_flags, at 
../../gold/mips.cc:12259

$ mips64-linux-gnuabi64-ld.gold --version
GNU gold (GNU Binutils for Ubuntu 2.27.90.20170114) 1.14
Copyright (C) 2017 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) a later 
version.
This program has absolutely no warranty.

Thanks!

Jan



More information about the Binutils mailing list