public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Nick Clifton <nickc@redhat.com>
To: Adam Nemet <anemet@Lnxw.COM>
Cc: Richard.Earnshaw@arm.com, binutils@sources.redhat.com
Subject: Re: [PATCH, arm] Support for Thumb PLT entries with interwork
Date: Wed, 31 Jul 2002 05:34:00 -0000	[thread overview]
Message-ID: <m3fzy085l2.fsf@north-pole.nickc.cambridge.redhat.com> (raw)
In-Reply-To: <hcadoidg07.fsf@anemet1.lynx.com>

Hi Adam,

> bfd/ChangeLog:
> 2002-07-23  Adam Nemet  <anemet@lnxw.com>
> 
> 	* elf32-arm.h (ARM_PLT_ENTRY_SIZE): Rename PLT_ENTRY_SIZE.
> 	(THUMB_PLT_ENTRY_SIZE): New macro.
> 	(PLT_ENTRY_SIZE): Return the appropriate *_PLT_ENTRY_SIZE.
> 	(elf32_arm_plt0_entry): Rename PLT_ENTRY_SIZE to
> 	ARM_PLT_ENTRY_SIZE.
> 	(elf32_arm_plt_entry): Likewise.
> 	(elf_backend_plt_header_size): Likewise.
> 
> 	(elf32_thumb_plt0_entry): New global.
> 	(elf32_arm_finish_dynamic_sections): Use it.  Put Thumb entries
> 	into .plt.thumb.
> 	(elf32_thumb_plt_entry): New global.
> 	(elf32_arm_finish_dynamic_symbol): Use it.  Use .thumb.plt for
> 	Thumb entries.  Set the bottom bit of the corresponding GOT entry
> 	for a Thumb PLT entry.
> 
> 	(struct elf32_arm_plt_entry_info): New structure.
> 	(struct elf32_arm_link_hash_entry, plt_info): New member of this
> 	type.
> 	(elf32_arm_link_hash_newfunc): Initialize new member.
> 
> 	(elf32_arm_final_link_relocate, R_ARM_THM_PC22 case): Handle
> 	relocations against the PLT.
> 	(elf32_arm_check_relocs, case R_ARM_PLT32 case): Set
> 	first_rel_type if this is the first time we encounter the symbol.
> 	(elf32_arm_check_relocs, case R_ARM_THM_PC22 case): New case.
> 	Determine if relocation needs a PLT entry.  Set first_rel_type if
> 	this is the first time we encounter the symbol
> 	(elf32_arm_adjust_dynamic_symbol): Create PLT entries for Thumb
> 	functions as well.
> 	(elf32_arm_size_dynamic_sections): Handle .plt.thumb like .plt.
> 
> 	(elf32_arm_create_dynamic_sections): New function.  Create the
> 	.plt.thumb section.
> 	(elf_backend_create_dynamic_sections): Call it.
> 
> ld/ChangeLog:
> 2002-07-23  Adam Nemet  <anemet@lnxw.com>
> 
> 	* emulparams/armelf.sh (OTHER_PLT_SECTIONS): New variable.  Set it
> 	to .plt.thumb.
> 	* scripttempl/elf.sc: Comment it.  Use the same way as ${PLT} is
> 	used.

Approved and applied.

Cheers
        Nick

PS. Sorry about the delay...

  reply	other threads:[~2002-07-31 12:05 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-17 18:14 [PATCH, arm] Thumb shared library support: Thumb PLT, etc Adam Nemet
2002-07-18  4:11 ` Richard Earnshaw
2002-07-18 12:00   ` Adam Nemet
2002-07-19  9:06     ` Richard Earnshaw
2002-07-20 11:36       ` Adam Nemet
2002-07-23  1:23       ` [PATCH, arm] Support for Thumb PLT entries with interwork Adam Nemet
2002-07-31  5:34         ` Nick Clifton [this message]
2002-07-31  5:51           ` Richard Earnshaw
2002-07-31  7:24             ` Nick Clifton
     [not found] <hcvg6v5ald.fsf@anemet1.lynx.com>
2002-08-01  1:55 ` Richard Earnshaw
2002-08-01  7:04   ` Nick Clifton

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=m3fzy085l2.fsf@north-pole.nickc.cambridge.redhat.com \
    --to=nickc@redhat.com \
    --cc=Richard.Earnshaw@arm.com \
    --cc=anemet@Lnxw.COM \
    --cc=binutils@sources.redhat.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).