public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Thiemo Seufer <ths@networkno.de>
To: binutils@sourceware.org, richard@codesourcery.com
Subject: Re: Fix DT_TEXTREL handling for MIPS VxWorks
Date: Thu, 12 Apr 2007 19:03:00 -0000	[thread overview]
Message-ID: <20070412181443.GC31609@networkno.de> (raw)
In-Reply-To: <87r6qptu32.fsf@firetop.home>

Richard Sandiford wrote:
> Last year's MIPS DT_TEXTREL fix means that VxWorks executables with
> text relocations against __GOTT_BASE__ or __GOTT_INDEX__ (and nothing
> else) no longer get a DT_TEXTREL tag.  This patch adds the same sort
> of DT_TEXTREL checks to the code that handles these relocations.
> 
> Tested on mips-wrs-vxworks.  OK to install?
> 
> Richard
> 
> 
> bfd/
> 	* elfxx-mips.c (mips_elf_calculate_relocation): Set DT_TEXTREL
> 	when creating a __GOTT_BASE__ or __GOTT_INDEX__ relocation
> 	in a read-only section.
> 	(_bfd_mips_elf_check_relocs): Likewise.
> 
> ld/testsuite/
> 	* ld-mips-elf/vxworks1-lib.td: New test.
> 	* ld-mips-elf/mips-elf.exp: Run it.

Ok.


Thiemo

      reply	other threads:[~2007-04-12 18:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-12 16:56 Richard Sandiford
2007-04-12 19:03 ` Thiemo Seufer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070412181443.GC31609@networkno.de \
    --to=ths@networkno.de \
    --cc=binutils@sourceware.org \
    --cc=richard@codesourcery.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).