diff options
author | Alan Modra <amodra@gmail.com> | 2005-12-08 11:41:12 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2005-12-08 11:41:12 +0000 |
commit | 0ba079102f920283bc5cd17805c4ea70f01fe378 (patch) | |
tree | f9e295e9e038b2d0c32aefdf5face21c91e06d8b /bfd/elf32-ppc.h | |
parent | 362307121f3de7cbf4646f028d5c7faeafe68c94 (diff) | |
download | gdb-0ba079102f920283bc5cd17805c4ea70f01fe378.zip gdb-0ba079102f920283bc5cd17805c4ea70f01fe378.tar.gz gdb-0ba079102f920283bc5cd17805c4ea70f01fe378.tar.bz2 |
bfd/
* elf32-ppc.c (struct ppc_elf_link_hash_table): Add emit_stub_syms.
(ppc_elf_select_plt_layout): Add emit_stub_syms param, save to htab.
(add_stub_sym): New function.
(allocate_dynrelocs): Call add_stub_sym.
(ppc_elf_size_dynamic_sections): Emit __glink and __glink_PLTresolve
when emit_stub_syms.
* elf32-ppc.h (ppc_elf_select_plt_layout): Update prototype.
ld/
* emultempl/ppc32elf.em (emit_stub_syms): New var.
(ppc_after_open): Pass it to ppc_elf_select_plt_layout.
(PARSE_AND_LIST_PROLOGUE <OPTION_STUBSYMS>): Define.
(PARSE_AND_LIST_LONGOPTS): Add emit-stub-syms.
(PARSE_AND_LIST_OPTIONS): Describe emit-stub-syms.
(PARSE_AND_LIST_OPTIONS): Handle it.
Diffstat (limited to 'bfd/elf32-ppc.h')
-rw-r--r-- | bfd/elf32-ppc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf32-ppc.h b/bfd/elf32-ppc.h index 2bec595..5f8f63a 100644 --- a/bfd/elf32-ppc.h +++ b/bfd/elf32-ppc.h @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ -int ppc_elf_select_plt_layout (bfd *, struct bfd_link_info *, int); +int ppc_elf_select_plt_layout (bfd *, struct bfd_link_info *, int, int); asection *ppc_elf_tls_setup (bfd *, struct bfd_link_info *); bfd_boolean ppc_elf_tls_optimize (bfd *, struct bfd_link_info *); void ppc_elf_set_sdata_syms (bfd *, struct bfd_link_info *); |