This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Gold MIPS64 : R_MIPS_HIGHER / R_MIPS_HIGHEST
- From: "Smets, Jan (Nokia - BE)" <jan dot smets at nokia dot com>
- To: <binutils at sourceware dot org>
- Date: Mon, 6 Feb 2017 20:01:19 +0100
- Subject: Gold MIPS64 : R_MIPS_HIGHER / R_MIPS_HIGHEST
- Authentication-results: sourceware.org; auth=none
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