Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Jan 2013 07:14:04 +0000 (UTC)
From:      Andrew Turner <andrew@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r245101 - head/gnu/usr.bin/binutils/ld
Message-ID:  <201301060714.r067E4DB045436@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: andrew
Date: Sun Jan  6 07:14:04 2013
New Revision: 245101
URL: http://svnweb.freebsd.org/changeset/base/245101

Log:
  Set the correct relocation type for R_ARM_TARGET2 to R_ARM_GOT_PREL. The
  TARGET2 relocation is unused in the current ABI but this change is
  required for EABI support.

Modified:
  head/gnu/usr.bin/binutils/ld/armelf_fbsd.sh
  head/gnu/usr.bin/binutils/ld/armelfb_fbsd.sh

Modified: head/gnu/usr.bin/binutils/ld/armelf_fbsd.sh
==============================================================================
--- head/gnu/usr.bin/binutils/ld/armelf_fbsd.sh	Sun Jan  6 05:37:26 2013	(r245100)
+++ head/gnu/usr.bin/binutils/ld/armelf_fbsd.sh	Sun Jan  6 07:14:04 2013	(r245101)
@@ -1,6 +1,7 @@
 # $FreeBSD$
 . ${srcdir}/emulparams/armelf.sh
 . ${srcdir}/emulparams/elf_fbsd.sh
+TARGET2_TYPE=got-rel
 MAXPAGESIZE=0x8000
 GENERATE_PIE_SCRIPT=yes
 

Modified: head/gnu/usr.bin/binutils/ld/armelfb_fbsd.sh
==============================================================================
--- head/gnu/usr.bin/binutils/ld/armelfb_fbsd.sh	Sun Jan  6 05:37:26 2013	(r245100)
+++ head/gnu/usr.bin/binutils/ld/armelfb_fbsd.sh	Sun Jan  6 07:14:04 2013	(r245101)
@@ -5,6 +5,7 @@
 #OUTPUT_FORMAT="elf32-bigarm"
 . ${srcdir}/emulparams/armelf.sh
 . ${srcdir}/emulparams/elf_fbsd.sh
+TARGET2_TYPE=got-rel
 MAXPAGESIZE=0x8000
 GENERATE_PIE_SCRIPT=yes
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201301060714.r067E4DB045436>