This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Gold MIPS64 : R_MIPS_HIGHER / R_MIPS_HIGHEST


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]