1999-05-03 15:29:11 +08:00
|
|
|
# SOME DESCRIPTIVE TITLE.
|
2003-07-14 19:18:13 +08:00
|
|
|
# Copyright (C) YEAR Free Software Foundation, Inc.
|
1999-05-03 15:29:11 +08:00
|
|
|
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
|
|
|
#
|
|
|
|
#, fuzzy
|
|
|
|
msgid ""
|
|
|
|
msgstr ""
|
|
|
|
"Project-Id-Version: PACKAGE VERSION\n"
|
2003-07-17 22:22:45 +08:00
|
|
|
"POT-Creation-Date: 2003-07-17 14:52+0100\n"
|
1999-05-03 15:29:11 +08:00
|
|
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
|
|
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
|
|
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
|
|
|
"MIME-Version: 1.0\n"
|
|
|
|
"Content-Type: text/plain; charset=CHARSET\n"
|
2002-01-17 22:12:08 +08:00
|
|
|
"Content-Transfer-Encoding: 8bit\n"
|
1999-05-03 15:29:11 +08:00
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: aout-adobe.c:204
|
1999-05-03 15:29:11 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "%s: Unknown section type in a.out.adobe file: %x\n"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: aout-cris.c:207
|
2000-07-21 00:21:07 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "%s: Invalid relocation type exported: %d"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: aout-cris.c:251
|
2000-07-21 00:21:07 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "%s: Invalid relocation type imported: %d"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: aout-cris.c:262
|
2000-07-21 00:21:07 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "%s: Bad relocation record imported: %d"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: aoutx.h:1295 aoutx.h:1716
|
1999-05-03 15:29:11 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "%s: can not represent section `%s' in a.out object file format"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: aoutx.h:1682
|
1999-05-03 15:29:11 +08:00
|
|
|
#, c-format
|
|
|
|
msgid ""
|
|
|
|
"%s: can not represent section for symbol `%s' in a.out object file format"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: aoutx.h:1684
|
1999-05-03 15:29:11 +08:00
|
|
|
msgid "*unknown*"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: aoutx.h:3776
|
1999-05-03 15:29:11 +08:00
|
|
|
#, c-format
|
2003-07-11 13:10:21 +08:00
|
|
|
msgid "%s: relocatable link from %s to %s not supported"
|
1999-05-03 15:29:11 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: archive.c:1751
|
1999-05-03 15:29:11 +08:00
|
|
|
msgid "Warning: writing archive was slow: rewriting timestamp\n"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: archive.c:2014
|
1999-05-03 15:29:11 +08:00
|
|
|
msgid "Reading archive file mod timestamp"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: archive.c:2040
|
1999-05-03 15:29:11 +08:00
|
|
|
msgid "Writing updated armap timestamp"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: bfd.c:280
|
1999-05-03 15:29:11 +08:00
|
|
|
msgid "No error"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: bfd.c:281
|
1999-05-03 15:29:11 +08:00
|
|
|
msgid "System call error"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: bfd.c:282
|
1999-05-03 15:29:11 +08:00
|
|
|
msgid "Invalid bfd target"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: bfd.c:283
|
1999-05-03 15:29:11 +08:00
|
|
|
msgid "File in wrong format"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: bfd.c:284
|
2001-10-30 23:20:14 +08:00
|
|
|
msgid "Archive object file in wrong format"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: bfd.c:285
|
1999-05-03 15:29:11 +08:00
|
|
|
msgid "Invalid operation"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: bfd.c:286
|
1999-05-03 15:29:11 +08:00
|
|
|
msgid "Memory exhausted"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: bfd.c:287
|
1999-05-03 15:29:11 +08:00
|
|
|
msgid "No symbols"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: bfd.c:288
|
1999-05-03 15:29:11 +08:00
|
|
|
msgid "Archive has no index; run ranlib to add one"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: bfd.c:289
|
1999-05-03 15:29:11 +08:00
|
|
|
msgid "No more archived files"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: bfd.c:290
|
1999-05-03 15:29:11 +08:00
|
|
|
msgid "Malformed archive"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: bfd.c:291
|
1999-05-03 15:29:11 +08:00
|
|
|
msgid "File format not recognized"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: bfd.c:292
|
1999-05-03 15:29:11 +08:00
|
|
|
msgid "File format is ambiguous"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: bfd.c:293
|
1999-05-03 15:29:11 +08:00
|
|
|
msgid "Section has no contents"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: bfd.c:294
|
1999-05-03 15:29:11 +08:00
|
|
|
msgid "Nonrepresentable section on output"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: bfd.c:295
|
1999-05-03 15:29:11 +08:00
|
|
|
msgid "Symbol needs debug section which does not exist"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: bfd.c:296
|
1999-05-03 15:29:11 +08:00
|
|
|
msgid "Bad value"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: bfd.c:297
|
1999-05-03 15:29:11 +08:00
|
|
|
msgid "File truncated"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: bfd.c:298
|
1999-05-03 15:29:11 +08:00
|
|
|
msgid "File too big"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: bfd.c:299
|
1999-05-03 15:29:11 +08:00
|
|
|
msgid "#<Invalid error code>"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: bfd.c:687
|
1999-05-03 15:29:11 +08:00
|
|
|
#, c-format
|
2001-10-30 23:20:14 +08:00
|
|
|
msgid "BFD %s assertion fail %s:%d"
|
1999-05-03 15:29:11 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: bfd.c:703
|
2000-02-28 00:55:52 +08:00
|
|
|
#, c-format
|
2001-10-30 23:20:14 +08:00
|
|
|
msgid "BFD %s internal error, aborting at %s line %d in %s\n"
|
2000-02-28 00:55:52 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: bfd.c:707
|
2000-02-28 00:55:52 +08:00
|
|
|
#, c-format
|
2002-02-01 01:33:08 +08:00
|
|
|
msgid "BFD %s internal error, aborting at %s line %d\n"
|
2000-02-28 00:55:52 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: bfd.c:709
|
2000-02-28 00:55:52 +08:00
|
|
|
msgid "Please report this bug.\n"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: bfdwin.c:202
|
2003-06-04 00:24:06 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "not mapping: data=%lx mapped=%d\n"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: bfdwin.c:205
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid "not mapping: env var not set\n"
|
|
|
|
msgstr ""
|
|
|
|
|
2002-01-17 22:12:08 +08:00
|
|
|
#: binary.c:306
|
1999-05-03 15:29:11 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "Warning: Writing section `%s' to huge (ie negative) file offset 0x%lx."
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-14 19:18:13 +08:00
|
|
|
#: coff-rs6000.c:3616 coff64-rs6000.c:2109
|
|
|
|
#, c-format
|
|
|
|
msgid "%s: symbol `%s' has unrecognized smclas %d"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: coff-a29k.c:120
|
1999-05-03 15:29:11 +08:00
|
|
|
msgid "Missing IHCONST"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: coff-a29k.c:181
|
1999-05-03 15:29:11 +08:00
|
|
|
msgid "Missing IHIHALF"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: coff-a29k.c:213 coff-or32.c:236
|
1999-05-03 15:29:11 +08:00
|
|
|
msgid "Unrecognized reloc"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: coff-a29k.c:409
|
1999-05-03 15:29:11 +08:00
|
|
|
msgid "missing IHCONST reloc"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: coff-a29k.c:499
|
1999-05-03 15:29:11 +08:00
|
|
|
msgid "missing IHIHALF reloc"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: coff-alpha.c:884 coff-alpha.c:921 coff-alpha.c:1992 coff-mips.c:1397
|
1999-05-03 15:29:11 +08:00
|
|
|
msgid "GP relative relocation used when GP not defined"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: coff-alpha.c:1488
|
1999-05-03 15:29:11 +08:00
|
|
|
msgid "using multiple gp values"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: coff-arm.c:1066 elf32-arm.h:294
|
1999-05-03 15:29:11 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "%s: unable to find THUMB glue '%s' for `%s'"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: coff-arm.c:1096 elf32-arm.h:329
|
1999-05-03 15:29:11 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "%s: unable to find ARM glue '%s' for `%s'"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: coff-arm.c:1394 coff-arm.c:1489 elf32-arm.h:892 elf32-arm.h:999
|
1999-05-03 15:29:11 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "%s(%s): warning: interworking not enabled."
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: coff-arm.c:1398 elf32-arm.h:1002
|
1999-05-03 15:29:11 +08:00
|
|
|
#, c-format
|
|
|
|
msgid " first occurrence: %s: arm call to thumb"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: coff-arm.c:1493 elf32-arm.h:895
|
1999-05-03 15:29:11 +08:00
|
|
|
#, c-format
|
|
|
|
msgid " first occurrence: %s: thumb call to arm"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: coff-arm.c:1496
|
1999-05-03 15:29:11 +08:00
|
|
|
msgid " consider relinking with --support-old-code enabled"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: coff-arm.c:1788 coff-tic80.c:687 cofflink.c:3038
|
1999-05-03 15:29:11 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "%s: bad reloc address 0x%lx in section `%s'"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: coff-arm.c:2132
|
2000-02-28 00:55:52 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "%s: illegal symbol index in reloc: %d"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: coff-arm.c:2265
|
1999-05-03 15:29:11 +08:00
|
|
|
#, c-format
|
Contribute sh64-elf.
2002-01-23 Alexandre Oliva <aoliva@redhat.com>
* reloc.c (R_SH_GOTPLT32, R_SH_GOT_LOW16, R_SH_GOT_MEDLOW16,
R_SH_GOT_MEDHI16, R_SH_GOT_HI16, R_SH_GOTPLT_LOW16,
R_SH_GOTPLT_MEDLOW16, R_SH_GOTPLT_MEDHI16, R_SH_GOTPLT_HI16,
R_SH_PLT_LOW16, R_SH_PLT_MEDLOW16, R_SH_PLT_MEDHI16,
R_SH_PLT_HI16, R_SH_GOTOFF_LOW16, R_SH_GOTOFF_MEDLOW16,
R_SH_GOTOFF_MEDHI16, R_SH_GOTOFF_HI16, R_SH_GOTPC_LOW16,
R_SH_GOTPC_MEDLOW16, R_SH_GOTPC_MEDHI16, R_SH_GOTPC_HI16,
R_SH_GOT10BY4, R_SH_GOTPLT10BY4, R_SH_GOT10BY8, R_SH_GOTPLT10BY8,
R_SH_COPY64, R_SH_GLOB_DAT64, R_SH_JMP_SLOT64, R_SH_RELATIVE64):
New relocs.
* libbfd.h, bfd-in2.h: Rebuilt.
* elf32-sh.c (sh_elf_howto_table): Define new relocs.
(sh_reloc_map): Map them.
(PLT_ENTRY_SIZE, elf_sh_plt0_entry_be, elf_sh_plt0_entry_le,
elf_sh_plt_entry_be, elf_sh_plt_entry_le, elf_sh_pic_plt_entry_be,
elf_sh_pic_plt_entry_le, elf_sh_plt0_entry, elf_sh_plt_entry,
elf_sh_pic_plt_entry, elf_sh_sizeof_plt, elf_sh_plt_plt0_offset,
elf_sh_plt0_gotplt_offset, elf_sh_plt_temp_offset,
elf_sh_plt_symbol_offset, elf_sh_plt_reloc_offset,
movi_shori_putval) [INCLUDE_SHMEDIA]: New.
(elf_sh_link_hash_entry) [INCLUDE_SHMEDIA]: Add
datalabel_got_offset.
(sh_elf_link_hash_newfunc): Initialize it.
(sh_elf_relocate_section): Augment the scope of
seen_stt_datalabel. Introduce GOTPLT support. Extend GOTPC, PLT,
GOT and GOTOFF handling to new SHmedia relocation types. Support
GOT_BIAS.
(sh_elf_check_relocs): Likewise.
(sh_elf_finish_dynamic_symbol) [TARGET_SHMEDIA]: Set up values in
PLT entries using movi_shori_putval. Support GOT_BIAS.
(sh_elf_finish_dynamic_sections): Likewise.
* elf32-sh64.c (shmedia_prepare_reloc): Do not add addend to
relocation, it's now done by the caller.
(GOT_BIAS): New.
* elf64-sh64.c (GOT_BIAS, PLT_ENTRY_SIZE, elf_sh64_sizeof_plt,
elf_sh64_plt_plt0_offset, elf_sh64_plt0_gotplt_offset,
elf_sh64_plt_temp_offset, elf_sh64_plt_symbol_offset,
elf_sh64_plt_reloc_offset, ELF_DYNAMIC_INTERPRETER,
elf_sh64_pcrel_relocs_copied, elf_sh64_link_hash_entry,
elf_sh64_link_hash_table, sh64_elf64_link_hash_traverse,
sh64_elf64_hash_table): New.
(sh_elf64_howto_table): Introduce new relocs.
(sh_elf64_info_to_howto): Accept new PIC relocs.
(sh_elf64_relocate_section): Augment the scope of
seen_stt_datalabel. Support new PIC relocs.
(sh_elf64_check_relocs): Support new PIC relocs.
(elf_sh64_plt0_entry_be, elf_sh64_plt0_entry_le,
elf_sh64_plt_entry_be, elf_sh64_plt_entry_le,
elf_sh64_pic_plt_entry_be, elf_sh64_pic_plt_entry_le,
elf_sh64_plt0_entry, elf_sh64_plt_entry, elf_sh64_pic_plt_entry,
sh64_elf64_link_hash_newfunc, sh64_elf64_link_hash_table_create,
movi_shori_putval, movi_3shori_putval,
sh64_elf64_create_dynamic_sections,
sh64_elf64_adjust_dynamic_symbol, sh64_elf64_discard_copies,
sh64_elf64_size_dynamic_sections,
sh64_elf64_finish_dynamic_symbol,
sh64_elf64_finish_dynamic_sections): New.
(elf_backend_create_dynamic-sections,
bfd_elf64_bfd_link_hash_table_create,
elf_backend_adjust_dynamic_symbol,
elf_backend_size_dynamic_sections,
elf_backend_finish_dynamic_symbol,
elf_backend_finish_dynamic_sections, elf_backend_want_got_plt,
elf_backend_plt_readonly, elf_backend_want_plt_sym,
elf_backend_got_header_size, elf_backend_plt_header_size):
Define.
2001-05-16 Alexandre Oliva <aoliva@redhat.com>
* elf32-sh.c: Renumbered and renamed some SH5 relocations to
match official numbers and names; moved unmaching ones to the
range 0xf2-0xff.
* elf32-sh64.c, elf64-sh64.c: Likewise.
2001-03-12 DJ Delorie <dj@redhat.com>
* elf32-sh.c (sh_elf_relax_section): Don't relax SHmedia
sections.
2001-03-12 DJ Delorie <dj@redhat.com>
* elf32-sh64.c (shmedia_prepare_reloc): Validate relocs that must
be aligned.
* elf64-sh64.c (sh_elf64_relocate_section): Ditto.
2001-01-14 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh64.c (bfd_elf32_bfd_copy_private_section_data): Define.
(sh64_elf_fake_sections): Set type to SHT_SH5_CR_SORTED for a
.cranges section with SEC_SORT_ENTRIES set.
(sh64_backend_section_from_shdr): Set SEC_SORT_ENTRIES on an
incoming sorted .cranges section.
(sh64_bfd_elf_copy_private_section_data): New.
(sh64_elf_final_write_processing): Only sort .cranges and modify
start address if called by linker.
2001-01-08 Ben Elliston <bje@redhat.com>
* elf32-sh64.c (sh64_elf_final_write_processing): Activate
Hans-Peter Nilsson's set bit 0 patch from 2001-01-06.
* elf64-sh64.c (sh64_elf64_final_write_processing): Ditto.
2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com>
* elf64-sh64.c (sh_elf64_howto_table): No open brace at start of
line. Add comments before all entries.
<R_SH_PT_16, R_SH_SHMEDIA_CODE>: Correct and clarify describing
comment.
(sh_elf64_reloc): Correct head comment.
(sh_elf64_relocate_section): Correct spacing.
<relocating for a local symbol>: Do not honour STO_SH5_ISA32;
instead call reloc_dangerous callback.
<case R_SH_SHMEDIA_CODE>: New case.
(sh_elf64_gc_mark_hook): Correct spacing.
(sh_elf64_check_relocs): Ditto.
* elf32-sh64.c (shmedia_prepare_reloc) <case R_SH_SHMEDIA_CODE>:
New case.
* elf32-sh.c: Correct #endif comments for #ifndef-wrapped
functions.
(sh_elf_howto_table) <R_SH_PT_16, R_SH_SHMEDIA_CODE>: Correct,
clarify describing comment. Add comments before all entries.
(sh_elf_relocate_section) <relocating for a local symbol>: Do not
honour STO_SH5_ISA32; instead call reloc_dangerous callback.
2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com>
Sort .cranges section in final link. Prepare to set bit 0 on
entry address.
* elf32-sh64.c (struct sh64_find_section_vma_data): New.
(sh64_elf_link_output_symbol_hook): Fix typo in prototype.
(sh64_elf_set_mach_from_flags): Set SEC_DEBUGGING on incoming
.cranges section.
(sh64_backend_section_from_shdr): New, to recognize
SHT_SH5_CR_SORTED on incoming .cranges section.
(elf_backend_section_from_shdr): Define.
(sh64_elf_final_write_processing): Sort outgoing .cranges
section. (New, temporarily disabled:) Set bit 0 on entry address
according to ISA type.
(sh64_find_section_for_address): New.
(crange_qsort_cmpb, crange_qsort_cmpl, crange_bsearch_cmpb,
crange_bsearch_cmpl): Move here from opcodes/sh64-dis.c.
(sh64_address_in_cranges): Move here from opcodes/sh64-dis.c. Use
bfd_malloc, not xmalloc.
(sh64_get_contents_type): Move here from opcodes/sh64-dis.c. Make
global.
* elf32-sh64.c (sh64_elf64_final_write_processing): New, (but
temporarily disabled) setting bit 0 on entry address.
(elf_backend_final_write_processing): Define.
2001-01-05 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh.c (sh_elf_howto_table) <R_SH_PT_16>: Adjust fields to
be a proper relocation for PTA and PTB rather than a marker.
<R_SH_IMMU5, R_SH_IMMS6, R_SH_IMMU6, R_SH_IMMS10, R_SH_IMMS10BY2,
R_SH_IMMS10BY4, R_SH_IMMS10BY8, R_SH_IMMS16, R_SH_IMMU16,
R_SH_IMM_LOW16, R_SH_IMM_LOW16_PCREL, R_SH_IMM_MEDLOW16,
R_SH_IMM_MEDLOW16_PCREL, R_SH_IMM_MEDHI16, R_SH_IMM_MEDHI16_PCREL,
R_SH_IMM_HI16, R_SH_IMM_HI16_PCREL, R_SH_64, R_SH_64_PCREL>:
Zero src_mask.
* elf64-sh64.c: Ditto.
(sh_elf64_relocate_section) <case R_SH_PT_16>: New case.
* elf32-sh64.c: Include opcodes/sh64-opc.h
(shmedia_prepare_reloc): Take a bfd_link_info pointer as first
argument. Drop const qualifiers from "bfd *" and "bfd_byte *"
parameters. No unused parameters. Caller changed.
<case R_SH_PT_16>: New case.
* Makefile.am (elf32-sh64.lo): Add dependency on sh64-opc.h.
* Makefile.in: Regenerate.
2000-12-30 Hans-Peter Nilsson <hpn@cygnus.com>
* elf64-sh64.c (sh64_elf64_fake_sections): Set SHF_SH5_ISA32 for
all code sections.
(sh_elf64_set_mach_from_flags): Change from EF_SH64 to EF_SH5.
(sh64_elf_merge_private_data): Ditto.
* elf32-sh64.c (sh64_elf_fake_sections): Use sh64_elf_section_data
to access stored section flags.
(sh64_elf_final_write_processing): Return immediately unless
called by linker. Use sh64_elf_section_data (cranges) to get size
of linker-generated cranges entries.
(sh64_elf_copy_private_data): Add missing "return true".
(sh64_elf_set_mach_from_flags): Change from EF_SH64 to EF_SH5.
(sh_elf64_merge_private_data): Ditto.
2000-12-19 Hans-Peter Nilsson <hpn@cygnus.com>
* elf64-sh64.c (sh64_elf64_fake_sections): New, copy of
elf64-sh64.c:sh64_elf_fake_sections.
(elf_backend_fake_sections): Define as sh64_elf64_fake_sections.
2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh64.c (sh64_elf_copy_private_data_internal): Delete.
(sh64_elf_final_write_processing): New.
(elf_backend_final_write_processing): Define.
(sh64_elf_fake_sections): Get header flags from tdata field.
(sh64_elf_copy_private_data): Do not call
sh64_elf_copy_private_data_internal, just copy e_flags field.
(sh64_elf_merge_private_data): Do not call
sh64_elf_copy_private_data_internal.
2000-12-12 Hans-Peter Nilsson <hpn@cygnus.com>
Remove EF_SH64_ABI64, let ELF size make difference.
Remove SH64-specific BFD section flag.
* elf32-sh64.c (sh64_elf_fake_sections): Recognize section as
containing SHmedia through elf_section_data (asect)->tdata
non-zero, not using a BFD section flag.
(sh64_elf_set_mach_from_flags): Don't recognize EF_SH64_ABI64.
(sh64_elf_merge_private_data): Similar.
(elf_backend_section_flags): Don't define.
(sh64_elf_backend_section_flags): Delete.
* elf64-sh64.c (sh_elf64_set_mach_from_flags): Recognize EF_SH64,
not EF_SH64_ABI64.
(sh_elf64_merge_private_data): Similar.
* section.c (Section flags definitions): Don't define
SEC_SH_ISA_SHMEDIA.
(bfd-in2.h): Regenerate.
2000-12-09 Hans-Peter Nilsson <hpn@cygnus.com>
Make DataLabel references work with partial linking.
* elf32-sh64.c: Fix formatting.
(sh64_elf_link_output_symbol_hook): New.
(elf_backend_link_output_symbol_hook): Define to
sh64_elf_link_output_symbol_hook.
(sh64_elf_add_symbol_hook): Make DataLabel symbol just global
undefined if partial linking. Adjust sanity check.
* elf64-sh64.c (sh64_elf64_link_output_symbol_hook): New.
(elf_backend_link_output_symbol_hook): Define to
sh64_elf64_link_output_symbol_hook.
(sh64_elf64_add_symbol_hook): Make DataLabel symbol just global
undefined if partial linking. Adjust sanity check.
2000-12-07 Hans-Peter Nilsson <hpn@cygnus.com>
Implement semantics for inter-file DataLabel references.
* elf64-sh64.c (DATALABEL_SUFFIX): Define.
(sh64_elf64_add_symbol_hook): New.
(sh_elf64_relocate_section): If passing an indirect symbol with
st_type STT_DATALABEL on the way to a symbol with st_other
STO_SH5_ISA32, do not bitor 1 to the relocation.
(elf_backend_add_symbol_hook): Define to
sh64_elf64_add_symbol_hook.
* elf64-sh32.c: Tweak comments.
(DATALABEL_SUFFIX): Define.
(sh64_elf_add_symbol_hook): New.
(elf_backend_add_symbol_hook): Define to sh64_elf_add_symbol_hook.
* elf32-sh.c (sh_elf_relocate_section): If passing an indirect
symbol with st_type STT_DATALABEL on the way to a symbol with
st_other STO_SH5_ISA32, do not bitor 1 to the relocation.
2000-12-05 Hans-Peter Nilsson <hpn@cygnus.com>
Pass through STT_DATALABEL.
* elf32-sh64.c (sh64_elf_get_symbol_type): New.
(elf_backend_get_symbol_type): Define.
* elf64-sh64.c (sh64_elf64_get_symbol_type): New.
(elf_backend_get_symbol_type): Define.
2000-11-30 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh64.c: Tweak comments.
(sh64_elf_copy_private_data_internal): Add prototype.
(bfd_elf32_bfd_set_private_flags): Define.
(sh64_elf_copy_private_data_internal): Compare machine name, not
textual BFD target name, to check whether to copy section flag
SHF_SH5_ISA32.
(sh64_elf_merge_private_data): Validize bfd_get_arch_size.
Tweak section-contents-type-mismatch message.
(shmedia_prepare_reloc): Add ATTRIBUTE_UNUSED markers.
Validize reloc-types.
* elf64-sh64.c: New file.
* targets.c (bfd_elf64_sh64_vec, bfd_elf64_sh64l_vec): Declare.
* Makefile.am (BFD64_BACKENDS): Add elf64-sh64.lo.
(BFD64_BACKENDS_CFILES): Add elf64-sh64.c.
Regenerate dependencies.
* Makefile.in: Regenerate.
* config.bfd (sh64-*-elf*): Add bfd_elf64_sh64_vec and
bfd_elf64_sh64l_vec.
* configure.in: Handle bfd_elf64_sh64_vec and
bfd_elf64_sh64l_vec.
* configure: Regenerate.
* po/POTFILES.in: Regenerate.
* po/bfd.pot: Regenerate.
2000-11-29 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh64.c (sh64_elf_set_mach_from_flags): Do not recognize
anything else but EF_SH64 and EF_SH64_ABI64.
(sh64_elf_merge_private_data): Emit error for anything else but
EF_SH64 and EF_SH64_ABI64.
* config.bfd: Remove bfd_elf32_shblin_vec and bfd_elf32_shlin_vec
from targ_selvecs.
* configure.in: Add cofflink.lo to bfd_elf32_sh64_vec and
bfd_elf32_sh64l_vec as a temporary measure.
* configure: Regenerate.
2000-11-27 Hans-Peter Nilsson <hpn@cygnus.com>
* cpu-sh.c (arch_info_struct): Include sh5 item
unconditionalized.
* config.bfd (sh64-*-elf*): Do not set targ_cflags.
Add targ_selvecs bfd_elf32_sh_vec, bfd_elf32_shl_vec,
bfd_elf32_shblin_vec and bfd_elf32_shlin_vec.
* elf32-sh64.c: Tweak comments.
(sh64_elf_set_mach_from_flags): Recognize all machine flags that
are proper subsets of SH64 as bfd_mach_sh5. Add EF_SH64_ABI64.
(sh64_elf_copy_private_data_internal): Wrap long line.
(sh64_elf_merge_private_data): Rewrite to allow objects from
SH64 subsets to be linked together.
(INCLUDE_SHMEDIA): Define.
* elf32-sh.c (sh_elf_relocate_section) <local symbol>:
Parenthesize plus-expression inside or-expression.
<global symbol>: Ditto.
(sh_elf_set_mach_from_flags): Remove code refusing
deleted EF_SH64_32BIT_ABI flag.
2000-11-26 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh.c (sh_elf_howto_table) <R_SH_IMM_LOW16_PCREL,
R_SH_IMM_MEDLOW16_PCREL, R_SH_IMM_MEDHI16_PCREL,
R_SH_IMM_HI16_PCREL, R_SH_64_PCREL>: Set pcrel_offset to true.
(sh_elf_relocate_section) <local symbol>: Or 1 in
calculation of relocation if sym->st_other & STO_SH5_ISA32.
<global symbol>: Ditto if h->other & STO_SH5_ISA32.
* elf32-sh64.c (shmedia_prepare_reloc): Add rel->r_addend to
relocation.
2000-11-24 Hans-Peter Nilsson <hpn@cygnus.com>
* Makefile.am (BFD32_BACKENDS): Add elf32-sh64.lo.
(BFD32_BACKENDS_CFILES): Add elf32-sh64.c.
Regenerate dependencies.
* Makefile.in: Regenerate.
* archures.c: Add bfd_mach_sh5.
* config.bfd: Map targ_cpu sh* to bfd_sh_arch.
Handle sh64-*-elf*. Set targ_cflags to -DINCLUDE_SHMEDIA.
* configure.in: Handle bfd_elf32_sh64_vec and bfd_elf32_sh64l_vec.
* configure: Regenerate.
* reloc.c (BFD_RELOC_SH_SHMEDIA_CODE, BFD_RELOC_SH_IMMU5,
BFD_RELOC_SH_IMMS6, BFD_RELOC_SH_IMMS6BY32, BFD_RELOC_SH_IMMU6,
BFD_RELOC_SH_IMMS10, BFD_RELOC_SH_IMMS10BY2,
BFD_RELOC_SH_IMMS10BY4, BFD_RELOC_SH_IMMS10BY8,
BFD_RELOC_SH_IMMS16, BFD_RELOC_SH_IMMU16, BFD_RELOC_SH_IMM_LOW16,
BFD_RELOC_SH_IMM_LOW16_PCREL, BFD_RELOC_SH_IMM_MEDLOW16,
BFD_RELOC_SH_IMM_MEDLOW16_PCREL, BFD_RELOC_SH_IMM_MEDHI16,
BFD_RELOC_SH_IMM_MEDHI16_PCREL, BFD_RELOC_SH_IMM_HI16,
BFD_RELOC_SH_IMM_HI16_PCREL, BFD_RELOC_SH_PT_16): New relocations.
* cpu-sh.c [INCLUDE_SHMEDIA] (arch_info_struct): Define and link
in item for SH5.
* elf32-sh.c [INCLUDE_SHMEDIA] (sh_elf_howto_table): Add howto items
for SHmedia relocs.
[INCLUDE_SHMEDIA] (sh_rel): Add mappings for SHmedia relocs.
[INCLUDE_SHMEDIA] (sh_elf_relocate_section) [default]: Call
shmedia_prepare_reloc, goto final_link_relocate if it returns
non-zero, else fail as before.
(sh_elf_set_mach_from_flags): Provide function only if not defined
as macro. Do not recognize objects with EF_SH64_32BIT_ABI set.
(sh_elf_set_private_flags): Provide function only if not defined
as a macro.
(sh_elf_copy_private_data): Similar.
(sh_elf_merge_private_data): Similar.
* section.c (SEC_SH_ISA_SHMEDIA): New.
* targets.c (bfd_elf32_sh64_vec, bfd_elf32_sh64l_vec): Declare.
* elf32-sh64.c: New file.
* libbfd.h: Regenerate.
* bfd-in2.h: Regenerate.
* po/POTFILES.in: Regenerate.
* po/bfd.pot: Regenerate.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.
2002-02-08 13:33:27 +08:00
|
|
|
msgid "ERROR: %s is compiled for APCS-%d, whereas %s is compiled for APCS-%d"
|
1999-05-03 15:29:11 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: coff-arm.c:2280 elf32-arm.h:2328
|
1999-05-03 15:29:11 +08:00
|
|
|
#, c-format
|
|
|
|
msgid ""
|
Contribute sh64-elf.
2002-01-23 Alexandre Oliva <aoliva@redhat.com>
* reloc.c (R_SH_GOTPLT32, R_SH_GOT_LOW16, R_SH_GOT_MEDLOW16,
R_SH_GOT_MEDHI16, R_SH_GOT_HI16, R_SH_GOTPLT_LOW16,
R_SH_GOTPLT_MEDLOW16, R_SH_GOTPLT_MEDHI16, R_SH_GOTPLT_HI16,
R_SH_PLT_LOW16, R_SH_PLT_MEDLOW16, R_SH_PLT_MEDHI16,
R_SH_PLT_HI16, R_SH_GOTOFF_LOW16, R_SH_GOTOFF_MEDLOW16,
R_SH_GOTOFF_MEDHI16, R_SH_GOTOFF_HI16, R_SH_GOTPC_LOW16,
R_SH_GOTPC_MEDLOW16, R_SH_GOTPC_MEDHI16, R_SH_GOTPC_HI16,
R_SH_GOT10BY4, R_SH_GOTPLT10BY4, R_SH_GOT10BY8, R_SH_GOTPLT10BY8,
R_SH_COPY64, R_SH_GLOB_DAT64, R_SH_JMP_SLOT64, R_SH_RELATIVE64):
New relocs.
* libbfd.h, bfd-in2.h: Rebuilt.
* elf32-sh.c (sh_elf_howto_table): Define new relocs.
(sh_reloc_map): Map them.
(PLT_ENTRY_SIZE, elf_sh_plt0_entry_be, elf_sh_plt0_entry_le,
elf_sh_plt_entry_be, elf_sh_plt_entry_le, elf_sh_pic_plt_entry_be,
elf_sh_pic_plt_entry_le, elf_sh_plt0_entry, elf_sh_plt_entry,
elf_sh_pic_plt_entry, elf_sh_sizeof_plt, elf_sh_plt_plt0_offset,
elf_sh_plt0_gotplt_offset, elf_sh_plt_temp_offset,
elf_sh_plt_symbol_offset, elf_sh_plt_reloc_offset,
movi_shori_putval) [INCLUDE_SHMEDIA]: New.
(elf_sh_link_hash_entry) [INCLUDE_SHMEDIA]: Add
datalabel_got_offset.
(sh_elf_link_hash_newfunc): Initialize it.
(sh_elf_relocate_section): Augment the scope of
seen_stt_datalabel. Introduce GOTPLT support. Extend GOTPC, PLT,
GOT and GOTOFF handling to new SHmedia relocation types. Support
GOT_BIAS.
(sh_elf_check_relocs): Likewise.
(sh_elf_finish_dynamic_symbol) [TARGET_SHMEDIA]: Set up values in
PLT entries using movi_shori_putval. Support GOT_BIAS.
(sh_elf_finish_dynamic_sections): Likewise.
* elf32-sh64.c (shmedia_prepare_reloc): Do not add addend to
relocation, it's now done by the caller.
(GOT_BIAS): New.
* elf64-sh64.c (GOT_BIAS, PLT_ENTRY_SIZE, elf_sh64_sizeof_plt,
elf_sh64_plt_plt0_offset, elf_sh64_plt0_gotplt_offset,
elf_sh64_plt_temp_offset, elf_sh64_plt_symbol_offset,
elf_sh64_plt_reloc_offset, ELF_DYNAMIC_INTERPRETER,
elf_sh64_pcrel_relocs_copied, elf_sh64_link_hash_entry,
elf_sh64_link_hash_table, sh64_elf64_link_hash_traverse,
sh64_elf64_hash_table): New.
(sh_elf64_howto_table): Introduce new relocs.
(sh_elf64_info_to_howto): Accept new PIC relocs.
(sh_elf64_relocate_section): Augment the scope of
seen_stt_datalabel. Support new PIC relocs.
(sh_elf64_check_relocs): Support new PIC relocs.
(elf_sh64_plt0_entry_be, elf_sh64_plt0_entry_le,
elf_sh64_plt_entry_be, elf_sh64_plt_entry_le,
elf_sh64_pic_plt_entry_be, elf_sh64_pic_plt_entry_le,
elf_sh64_plt0_entry, elf_sh64_plt_entry, elf_sh64_pic_plt_entry,
sh64_elf64_link_hash_newfunc, sh64_elf64_link_hash_table_create,
movi_shori_putval, movi_3shori_putval,
sh64_elf64_create_dynamic_sections,
sh64_elf64_adjust_dynamic_symbol, sh64_elf64_discard_copies,
sh64_elf64_size_dynamic_sections,
sh64_elf64_finish_dynamic_symbol,
sh64_elf64_finish_dynamic_sections): New.
(elf_backend_create_dynamic-sections,
bfd_elf64_bfd_link_hash_table_create,
elf_backend_adjust_dynamic_symbol,
elf_backend_size_dynamic_sections,
elf_backend_finish_dynamic_symbol,
elf_backend_finish_dynamic_sections, elf_backend_want_got_plt,
elf_backend_plt_readonly, elf_backend_want_plt_sym,
elf_backend_got_header_size, elf_backend_plt_header_size):
Define.
2001-05-16 Alexandre Oliva <aoliva@redhat.com>
* elf32-sh.c: Renumbered and renamed some SH5 relocations to
match official numbers and names; moved unmaching ones to the
range 0xf2-0xff.
* elf32-sh64.c, elf64-sh64.c: Likewise.
2001-03-12 DJ Delorie <dj@redhat.com>
* elf32-sh.c (sh_elf_relax_section): Don't relax SHmedia
sections.
2001-03-12 DJ Delorie <dj@redhat.com>
* elf32-sh64.c (shmedia_prepare_reloc): Validate relocs that must
be aligned.
* elf64-sh64.c (sh_elf64_relocate_section): Ditto.
2001-01-14 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh64.c (bfd_elf32_bfd_copy_private_section_data): Define.
(sh64_elf_fake_sections): Set type to SHT_SH5_CR_SORTED for a
.cranges section with SEC_SORT_ENTRIES set.
(sh64_backend_section_from_shdr): Set SEC_SORT_ENTRIES on an
incoming sorted .cranges section.
(sh64_bfd_elf_copy_private_section_data): New.
(sh64_elf_final_write_processing): Only sort .cranges and modify
start address if called by linker.
2001-01-08 Ben Elliston <bje@redhat.com>
* elf32-sh64.c (sh64_elf_final_write_processing): Activate
Hans-Peter Nilsson's set bit 0 patch from 2001-01-06.
* elf64-sh64.c (sh64_elf64_final_write_processing): Ditto.
2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com>
* elf64-sh64.c (sh_elf64_howto_table): No open brace at start of
line. Add comments before all entries.
<R_SH_PT_16, R_SH_SHMEDIA_CODE>: Correct and clarify describing
comment.
(sh_elf64_reloc): Correct head comment.
(sh_elf64_relocate_section): Correct spacing.
<relocating for a local symbol>: Do not honour STO_SH5_ISA32;
instead call reloc_dangerous callback.
<case R_SH_SHMEDIA_CODE>: New case.
(sh_elf64_gc_mark_hook): Correct spacing.
(sh_elf64_check_relocs): Ditto.
* elf32-sh64.c (shmedia_prepare_reloc) <case R_SH_SHMEDIA_CODE>:
New case.
* elf32-sh.c: Correct #endif comments for #ifndef-wrapped
functions.
(sh_elf_howto_table) <R_SH_PT_16, R_SH_SHMEDIA_CODE>: Correct,
clarify describing comment. Add comments before all entries.
(sh_elf_relocate_section) <relocating for a local symbol>: Do not
honour STO_SH5_ISA32; instead call reloc_dangerous callback.
2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com>
Sort .cranges section in final link. Prepare to set bit 0 on
entry address.
* elf32-sh64.c (struct sh64_find_section_vma_data): New.
(sh64_elf_link_output_symbol_hook): Fix typo in prototype.
(sh64_elf_set_mach_from_flags): Set SEC_DEBUGGING on incoming
.cranges section.
(sh64_backend_section_from_shdr): New, to recognize
SHT_SH5_CR_SORTED on incoming .cranges section.
(elf_backend_section_from_shdr): Define.
(sh64_elf_final_write_processing): Sort outgoing .cranges
section. (New, temporarily disabled:) Set bit 0 on entry address
according to ISA type.
(sh64_find_section_for_address): New.
(crange_qsort_cmpb, crange_qsort_cmpl, crange_bsearch_cmpb,
crange_bsearch_cmpl): Move here from opcodes/sh64-dis.c.
(sh64_address_in_cranges): Move here from opcodes/sh64-dis.c. Use
bfd_malloc, not xmalloc.
(sh64_get_contents_type): Move here from opcodes/sh64-dis.c. Make
global.
* elf32-sh64.c (sh64_elf64_final_write_processing): New, (but
temporarily disabled) setting bit 0 on entry address.
(elf_backend_final_write_processing): Define.
2001-01-05 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh.c (sh_elf_howto_table) <R_SH_PT_16>: Adjust fields to
be a proper relocation for PTA and PTB rather than a marker.
<R_SH_IMMU5, R_SH_IMMS6, R_SH_IMMU6, R_SH_IMMS10, R_SH_IMMS10BY2,
R_SH_IMMS10BY4, R_SH_IMMS10BY8, R_SH_IMMS16, R_SH_IMMU16,
R_SH_IMM_LOW16, R_SH_IMM_LOW16_PCREL, R_SH_IMM_MEDLOW16,
R_SH_IMM_MEDLOW16_PCREL, R_SH_IMM_MEDHI16, R_SH_IMM_MEDHI16_PCREL,
R_SH_IMM_HI16, R_SH_IMM_HI16_PCREL, R_SH_64, R_SH_64_PCREL>:
Zero src_mask.
* elf64-sh64.c: Ditto.
(sh_elf64_relocate_section) <case R_SH_PT_16>: New case.
* elf32-sh64.c: Include opcodes/sh64-opc.h
(shmedia_prepare_reloc): Take a bfd_link_info pointer as first
argument. Drop const qualifiers from "bfd *" and "bfd_byte *"
parameters. No unused parameters. Caller changed.
<case R_SH_PT_16>: New case.
* Makefile.am (elf32-sh64.lo): Add dependency on sh64-opc.h.
* Makefile.in: Regenerate.
2000-12-30 Hans-Peter Nilsson <hpn@cygnus.com>
* elf64-sh64.c (sh64_elf64_fake_sections): Set SHF_SH5_ISA32 for
all code sections.
(sh_elf64_set_mach_from_flags): Change from EF_SH64 to EF_SH5.
(sh64_elf_merge_private_data): Ditto.
* elf32-sh64.c (sh64_elf_fake_sections): Use sh64_elf_section_data
to access stored section flags.
(sh64_elf_final_write_processing): Return immediately unless
called by linker. Use sh64_elf_section_data (cranges) to get size
of linker-generated cranges entries.
(sh64_elf_copy_private_data): Add missing "return true".
(sh64_elf_set_mach_from_flags): Change from EF_SH64 to EF_SH5.
(sh_elf64_merge_private_data): Ditto.
2000-12-19 Hans-Peter Nilsson <hpn@cygnus.com>
* elf64-sh64.c (sh64_elf64_fake_sections): New, copy of
elf64-sh64.c:sh64_elf_fake_sections.
(elf_backend_fake_sections): Define as sh64_elf64_fake_sections.
2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh64.c (sh64_elf_copy_private_data_internal): Delete.
(sh64_elf_final_write_processing): New.
(elf_backend_final_write_processing): Define.
(sh64_elf_fake_sections): Get header flags from tdata field.
(sh64_elf_copy_private_data): Do not call
sh64_elf_copy_private_data_internal, just copy e_flags field.
(sh64_elf_merge_private_data): Do not call
sh64_elf_copy_private_data_internal.
2000-12-12 Hans-Peter Nilsson <hpn@cygnus.com>
Remove EF_SH64_ABI64, let ELF size make difference.
Remove SH64-specific BFD section flag.
* elf32-sh64.c (sh64_elf_fake_sections): Recognize section as
containing SHmedia through elf_section_data (asect)->tdata
non-zero, not using a BFD section flag.
(sh64_elf_set_mach_from_flags): Don't recognize EF_SH64_ABI64.
(sh64_elf_merge_private_data): Similar.
(elf_backend_section_flags): Don't define.
(sh64_elf_backend_section_flags): Delete.
* elf64-sh64.c (sh_elf64_set_mach_from_flags): Recognize EF_SH64,
not EF_SH64_ABI64.
(sh_elf64_merge_private_data): Similar.
* section.c (Section flags definitions): Don't define
SEC_SH_ISA_SHMEDIA.
(bfd-in2.h): Regenerate.
2000-12-09 Hans-Peter Nilsson <hpn@cygnus.com>
Make DataLabel references work with partial linking.
* elf32-sh64.c: Fix formatting.
(sh64_elf_link_output_symbol_hook): New.
(elf_backend_link_output_symbol_hook): Define to
sh64_elf_link_output_symbol_hook.
(sh64_elf_add_symbol_hook): Make DataLabel symbol just global
undefined if partial linking. Adjust sanity check.
* elf64-sh64.c (sh64_elf64_link_output_symbol_hook): New.
(elf_backend_link_output_symbol_hook): Define to
sh64_elf64_link_output_symbol_hook.
(sh64_elf64_add_symbol_hook): Make DataLabel symbol just global
undefined if partial linking. Adjust sanity check.
2000-12-07 Hans-Peter Nilsson <hpn@cygnus.com>
Implement semantics for inter-file DataLabel references.
* elf64-sh64.c (DATALABEL_SUFFIX): Define.
(sh64_elf64_add_symbol_hook): New.
(sh_elf64_relocate_section): If passing an indirect symbol with
st_type STT_DATALABEL on the way to a symbol with st_other
STO_SH5_ISA32, do not bitor 1 to the relocation.
(elf_backend_add_symbol_hook): Define to
sh64_elf64_add_symbol_hook.
* elf64-sh32.c: Tweak comments.
(DATALABEL_SUFFIX): Define.
(sh64_elf_add_symbol_hook): New.
(elf_backend_add_symbol_hook): Define to sh64_elf_add_symbol_hook.
* elf32-sh.c (sh_elf_relocate_section): If passing an indirect
symbol with st_type STT_DATALABEL on the way to a symbol with
st_other STO_SH5_ISA32, do not bitor 1 to the relocation.
2000-12-05 Hans-Peter Nilsson <hpn@cygnus.com>
Pass through STT_DATALABEL.
* elf32-sh64.c (sh64_elf_get_symbol_type): New.
(elf_backend_get_symbol_type): Define.
* elf64-sh64.c (sh64_elf64_get_symbol_type): New.
(elf_backend_get_symbol_type): Define.
2000-11-30 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh64.c: Tweak comments.
(sh64_elf_copy_private_data_internal): Add prototype.
(bfd_elf32_bfd_set_private_flags): Define.
(sh64_elf_copy_private_data_internal): Compare machine name, not
textual BFD target name, to check whether to copy section flag
SHF_SH5_ISA32.
(sh64_elf_merge_private_data): Validize bfd_get_arch_size.
Tweak section-contents-type-mismatch message.
(shmedia_prepare_reloc): Add ATTRIBUTE_UNUSED markers.
Validize reloc-types.
* elf64-sh64.c: New file.
* targets.c (bfd_elf64_sh64_vec, bfd_elf64_sh64l_vec): Declare.
* Makefile.am (BFD64_BACKENDS): Add elf64-sh64.lo.
(BFD64_BACKENDS_CFILES): Add elf64-sh64.c.
Regenerate dependencies.
* Makefile.in: Regenerate.
* config.bfd (sh64-*-elf*): Add bfd_elf64_sh64_vec and
bfd_elf64_sh64l_vec.
* configure.in: Handle bfd_elf64_sh64_vec and
bfd_elf64_sh64l_vec.
* configure: Regenerate.
* po/POTFILES.in: Regenerate.
* po/bfd.pot: Regenerate.
2000-11-29 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh64.c (sh64_elf_set_mach_from_flags): Do not recognize
anything else but EF_SH64 and EF_SH64_ABI64.
(sh64_elf_merge_private_data): Emit error for anything else but
EF_SH64 and EF_SH64_ABI64.
* config.bfd: Remove bfd_elf32_shblin_vec and bfd_elf32_shlin_vec
from targ_selvecs.
* configure.in: Add cofflink.lo to bfd_elf32_sh64_vec and
bfd_elf32_sh64l_vec as a temporary measure.
* configure: Regenerate.
2000-11-27 Hans-Peter Nilsson <hpn@cygnus.com>
* cpu-sh.c (arch_info_struct): Include sh5 item
unconditionalized.
* config.bfd (sh64-*-elf*): Do not set targ_cflags.
Add targ_selvecs bfd_elf32_sh_vec, bfd_elf32_shl_vec,
bfd_elf32_shblin_vec and bfd_elf32_shlin_vec.
* elf32-sh64.c: Tweak comments.
(sh64_elf_set_mach_from_flags): Recognize all machine flags that
are proper subsets of SH64 as bfd_mach_sh5. Add EF_SH64_ABI64.
(sh64_elf_copy_private_data_internal): Wrap long line.
(sh64_elf_merge_private_data): Rewrite to allow objects from
SH64 subsets to be linked together.
(INCLUDE_SHMEDIA): Define.
* elf32-sh.c (sh_elf_relocate_section) <local symbol>:
Parenthesize plus-expression inside or-expression.
<global symbol>: Ditto.
(sh_elf_set_mach_from_flags): Remove code refusing
deleted EF_SH64_32BIT_ABI flag.
2000-11-26 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh.c (sh_elf_howto_table) <R_SH_IMM_LOW16_PCREL,
R_SH_IMM_MEDLOW16_PCREL, R_SH_IMM_MEDHI16_PCREL,
R_SH_IMM_HI16_PCREL, R_SH_64_PCREL>: Set pcrel_offset to true.
(sh_elf_relocate_section) <local symbol>: Or 1 in
calculation of relocation if sym->st_other & STO_SH5_ISA32.
<global symbol>: Ditto if h->other & STO_SH5_ISA32.
* elf32-sh64.c (shmedia_prepare_reloc): Add rel->r_addend to
relocation.
2000-11-24 Hans-Peter Nilsson <hpn@cygnus.com>
* Makefile.am (BFD32_BACKENDS): Add elf32-sh64.lo.
(BFD32_BACKENDS_CFILES): Add elf32-sh64.c.
Regenerate dependencies.
* Makefile.in: Regenerate.
* archures.c: Add bfd_mach_sh5.
* config.bfd: Map targ_cpu sh* to bfd_sh_arch.
Handle sh64-*-elf*. Set targ_cflags to -DINCLUDE_SHMEDIA.
* configure.in: Handle bfd_elf32_sh64_vec and bfd_elf32_sh64l_vec.
* configure: Regenerate.
* reloc.c (BFD_RELOC_SH_SHMEDIA_CODE, BFD_RELOC_SH_IMMU5,
BFD_RELOC_SH_IMMS6, BFD_RELOC_SH_IMMS6BY32, BFD_RELOC_SH_IMMU6,
BFD_RELOC_SH_IMMS10, BFD_RELOC_SH_IMMS10BY2,
BFD_RELOC_SH_IMMS10BY4, BFD_RELOC_SH_IMMS10BY8,
BFD_RELOC_SH_IMMS16, BFD_RELOC_SH_IMMU16, BFD_RELOC_SH_IMM_LOW16,
BFD_RELOC_SH_IMM_LOW16_PCREL, BFD_RELOC_SH_IMM_MEDLOW16,
BFD_RELOC_SH_IMM_MEDLOW16_PCREL, BFD_RELOC_SH_IMM_MEDHI16,
BFD_RELOC_SH_IMM_MEDHI16_PCREL, BFD_RELOC_SH_IMM_HI16,
BFD_RELOC_SH_IMM_HI16_PCREL, BFD_RELOC_SH_PT_16): New relocations.
* cpu-sh.c [INCLUDE_SHMEDIA] (arch_info_struct): Define and link
in item for SH5.
* elf32-sh.c [INCLUDE_SHMEDIA] (sh_elf_howto_table): Add howto items
for SHmedia relocs.
[INCLUDE_SHMEDIA] (sh_rel): Add mappings for SHmedia relocs.
[INCLUDE_SHMEDIA] (sh_elf_relocate_section) [default]: Call
shmedia_prepare_reloc, goto final_link_relocate if it returns
non-zero, else fail as before.
(sh_elf_set_mach_from_flags): Provide function only if not defined
as macro. Do not recognize objects with EF_SH64_32BIT_ABI set.
(sh_elf_set_private_flags): Provide function only if not defined
as a macro.
(sh_elf_copy_private_data): Similar.
(sh_elf_merge_private_data): Similar.
* section.c (SEC_SH_ISA_SHMEDIA): New.
* targets.c (bfd_elf32_sh64_vec, bfd_elf32_sh64l_vec): Declare.
* elf32-sh64.c: New file.
* libbfd.h: Regenerate.
* bfd-in2.h: Regenerate.
* po/POTFILES.in: Regenerate.
* po/bfd.pot: Regenerate.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.
2002-02-08 13:33:27 +08:00
|
|
|
"ERROR: %s passes floats in float registers, whereas %s passes them in "
|
|
|
|
"integer registers"
|
1999-05-03 15:29:11 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: coff-arm.c:2283 elf32-arm.h:2333
|
1999-05-03 15:29:11 +08:00
|
|
|
#, c-format
|
|
|
|
msgid ""
|
Contribute sh64-elf.
2002-01-23 Alexandre Oliva <aoliva@redhat.com>
* reloc.c (R_SH_GOTPLT32, R_SH_GOT_LOW16, R_SH_GOT_MEDLOW16,
R_SH_GOT_MEDHI16, R_SH_GOT_HI16, R_SH_GOTPLT_LOW16,
R_SH_GOTPLT_MEDLOW16, R_SH_GOTPLT_MEDHI16, R_SH_GOTPLT_HI16,
R_SH_PLT_LOW16, R_SH_PLT_MEDLOW16, R_SH_PLT_MEDHI16,
R_SH_PLT_HI16, R_SH_GOTOFF_LOW16, R_SH_GOTOFF_MEDLOW16,
R_SH_GOTOFF_MEDHI16, R_SH_GOTOFF_HI16, R_SH_GOTPC_LOW16,
R_SH_GOTPC_MEDLOW16, R_SH_GOTPC_MEDHI16, R_SH_GOTPC_HI16,
R_SH_GOT10BY4, R_SH_GOTPLT10BY4, R_SH_GOT10BY8, R_SH_GOTPLT10BY8,
R_SH_COPY64, R_SH_GLOB_DAT64, R_SH_JMP_SLOT64, R_SH_RELATIVE64):
New relocs.
* libbfd.h, bfd-in2.h: Rebuilt.
* elf32-sh.c (sh_elf_howto_table): Define new relocs.
(sh_reloc_map): Map them.
(PLT_ENTRY_SIZE, elf_sh_plt0_entry_be, elf_sh_plt0_entry_le,
elf_sh_plt_entry_be, elf_sh_plt_entry_le, elf_sh_pic_plt_entry_be,
elf_sh_pic_plt_entry_le, elf_sh_plt0_entry, elf_sh_plt_entry,
elf_sh_pic_plt_entry, elf_sh_sizeof_plt, elf_sh_plt_plt0_offset,
elf_sh_plt0_gotplt_offset, elf_sh_plt_temp_offset,
elf_sh_plt_symbol_offset, elf_sh_plt_reloc_offset,
movi_shori_putval) [INCLUDE_SHMEDIA]: New.
(elf_sh_link_hash_entry) [INCLUDE_SHMEDIA]: Add
datalabel_got_offset.
(sh_elf_link_hash_newfunc): Initialize it.
(sh_elf_relocate_section): Augment the scope of
seen_stt_datalabel. Introduce GOTPLT support. Extend GOTPC, PLT,
GOT and GOTOFF handling to new SHmedia relocation types. Support
GOT_BIAS.
(sh_elf_check_relocs): Likewise.
(sh_elf_finish_dynamic_symbol) [TARGET_SHMEDIA]: Set up values in
PLT entries using movi_shori_putval. Support GOT_BIAS.
(sh_elf_finish_dynamic_sections): Likewise.
* elf32-sh64.c (shmedia_prepare_reloc): Do not add addend to
relocation, it's now done by the caller.
(GOT_BIAS): New.
* elf64-sh64.c (GOT_BIAS, PLT_ENTRY_SIZE, elf_sh64_sizeof_plt,
elf_sh64_plt_plt0_offset, elf_sh64_plt0_gotplt_offset,
elf_sh64_plt_temp_offset, elf_sh64_plt_symbol_offset,
elf_sh64_plt_reloc_offset, ELF_DYNAMIC_INTERPRETER,
elf_sh64_pcrel_relocs_copied, elf_sh64_link_hash_entry,
elf_sh64_link_hash_table, sh64_elf64_link_hash_traverse,
sh64_elf64_hash_table): New.
(sh_elf64_howto_table): Introduce new relocs.
(sh_elf64_info_to_howto): Accept new PIC relocs.
(sh_elf64_relocate_section): Augment the scope of
seen_stt_datalabel. Support new PIC relocs.
(sh_elf64_check_relocs): Support new PIC relocs.
(elf_sh64_plt0_entry_be, elf_sh64_plt0_entry_le,
elf_sh64_plt_entry_be, elf_sh64_plt_entry_le,
elf_sh64_pic_plt_entry_be, elf_sh64_pic_plt_entry_le,
elf_sh64_plt0_entry, elf_sh64_plt_entry, elf_sh64_pic_plt_entry,
sh64_elf64_link_hash_newfunc, sh64_elf64_link_hash_table_create,
movi_shori_putval, movi_3shori_putval,
sh64_elf64_create_dynamic_sections,
sh64_elf64_adjust_dynamic_symbol, sh64_elf64_discard_copies,
sh64_elf64_size_dynamic_sections,
sh64_elf64_finish_dynamic_symbol,
sh64_elf64_finish_dynamic_sections): New.
(elf_backend_create_dynamic-sections,
bfd_elf64_bfd_link_hash_table_create,
elf_backend_adjust_dynamic_symbol,
elf_backend_size_dynamic_sections,
elf_backend_finish_dynamic_symbol,
elf_backend_finish_dynamic_sections, elf_backend_want_got_plt,
elf_backend_plt_readonly, elf_backend_want_plt_sym,
elf_backend_got_header_size, elf_backend_plt_header_size):
Define.
2001-05-16 Alexandre Oliva <aoliva@redhat.com>
* elf32-sh.c: Renumbered and renamed some SH5 relocations to
match official numbers and names; moved unmaching ones to the
range 0xf2-0xff.
* elf32-sh64.c, elf64-sh64.c: Likewise.
2001-03-12 DJ Delorie <dj@redhat.com>
* elf32-sh.c (sh_elf_relax_section): Don't relax SHmedia
sections.
2001-03-12 DJ Delorie <dj@redhat.com>
* elf32-sh64.c (shmedia_prepare_reloc): Validate relocs that must
be aligned.
* elf64-sh64.c (sh_elf64_relocate_section): Ditto.
2001-01-14 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh64.c (bfd_elf32_bfd_copy_private_section_data): Define.
(sh64_elf_fake_sections): Set type to SHT_SH5_CR_SORTED for a
.cranges section with SEC_SORT_ENTRIES set.
(sh64_backend_section_from_shdr): Set SEC_SORT_ENTRIES on an
incoming sorted .cranges section.
(sh64_bfd_elf_copy_private_section_data): New.
(sh64_elf_final_write_processing): Only sort .cranges and modify
start address if called by linker.
2001-01-08 Ben Elliston <bje@redhat.com>
* elf32-sh64.c (sh64_elf_final_write_processing): Activate
Hans-Peter Nilsson's set bit 0 patch from 2001-01-06.
* elf64-sh64.c (sh64_elf64_final_write_processing): Ditto.
2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com>
* elf64-sh64.c (sh_elf64_howto_table): No open brace at start of
line. Add comments before all entries.
<R_SH_PT_16, R_SH_SHMEDIA_CODE>: Correct and clarify describing
comment.
(sh_elf64_reloc): Correct head comment.
(sh_elf64_relocate_section): Correct spacing.
<relocating for a local symbol>: Do not honour STO_SH5_ISA32;
instead call reloc_dangerous callback.
<case R_SH_SHMEDIA_CODE>: New case.
(sh_elf64_gc_mark_hook): Correct spacing.
(sh_elf64_check_relocs): Ditto.
* elf32-sh64.c (shmedia_prepare_reloc) <case R_SH_SHMEDIA_CODE>:
New case.
* elf32-sh.c: Correct #endif comments for #ifndef-wrapped
functions.
(sh_elf_howto_table) <R_SH_PT_16, R_SH_SHMEDIA_CODE>: Correct,
clarify describing comment. Add comments before all entries.
(sh_elf_relocate_section) <relocating for a local symbol>: Do not
honour STO_SH5_ISA32; instead call reloc_dangerous callback.
2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com>
Sort .cranges section in final link. Prepare to set bit 0 on
entry address.
* elf32-sh64.c (struct sh64_find_section_vma_data): New.
(sh64_elf_link_output_symbol_hook): Fix typo in prototype.
(sh64_elf_set_mach_from_flags): Set SEC_DEBUGGING on incoming
.cranges section.
(sh64_backend_section_from_shdr): New, to recognize
SHT_SH5_CR_SORTED on incoming .cranges section.
(elf_backend_section_from_shdr): Define.
(sh64_elf_final_write_processing): Sort outgoing .cranges
section. (New, temporarily disabled:) Set bit 0 on entry address
according to ISA type.
(sh64_find_section_for_address): New.
(crange_qsort_cmpb, crange_qsort_cmpl, crange_bsearch_cmpb,
crange_bsearch_cmpl): Move here from opcodes/sh64-dis.c.
(sh64_address_in_cranges): Move here from opcodes/sh64-dis.c. Use
bfd_malloc, not xmalloc.
(sh64_get_contents_type): Move here from opcodes/sh64-dis.c. Make
global.
* elf32-sh64.c (sh64_elf64_final_write_processing): New, (but
temporarily disabled) setting bit 0 on entry address.
(elf_backend_final_write_processing): Define.
2001-01-05 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh.c (sh_elf_howto_table) <R_SH_PT_16>: Adjust fields to
be a proper relocation for PTA and PTB rather than a marker.
<R_SH_IMMU5, R_SH_IMMS6, R_SH_IMMU6, R_SH_IMMS10, R_SH_IMMS10BY2,
R_SH_IMMS10BY4, R_SH_IMMS10BY8, R_SH_IMMS16, R_SH_IMMU16,
R_SH_IMM_LOW16, R_SH_IMM_LOW16_PCREL, R_SH_IMM_MEDLOW16,
R_SH_IMM_MEDLOW16_PCREL, R_SH_IMM_MEDHI16, R_SH_IMM_MEDHI16_PCREL,
R_SH_IMM_HI16, R_SH_IMM_HI16_PCREL, R_SH_64, R_SH_64_PCREL>:
Zero src_mask.
* elf64-sh64.c: Ditto.
(sh_elf64_relocate_section) <case R_SH_PT_16>: New case.
* elf32-sh64.c: Include opcodes/sh64-opc.h
(shmedia_prepare_reloc): Take a bfd_link_info pointer as first
argument. Drop const qualifiers from "bfd *" and "bfd_byte *"
parameters. No unused parameters. Caller changed.
<case R_SH_PT_16>: New case.
* Makefile.am (elf32-sh64.lo): Add dependency on sh64-opc.h.
* Makefile.in: Regenerate.
2000-12-30 Hans-Peter Nilsson <hpn@cygnus.com>
* elf64-sh64.c (sh64_elf64_fake_sections): Set SHF_SH5_ISA32 for
all code sections.
(sh_elf64_set_mach_from_flags): Change from EF_SH64 to EF_SH5.
(sh64_elf_merge_private_data): Ditto.
* elf32-sh64.c (sh64_elf_fake_sections): Use sh64_elf_section_data
to access stored section flags.
(sh64_elf_final_write_processing): Return immediately unless
called by linker. Use sh64_elf_section_data (cranges) to get size
of linker-generated cranges entries.
(sh64_elf_copy_private_data): Add missing "return true".
(sh64_elf_set_mach_from_flags): Change from EF_SH64 to EF_SH5.
(sh_elf64_merge_private_data): Ditto.
2000-12-19 Hans-Peter Nilsson <hpn@cygnus.com>
* elf64-sh64.c (sh64_elf64_fake_sections): New, copy of
elf64-sh64.c:sh64_elf_fake_sections.
(elf_backend_fake_sections): Define as sh64_elf64_fake_sections.
2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh64.c (sh64_elf_copy_private_data_internal): Delete.
(sh64_elf_final_write_processing): New.
(elf_backend_final_write_processing): Define.
(sh64_elf_fake_sections): Get header flags from tdata field.
(sh64_elf_copy_private_data): Do not call
sh64_elf_copy_private_data_internal, just copy e_flags field.
(sh64_elf_merge_private_data): Do not call
sh64_elf_copy_private_data_internal.
2000-12-12 Hans-Peter Nilsson <hpn@cygnus.com>
Remove EF_SH64_ABI64, let ELF size make difference.
Remove SH64-specific BFD section flag.
* elf32-sh64.c (sh64_elf_fake_sections): Recognize section as
containing SHmedia through elf_section_data (asect)->tdata
non-zero, not using a BFD section flag.
(sh64_elf_set_mach_from_flags): Don't recognize EF_SH64_ABI64.
(sh64_elf_merge_private_data): Similar.
(elf_backend_section_flags): Don't define.
(sh64_elf_backend_section_flags): Delete.
* elf64-sh64.c (sh_elf64_set_mach_from_flags): Recognize EF_SH64,
not EF_SH64_ABI64.
(sh_elf64_merge_private_data): Similar.
* section.c (Section flags definitions): Don't define
SEC_SH_ISA_SHMEDIA.
(bfd-in2.h): Regenerate.
2000-12-09 Hans-Peter Nilsson <hpn@cygnus.com>
Make DataLabel references work with partial linking.
* elf32-sh64.c: Fix formatting.
(sh64_elf_link_output_symbol_hook): New.
(elf_backend_link_output_symbol_hook): Define to
sh64_elf_link_output_symbol_hook.
(sh64_elf_add_symbol_hook): Make DataLabel symbol just global
undefined if partial linking. Adjust sanity check.
* elf64-sh64.c (sh64_elf64_link_output_symbol_hook): New.
(elf_backend_link_output_symbol_hook): Define to
sh64_elf64_link_output_symbol_hook.
(sh64_elf64_add_symbol_hook): Make DataLabel symbol just global
undefined if partial linking. Adjust sanity check.
2000-12-07 Hans-Peter Nilsson <hpn@cygnus.com>
Implement semantics for inter-file DataLabel references.
* elf64-sh64.c (DATALABEL_SUFFIX): Define.
(sh64_elf64_add_symbol_hook): New.
(sh_elf64_relocate_section): If passing an indirect symbol with
st_type STT_DATALABEL on the way to a symbol with st_other
STO_SH5_ISA32, do not bitor 1 to the relocation.
(elf_backend_add_symbol_hook): Define to
sh64_elf64_add_symbol_hook.
* elf64-sh32.c: Tweak comments.
(DATALABEL_SUFFIX): Define.
(sh64_elf_add_symbol_hook): New.
(elf_backend_add_symbol_hook): Define to sh64_elf_add_symbol_hook.
* elf32-sh.c (sh_elf_relocate_section): If passing an indirect
symbol with st_type STT_DATALABEL on the way to a symbol with
st_other STO_SH5_ISA32, do not bitor 1 to the relocation.
2000-12-05 Hans-Peter Nilsson <hpn@cygnus.com>
Pass through STT_DATALABEL.
* elf32-sh64.c (sh64_elf_get_symbol_type): New.
(elf_backend_get_symbol_type): Define.
* elf64-sh64.c (sh64_elf64_get_symbol_type): New.
(elf_backend_get_symbol_type): Define.
2000-11-30 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh64.c: Tweak comments.
(sh64_elf_copy_private_data_internal): Add prototype.
(bfd_elf32_bfd_set_private_flags): Define.
(sh64_elf_copy_private_data_internal): Compare machine name, not
textual BFD target name, to check whether to copy section flag
SHF_SH5_ISA32.
(sh64_elf_merge_private_data): Validize bfd_get_arch_size.
Tweak section-contents-type-mismatch message.
(shmedia_prepare_reloc): Add ATTRIBUTE_UNUSED markers.
Validize reloc-types.
* elf64-sh64.c: New file.
* targets.c (bfd_elf64_sh64_vec, bfd_elf64_sh64l_vec): Declare.
* Makefile.am (BFD64_BACKENDS): Add elf64-sh64.lo.
(BFD64_BACKENDS_CFILES): Add elf64-sh64.c.
Regenerate dependencies.
* Makefile.in: Regenerate.
* config.bfd (sh64-*-elf*): Add bfd_elf64_sh64_vec and
bfd_elf64_sh64l_vec.
* configure.in: Handle bfd_elf64_sh64_vec and
bfd_elf64_sh64l_vec.
* configure: Regenerate.
* po/POTFILES.in: Regenerate.
* po/bfd.pot: Regenerate.
2000-11-29 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh64.c (sh64_elf_set_mach_from_flags): Do not recognize
anything else but EF_SH64 and EF_SH64_ABI64.
(sh64_elf_merge_private_data): Emit error for anything else but
EF_SH64 and EF_SH64_ABI64.
* config.bfd: Remove bfd_elf32_shblin_vec and bfd_elf32_shlin_vec
from targ_selvecs.
* configure.in: Add cofflink.lo to bfd_elf32_sh64_vec and
bfd_elf32_sh64l_vec as a temporary measure.
* configure: Regenerate.
2000-11-27 Hans-Peter Nilsson <hpn@cygnus.com>
* cpu-sh.c (arch_info_struct): Include sh5 item
unconditionalized.
* config.bfd (sh64-*-elf*): Do not set targ_cflags.
Add targ_selvecs bfd_elf32_sh_vec, bfd_elf32_shl_vec,
bfd_elf32_shblin_vec and bfd_elf32_shlin_vec.
* elf32-sh64.c: Tweak comments.
(sh64_elf_set_mach_from_flags): Recognize all machine flags that
are proper subsets of SH64 as bfd_mach_sh5. Add EF_SH64_ABI64.
(sh64_elf_copy_private_data_internal): Wrap long line.
(sh64_elf_merge_private_data): Rewrite to allow objects from
SH64 subsets to be linked together.
(INCLUDE_SHMEDIA): Define.
* elf32-sh.c (sh_elf_relocate_section) <local symbol>:
Parenthesize plus-expression inside or-expression.
<global symbol>: Ditto.
(sh_elf_set_mach_from_flags): Remove code refusing
deleted EF_SH64_32BIT_ABI flag.
2000-11-26 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh.c (sh_elf_howto_table) <R_SH_IMM_LOW16_PCREL,
R_SH_IMM_MEDLOW16_PCREL, R_SH_IMM_MEDHI16_PCREL,
R_SH_IMM_HI16_PCREL, R_SH_64_PCREL>: Set pcrel_offset to true.
(sh_elf_relocate_section) <local symbol>: Or 1 in
calculation of relocation if sym->st_other & STO_SH5_ISA32.
<global symbol>: Ditto if h->other & STO_SH5_ISA32.
* elf32-sh64.c (shmedia_prepare_reloc): Add rel->r_addend to
relocation.
2000-11-24 Hans-Peter Nilsson <hpn@cygnus.com>
* Makefile.am (BFD32_BACKENDS): Add elf32-sh64.lo.
(BFD32_BACKENDS_CFILES): Add elf32-sh64.c.
Regenerate dependencies.
* Makefile.in: Regenerate.
* archures.c: Add bfd_mach_sh5.
* config.bfd: Map targ_cpu sh* to bfd_sh_arch.
Handle sh64-*-elf*. Set targ_cflags to -DINCLUDE_SHMEDIA.
* configure.in: Handle bfd_elf32_sh64_vec and bfd_elf32_sh64l_vec.
* configure: Regenerate.
* reloc.c (BFD_RELOC_SH_SHMEDIA_CODE, BFD_RELOC_SH_IMMU5,
BFD_RELOC_SH_IMMS6, BFD_RELOC_SH_IMMS6BY32, BFD_RELOC_SH_IMMU6,
BFD_RELOC_SH_IMMS10, BFD_RELOC_SH_IMMS10BY2,
BFD_RELOC_SH_IMMS10BY4, BFD_RELOC_SH_IMMS10BY8,
BFD_RELOC_SH_IMMS16, BFD_RELOC_SH_IMMU16, BFD_RELOC_SH_IMM_LOW16,
BFD_RELOC_SH_IMM_LOW16_PCREL, BFD_RELOC_SH_IMM_MEDLOW16,
BFD_RELOC_SH_IMM_MEDLOW16_PCREL, BFD_RELOC_SH_IMM_MEDHI16,
BFD_RELOC_SH_IMM_MEDHI16_PCREL, BFD_RELOC_SH_IMM_HI16,
BFD_RELOC_SH_IMM_HI16_PCREL, BFD_RELOC_SH_PT_16): New relocations.
* cpu-sh.c [INCLUDE_SHMEDIA] (arch_info_struct): Define and link
in item for SH5.
* elf32-sh.c [INCLUDE_SHMEDIA] (sh_elf_howto_table): Add howto items
for SHmedia relocs.
[INCLUDE_SHMEDIA] (sh_rel): Add mappings for SHmedia relocs.
[INCLUDE_SHMEDIA] (sh_elf_relocate_section) [default]: Call
shmedia_prepare_reloc, goto final_link_relocate if it returns
non-zero, else fail as before.
(sh_elf_set_mach_from_flags): Provide function only if not defined
as macro. Do not recognize objects with EF_SH64_32BIT_ABI set.
(sh_elf_set_private_flags): Provide function only if not defined
as a macro.
(sh_elf_copy_private_data): Similar.
(sh_elf_merge_private_data): Similar.
* section.c (SEC_SH_ISA_SHMEDIA): New.
* targets.c (bfd_elf32_sh64_vec, bfd_elf32_sh64l_vec): Declare.
* elf32-sh64.c: New file.
* libbfd.h: Regenerate.
* bfd-in2.h: Regenerate.
* po/POTFILES.in: Regenerate.
* po/bfd.pot: Regenerate.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.
2002-02-08 13:33:27 +08:00
|
|
|
"ERROR: %s passes floats in integer registers, whereas %s passes them in "
|
|
|
|
"float registers"
|
1999-05-03 15:29:11 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: coff-arm.c:2298
|
1999-05-03 15:29:11 +08:00
|
|
|
#, c-format
|
|
|
|
msgid ""
|
Contribute sh64-elf.
2002-01-23 Alexandre Oliva <aoliva@redhat.com>
* reloc.c (R_SH_GOTPLT32, R_SH_GOT_LOW16, R_SH_GOT_MEDLOW16,
R_SH_GOT_MEDHI16, R_SH_GOT_HI16, R_SH_GOTPLT_LOW16,
R_SH_GOTPLT_MEDLOW16, R_SH_GOTPLT_MEDHI16, R_SH_GOTPLT_HI16,
R_SH_PLT_LOW16, R_SH_PLT_MEDLOW16, R_SH_PLT_MEDHI16,
R_SH_PLT_HI16, R_SH_GOTOFF_LOW16, R_SH_GOTOFF_MEDLOW16,
R_SH_GOTOFF_MEDHI16, R_SH_GOTOFF_HI16, R_SH_GOTPC_LOW16,
R_SH_GOTPC_MEDLOW16, R_SH_GOTPC_MEDHI16, R_SH_GOTPC_HI16,
R_SH_GOT10BY4, R_SH_GOTPLT10BY4, R_SH_GOT10BY8, R_SH_GOTPLT10BY8,
R_SH_COPY64, R_SH_GLOB_DAT64, R_SH_JMP_SLOT64, R_SH_RELATIVE64):
New relocs.
* libbfd.h, bfd-in2.h: Rebuilt.
* elf32-sh.c (sh_elf_howto_table): Define new relocs.
(sh_reloc_map): Map them.
(PLT_ENTRY_SIZE, elf_sh_plt0_entry_be, elf_sh_plt0_entry_le,
elf_sh_plt_entry_be, elf_sh_plt_entry_le, elf_sh_pic_plt_entry_be,
elf_sh_pic_plt_entry_le, elf_sh_plt0_entry, elf_sh_plt_entry,
elf_sh_pic_plt_entry, elf_sh_sizeof_plt, elf_sh_plt_plt0_offset,
elf_sh_plt0_gotplt_offset, elf_sh_plt_temp_offset,
elf_sh_plt_symbol_offset, elf_sh_plt_reloc_offset,
movi_shori_putval) [INCLUDE_SHMEDIA]: New.
(elf_sh_link_hash_entry) [INCLUDE_SHMEDIA]: Add
datalabel_got_offset.
(sh_elf_link_hash_newfunc): Initialize it.
(sh_elf_relocate_section): Augment the scope of
seen_stt_datalabel. Introduce GOTPLT support. Extend GOTPC, PLT,
GOT and GOTOFF handling to new SHmedia relocation types. Support
GOT_BIAS.
(sh_elf_check_relocs): Likewise.
(sh_elf_finish_dynamic_symbol) [TARGET_SHMEDIA]: Set up values in
PLT entries using movi_shori_putval. Support GOT_BIAS.
(sh_elf_finish_dynamic_sections): Likewise.
* elf32-sh64.c (shmedia_prepare_reloc): Do not add addend to
relocation, it's now done by the caller.
(GOT_BIAS): New.
* elf64-sh64.c (GOT_BIAS, PLT_ENTRY_SIZE, elf_sh64_sizeof_plt,
elf_sh64_plt_plt0_offset, elf_sh64_plt0_gotplt_offset,
elf_sh64_plt_temp_offset, elf_sh64_plt_symbol_offset,
elf_sh64_plt_reloc_offset, ELF_DYNAMIC_INTERPRETER,
elf_sh64_pcrel_relocs_copied, elf_sh64_link_hash_entry,
elf_sh64_link_hash_table, sh64_elf64_link_hash_traverse,
sh64_elf64_hash_table): New.
(sh_elf64_howto_table): Introduce new relocs.
(sh_elf64_info_to_howto): Accept new PIC relocs.
(sh_elf64_relocate_section): Augment the scope of
seen_stt_datalabel. Support new PIC relocs.
(sh_elf64_check_relocs): Support new PIC relocs.
(elf_sh64_plt0_entry_be, elf_sh64_plt0_entry_le,
elf_sh64_plt_entry_be, elf_sh64_plt_entry_le,
elf_sh64_pic_plt_entry_be, elf_sh64_pic_plt_entry_le,
elf_sh64_plt0_entry, elf_sh64_plt_entry, elf_sh64_pic_plt_entry,
sh64_elf64_link_hash_newfunc, sh64_elf64_link_hash_table_create,
movi_shori_putval, movi_3shori_putval,
sh64_elf64_create_dynamic_sections,
sh64_elf64_adjust_dynamic_symbol, sh64_elf64_discard_copies,
sh64_elf64_size_dynamic_sections,
sh64_elf64_finish_dynamic_symbol,
sh64_elf64_finish_dynamic_sections): New.
(elf_backend_create_dynamic-sections,
bfd_elf64_bfd_link_hash_table_create,
elf_backend_adjust_dynamic_symbol,
elf_backend_size_dynamic_sections,
elf_backend_finish_dynamic_symbol,
elf_backend_finish_dynamic_sections, elf_backend_want_got_plt,
elf_backend_plt_readonly, elf_backend_want_plt_sym,
elf_backend_got_header_size, elf_backend_plt_header_size):
Define.
2001-05-16 Alexandre Oliva <aoliva@redhat.com>
* elf32-sh.c: Renumbered and renamed some SH5 relocations to
match official numbers and names; moved unmaching ones to the
range 0xf2-0xff.
* elf32-sh64.c, elf64-sh64.c: Likewise.
2001-03-12 DJ Delorie <dj@redhat.com>
* elf32-sh.c (sh_elf_relax_section): Don't relax SHmedia
sections.
2001-03-12 DJ Delorie <dj@redhat.com>
* elf32-sh64.c (shmedia_prepare_reloc): Validate relocs that must
be aligned.
* elf64-sh64.c (sh_elf64_relocate_section): Ditto.
2001-01-14 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh64.c (bfd_elf32_bfd_copy_private_section_data): Define.
(sh64_elf_fake_sections): Set type to SHT_SH5_CR_SORTED for a
.cranges section with SEC_SORT_ENTRIES set.
(sh64_backend_section_from_shdr): Set SEC_SORT_ENTRIES on an
incoming sorted .cranges section.
(sh64_bfd_elf_copy_private_section_data): New.
(sh64_elf_final_write_processing): Only sort .cranges and modify
start address if called by linker.
2001-01-08 Ben Elliston <bje@redhat.com>
* elf32-sh64.c (sh64_elf_final_write_processing): Activate
Hans-Peter Nilsson's set bit 0 patch from 2001-01-06.
* elf64-sh64.c (sh64_elf64_final_write_processing): Ditto.
2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com>
* elf64-sh64.c (sh_elf64_howto_table): No open brace at start of
line. Add comments before all entries.
<R_SH_PT_16, R_SH_SHMEDIA_CODE>: Correct and clarify describing
comment.
(sh_elf64_reloc): Correct head comment.
(sh_elf64_relocate_section): Correct spacing.
<relocating for a local symbol>: Do not honour STO_SH5_ISA32;
instead call reloc_dangerous callback.
<case R_SH_SHMEDIA_CODE>: New case.
(sh_elf64_gc_mark_hook): Correct spacing.
(sh_elf64_check_relocs): Ditto.
* elf32-sh64.c (shmedia_prepare_reloc) <case R_SH_SHMEDIA_CODE>:
New case.
* elf32-sh.c: Correct #endif comments for #ifndef-wrapped
functions.
(sh_elf_howto_table) <R_SH_PT_16, R_SH_SHMEDIA_CODE>: Correct,
clarify describing comment. Add comments before all entries.
(sh_elf_relocate_section) <relocating for a local symbol>: Do not
honour STO_SH5_ISA32; instead call reloc_dangerous callback.
2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com>
Sort .cranges section in final link. Prepare to set bit 0 on
entry address.
* elf32-sh64.c (struct sh64_find_section_vma_data): New.
(sh64_elf_link_output_symbol_hook): Fix typo in prototype.
(sh64_elf_set_mach_from_flags): Set SEC_DEBUGGING on incoming
.cranges section.
(sh64_backend_section_from_shdr): New, to recognize
SHT_SH5_CR_SORTED on incoming .cranges section.
(elf_backend_section_from_shdr): Define.
(sh64_elf_final_write_processing): Sort outgoing .cranges
section. (New, temporarily disabled:) Set bit 0 on entry address
according to ISA type.
(sh64_find_section_for_address): New.
(crange_qsort_cmpb, crange_qsort_cmpl, crange_bsearch_cmpb,
crange_bsearch_cmpl): Move here from opcodes/sh64-dis.c.
(sh64_address_in_cranges): Move here from opcodes/sh64-dis.c. Use
bfd_malloc, not xmalloc.
(sh64_get_contents_type): Move here from opcodes/sh64-dis.c. Make
global.
* elf32-sh64.c (sh64_elf64_final_write_processing): New, (but
temporarily disabled) setting bit 0 on entry address.
(elf_backend_final_write_processing): Define.
2001-01-05 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh.c (sh_elf_howto_table) <R_SH_PT_16>: Adjust fields to
be a proper relocation for PTA and PTB rather than a marker.
<R_SH_IMMU5, R_SH_IMMS6, R_SH_IMMU6, R_SH_IMMS10, R_SH_IMMS10BY2,
R_SH_IMMS10BY4, R_SH_IMMS10BY8, R_SH_IMMS16, R_SH_IMMU16,
R_SH_IMM_LOW16, R_SH_IMM_LOW16_PCREL, R_SH_IMM_MEDLOW16,
R_SH_IMM_MEDLOW16_PCREL, R_SH_IMM_MEDHI16, R_SH_IMM_MEDHI16_PCREL,
R_SH_IMM_HI16, R_SH_IMM_HI16_PCREL, R_SH_64, R_SH_64_PCREL>:
Zero src_mask.
* elf64-sh64.c: Ditto.
(sh_elf64_relocate_section) <case R_SH_PT_16>: New case.
* elf32-sh64.c: Include opcodes/sh64-opc.h
(shmedia_prepare_reloc): Take a bfd_link_info pointer as first
argument. Drop const qualifiers from "bfd *" and "bfd_byte *"
parameters. No unused parameters. Caller changed.
<case R_SH_PT_16>: New case.
* Makefile.am (elf32-sh64.lo): Add dependency on sh64-opc.h.
* Makefile.in: Regenerate.
2000-12-30 Hans-Peter Nilsson <hpn@cygnus.com>
* elf64-sh64.c (sh64_elf64_fake_sections): Set SHF_SH5_ISA32 for
all code sections.
(sh_elf64_set_mach_from_flags): Change from EF_SH64 to EF_SH5.
(sh64_elf_merge_private_data): Ditto.
* elf32-sh64.c (sh64_elf_fake_sections): Use sh64_elf_section_data
to access stored section flags.
(sh64_elf_final_write_processing): Return immediately unless
called by linker. Use sh64_elf_section_data (cranges) to get size
of linker-generated cranges entries.
(sh64_elf_copy_private_data): Add missing "return true".
(sh64_elf_set_mach_from_flags): Change from EF_SH64 to EF_SH5.
(sh_elf64_merge_private_data): Ditto.
2000-12-19 Hans-Peter Nilsson <hpn@cygnus.com>
* elf64-sh64.c (sh64_elf64_fake_sections): New, copy of
elf64-sh64.c:sh64_elf_fake_sections.
(elf_backend_fake_sections): Define as sh64_elf64_fake_sections.
2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh64.c (sh64_elf_copy_private_data_internal): Delete.
(sh64_elf_final_write_processing): New.
(elf_backend_final_write_processing): Define.
(sh64_elf_fake_sections): Get header flags from tdata field.
(sh64_elf_copy_private_data): Do not call
sh64_elf_copy_private_data_internal, just copy e_flags field.
(sh64_elf_merge_private_data): Do not call
sh64_elf_copy_private_data_internal.
2000-12-12 Hans-Peter Nilsson <hpn@cygnus.com>
Remove EF_SH64_ABI64, let ELF size make difference.
Remove SH64-specific BFD section flag.
* elf32-sh64.c (sh64_elf_fake_sections): Recognize section as
containing SHmedia through elf_section_data (asect)->tdata
non-zero, not using a BFD section flag.
(sh64_elf_set_mach_from_flags): Don't recognize EF_SH64_ABI64.
(sh64_elf_merge_private_data): Similar.
(elf_backend_section_flags): Don't define.
(sh64_elf_backend_section_flags): Delete.
* elf64-sh64.c (sh_elf64_set_mach_from_flags): Recognize EF_SH64,
not EF_SH64_ABI64.
(sh_elf64_merge_private_data): Similar.
* section.c (Section flags definitions): Don't define
SEC_SH_ISA_SHMEDIA.
(bfd-in2.h): Regenerate.
2000-12-09 Hans-Peter Nilsson <hpn@cygnus.com>
Make DataLabel references work with partial linking.
* elf32-sh64.c: Fix formatting.
(sh64_elf_link_output_symbol_hook): New.
(elf_backend_link_output_symbol_hook): Define to
sh64_elf_link_output_symbol_hook.
(sh64_elf_add_symbol_hook): Make DataLabel symbol just global
undefined if partial linking. Adjust sanity check.
* elf64-sh64.c (sh64_elf64_link_output_symbol_hook): New.
(elf_backend_link_output_symbol_hook): Define to
sh64_elf64_link_output_symbol_hook.
(sh64_elf64_add_symbol_hook): Make DataLabel symbol just global
undefined if partial linking. Adjust sanity check.
2000-12-07 Hans-Peter Nilsson <hpn@cygnus.com>
Implement semantics for inter-file DataLabel references.
* elf64-sh64.c (DATALABEL_SUFFIX): Define.
(sh64_elf64_add_symbol_hook): New.
(sh_elf64_relocate_section): If passing an indirect symbol with
st_type STT_DATALABEL on the way to a symbol with st_other
STO_SH5_ISA32, do not bitor 1 to the relocation.
(elf_backend_add_symbol_hook): Define to
sh64_elf64_add_symbol_hook.
* elf64-sh32.c: Tweak comments.
(DATALABEL_SUFFIX): Define.
(sh64_elf_add_symbol_hook): New.
(elf_backend_add_symbol_hook): Define to sh64_elf_add_symbol_hook.
* elf32-sh.c (sh_elf_relocate_section): If passing an indirect
symbol with st_type STT_DATALABEL on the way to a symbol with
st_other STO_SH5_ISA32, do not bitor 1 to the relocation.
2000-12-05 Hans-Peter Nilsson <hpn@cygnus.com>
Pass through STT_DATALABEL.
* elf32-sh64.c (sh64_elf_get_symbol_type): New.
(elf_backend_get_symbol_type): Define.
* elf64-sh64.c (sh64_elf64_get_symbol_type): New.
(elf_backend_get_symbol_type): Define.
2000-11-30 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh64.c: Tweak comments.
(sh64_elf_copy_private_data_internal): Add prototype.
(bfd_elf32_bfd_set_private_flags): Define.
(sh64_elf_copy_private_data_internal): Compare machine name, not
textual BFD target name, to check whether to copy section flag
SHF_SH5_ISA32.
(sh64_elf_merge_private_data): Validize bfd_get_arch_size.
Tweak section-contents-type-mismatch message.
(shmedia_prepare_reloc): Add ATTRIBUTE_UNUSED markers.
Validize reloc-types.
* elf64-sh64.c: New file.
* targets.c (bfd_elf64_sh64_vec, bfd_elf64_sh64l_vec): Declare.
* Makefile.am (BFD64_BACKENDS): Add elf64-sh64.lo.
(BFD64_BACKENDS_CFILES): Add elf64-sh64.c.
Regenerate dependencies.
* Makefile.in: Regenerate.
* config.bfd (sh64-*-elf*): Add bfd_elf64_sh64_vec and
bfd_elf64_sh64l_vec.
* configure.in: Handle bfd_elf64_sh64_vec and
bfd_elf64_sh64l_vec.
* configure: Regenerate.
* po/POTFILES.in: Regenerate.
* po/bfd.pot: Regenerate.
2000-11-29 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh64.c (sh64_elf_set_mach_from_flags): Do not recognize
anything else but EF_SH64 and EF_SH64_ABI64.
(sh64_elf_merge_private_data): Emit error for anything else but
EF_SH64 and EF_SH64_ABI64.
* config.bfd: Remove bfd_elf32_shblin_vec and bfd_elf32_shlin_vec
from targ_selvecs.
* configure.in: Add cofflink.lo to bfd_elf32_sh64_vec and
bfd_elf32_sh64l_vec as a temporary measure.
* configure: Regenerate.
2000-11-27 Hans-Peter Nilsson <hpn@cygnus.com>
* cpu-sh.c (arch_info_struct): Include sh5 item
unconditionalized.
* config.bfd (sh64-*-elf*): Do not set targ_cflags.
Add targ_selvecs bfd_elf32_sh_vec, bfd_elf32_shl_vec,
bfd_elf32_shblin_vec and bfd_elf32_shlin_vec.
* elf32-sh64.c: Tweak comments.
(sh64_elf_set_mach_from_flags): Recognize all machine flags that
are proper subsets of SH64 as bfd_mach_sh5. Add EF_SH64_ABI64.
(sh64_elf_copy_private_data_internal): Wrap long line.
(sh64_elf_merge_private_data): Rewrite to allow objects from
SH64 subsets to be linked together.
(INCLUDE_SHMEDIA): Define.
* elf32-sh.c (sh_elf_relocate_section) <local symbol>:
Parenthesize plus-expression inside or-expression.
<global symbol>: Ditto.
(sh_elf_set_mach_from_flags): Remove code refusing
deleted EF_SH64_32BIT_ABI flag.
2000-11-26 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh.c (sh_elf_howto_table) <R_SH_IMM_LOW16_PCREL,
R_SH_IMM_MEDLOW16_PCREL, R_SH_IMM_MEDHI16_PCREL,
R_SH_IMM_HI16_PCREL, R_SH_64_PCREL>: Set pcrel_offset to true.
(sh_elf_relocate_section) <local symbol>: Or 1 in
calculation of relocation if sym->st_other & STO_SH5_ISA32.
<global symbol>: Ditto if h->other & STO_SH5_ISA32.
* elf32-sh64.c (shmedia_prepare_reloc): Add rel->r_addend to
relocation.
2000-11-24 Hans-Peter Nilsson <hpn@cygnus.com>
* Makefile.am (BFD32_BACKENDS): Add elf32-sh64.lo.
(BFD32_BACKENDS_CFILES): Add elf32-sh64.c.
Regenerate dependencies.
* Makefile.in: Regenerate.
* archures.c: Add bfd_mach_sh5.
* config.bfd: Map targ_cpu sh* to bfd_sh_arch.
Handle sh64-*-elf*. Set targ_cflags to -DINCLUDE_SHMEDIA.
* configure.in: Handle bfd_elf32_sh64_vec and bfd_elf32_sh64l_vec.
* configure: Regenerate.
* reloc.c (BFD_RELOC_SH_SHMEDIA_CODE, BFD_RELOC_SH_IMMU5,
BFD_RELOC_SH_IMMS6, BFD_RELOC_SH_IMMS6BY32, BFD_RELOC_SH_IMMU6,
BFD_RELOC_SH_IMMS10, BFD_RELOC_SH_IMMS10BY2,
BFD_RELOC_SH_IMMS10BY4, BFD_RELOC_SH_IMMS10BY8,
BFD_RELOC_SH_IMMS16, BFD_RELOC_SH_IMMU16, BFD_RELOC_SH_IMM_LOW16,
BFD_RELOC_SH_IMM_LOW16_PCREL, BFD_RELOC_SH_IMM_MEDLOW16,
BFD_RELOC_SH_IMM_MEDLOW16_PCREL, BFD_RELOC_SH_IMM_MEDHI16,
BFD_RELOC_SH_IMM_MEDHI16_PCREL, BFD_RELOC_SH_IMM_HI16,
BFD_RELOC_SH_IMM_HI16_PCREL, BFD_RELOC_SH_PT_16): New relocations.
* cpu-sh.c [INCLUDE_SHMEDIA] (arch_info_struct): Define and link
in item for SH5.
* elf32-sh.c [INCLUDE_SHMEDIA] (sh_elf_howto_table): Add howto items
for SHmedia relocs.
[INCLUDE_SHMEDIA] (sh_rel): Add mappings for SHmedia relocs.
[INCLUDE_SHMEDIA] (sh_elf_relocate_section) [default]: Call
shmedia_prepare_reloc, goto final_link_relocate if it returns
non-zero, else fail as before.
(sh_elf_set_mach_from_flags): Provide function only if not defined
as macro. Do not recognize objects with EF_SH64_32BIT_ABI set.
(sh_elf_set_private_flags): Provide function only if not defined
as a macro.
(sh_elf_copy_private_data): Similar.
(sh_elf_merge_private_data): Similar.
* section.c (SEC_SH_ISA_SHMEDIA): New.
* targets.c (bfd_elf32_sh64_vec, bfd_elf32_sh64l_vec): Declare.
* elf32-sh64.c: New file.
* libbfd.h: Regenerate.
* bfd-in2.h: Regenerate.
* po/POTFILES.in: Regenerate.
* po/bfd.pot: Regenerate.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.
2002-02-08 13:33:27 +08:00
|
|
|
"ERROR: %s is compiled as position independent code, whereas target %s is "
|
1999-05-03 15:29:11 +08:00
|
|
|
"absolute position"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: coff-arm.c:2301
|
1999-05-03 15:29:11 +08:00
|
|
|
#, c-format
|
|
|
|
msgid ""
|
Contribute sh64-elf.
2002-01-23 Alexandre Oliva <aoliva@redhat.com>
* reloc.c (R_SH_GOTPLT32, R_SH_GOT_LOW16, R_SH_GOT_MEDLOW16,
R_SH_GOT_MEDHI16, R_SH_GOT_HI16, R_SH_GOTPLT_LOW16,
R_SH_GOTPLT_MEDLOW16, R_SH_GOTPLT_MEDHI16, R_SH_GOTPLT_HI16,
R_SH_PLT_LOW16, R_SH_PLT_MEDLOW16, R_SH_PLT_MEDHI16,
R_SH_PLT_HI16, R_SH_GOTOFF_LOW16, R_SH_GOTOFF_MEDLOW16,
R_SH_GOTOFF_MEDHI16, R_SH_GOTOFF_HI16, R_SH_GOTPC_LOW16,
R_SH_GOTPC_MEDLOW16, R_SH_GOTPC_MEDHI16, R_SH_GOTPC_HI16,
R_SH_GOT10BY4, R_SH_GOTPLT10BY4, R_SH_GOT10BY8, R_SH_GOTPLT10BY8,
R_SH_COPY64, R_SH_GLOB_DAT64, R_SH_JMP_SLOT64, R_SH_RELATIVE64):
New relocs.
* libbfd.h, bfd-in2.h: Rebuilt.
* elf32-sh.c (sh_elf_howto_table): Define new relocs.
(sh_reloc_map): Map them.
(PLT_ENTRY_SIZE, elf_sh_plt0_entry_be, elf_sh_plt0_entry_le,
elf_sh_plt_entry_be, elf_sh_plt_entry_le, elf_sh_pic_plt_entry_be,
elf_sh_pic_plt_entry_le, elf_sh_plt0_entry, elf_sh_plt_entry,
elf_sh_pic_plt_entry, elf_sh_sizeof_plt, elf_sh_plt_plt0_offset,
elf_sh_plt0_gotplt_offset, elf_sh_plt_temp_offset,
elf_sh_plt_symbol_offset, elf_sh_plt_reloc_offset,
movi_shori_putval) [INCLUDE_SHMEDIA]: New.
(elf_sh_link_hash_entry) [INCLUDE_SHMEDIA]: Add
datalabel_got_offset.
(sh_elf_link_hash_newfunc): Initialize it.
(sh_elf_relocate_section): Augment the scope of
seen_stt_datalabel. Introduce GOTPLT support. Extend GOTPC, PLT,
GOT and GOTOFF handling to new SHmedia relocation types. Support
GOT_BIAS.
(sh_elf_check_relocs): Likewise.
(sh_elf_finish_dynamic_symbol) [TARGET_SHMEDIA]: Set up values in
PLT entries using movi_shori_putval. Support GOT_BIAS.
(sh_elf_finish_dynamic_sections): Likewise.
* elf32-sh64.c (shmedia_prepare_reloc): Do not add addend to
relocation, it's now done by the caller.
(GOT_BIAS): New.
* elf64-sh64.c (GOT_BIAS, PLT_ENTRY_SIZE, elf_sh64_sizeof_plt,
elf_sh64_plt_plt0_offset, elf_sh64_plt0_gotplt_offset,
elf_sh64_plt_temp_offset, elf_sh64_plt_symbol_offset,
elf_sh64_plt_reloc_offset, ELF_DYNAMIC_INTERPRETER,
elf_sh64_pcrel_relocs_copied, elf_sh64_link_hash_entry,
elf_sh64_link_hash_table, sh64_elf64_link_hash_traverse,
sh64_elf64_hash_table): New.
(sh_elf64_howto_table): Introduce new relocs.
(sh_elf64_info_to_howto): Accept new PIC relocs.
(sh_elf64_relocate_section): Augment the scope of
seen_stt_datalabel. Support new PIC relocs.
(sh_elf64_check_relocs): Support new PIC relocs.
(elf_sh64_plt0_entry_be, elf_sh64_plt0_entry_le,
elf_sh64_plt_entry_be, elf_sh64_plt_entry_le,
elf_sh64_pic_plt_entry_be, elf_sh64_pic_plt_entry_le,
elf_sh64_plt0_entry, elf_sh64_plt_entry, elf_sh64_pic_plt_entry,
sh64_elf64_link_hash_newfunc, sh64_elf64_link_hash_table_create,
movi_shori_putval, movi_3shori_putval,
sh64_elf64_create_dynamic_sections,
sh64_elf64_adjust_dynamic_symbol, sh64_elf64_discard_copies,
sh64_elf64_size_dynamic_sections,
sh64_elf64_finish_dynamic_symbol,
sh64_elf64_finish_dynamic_sections): New.
(elf_backend_create_dynamic-sections,
bfd_elf64_bfd_link_hash_table_create,
elf_backend_adjust_dynamic_symbol,
elf_backend_size_dynamic_sections,
elf_backend_finish_dynamic_symbol,
elf_backend_finish_dynamic_sections, elf_backend_want_got_plt,
elf_backend_plt_readonly, elf_backend_want_plt_sym,
elf_backend_got_header_size, elf_backend_plt_header_size):
Define.
2001-05-16 Alexandre Oliva <aoliva@redhat.com>
* elf32-sh.c: Renumbered and renamed some SH5 relocations to
match official numbers and names; moved unmaching ones to the
range 0xf2-0xff.
* elf32-sh64.c, elf64-sh64.c: Likewise.
2001-03-12 DJ Delorie <dj@redhat.com>
* elf32-sh.c (sh_elf_relax_section): Don't relax SHmedia
sections.
2001-03-12 DJ Delorie <dj@redhat.com>
* elf32-sh64.c (shmedia_prepare_reloc): Validate relocs that must
be aligned.
* elf64-sh64.c (sh_elf64_relocate_section): Ditto.
2001-01-14 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh64.c (bfd_elf32_bfd_copy_private_section_data): Define.
(sh64_elf_fake_sections): Set type to SHT_SH5_CR_SORTED for a
.cranges section with SEC_SORT_ENTRIES set.
(sh64_backend_section_from_shdr): Set SEC_SORT_ENTRIES on an
incoming sorted .cranges section.
(sh64_bfd_elf_copy_private_section_data): New.
(sh64_elf_final_write_processing): Only sort .cranges and modify
start address if called by linker.
2001-01-08 Ben Elliston <bje@redhat.com>
* elf32-sh64.c (sh64_elf_final_write_processing): Activate
Hans-Peter Nilsson's set bit 0 patch from 2001-01-06.
* elf64-sh64.c (sh64_elf64_final_write_processing): Ditto.
2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com>
* elf64-sh64.c (sh_elf64_howto_table): No open brace at start of
line. Add comments before all entries.
<R_SH_PT_16, R_SH_SHMEDIA_CODE>: Correct and clarify describing
comment.
(sh_elf64_reloc): Correct head comment.
(sh_elf64_relocate_section): Correct spacing.
<relocating for a local symbol>: Do not honour STO_SH5_ISA32;
instead call reloc_dangerous callback.
<case R_SH_SHMEDIA_CODE>: New case.
(sh_elf64_gc_mark_hook): Correct spacing.
(sh_elf64_check_relocs): Ditto.
* elf32-sh64.c (shmedia_prepare_reloc) <case R_SH_SHMEDIA_CODE>:
New case.
* elf32-sh.c: Correct #endif comments for #ifndef-wrapped
functions.
(sh_elf_howto_table) <R_SH_PT_16, R_SH_SHMEDIA_CODE>: Correct,
clarify describing comment. Add comments before all entries.
(sh_elf_relocate_section) <relocating for a local symbol>: Do not
honour STO_SH5_ISA32; instead call reloc_dangerous callback.
2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com>
Sort .cranges section in final link. Prepare to set bit 0 on
entry address.
* elf32-sh64.c (struct sh64_find_section_vma_data): New.
(sh64_elf_link_output_symbol_hook): Fix typo in prototype.
(sh64_elf_set_mach_from_flags): Set SEC_DEBUGGING on incoming
.cranges section.
(sh64_backend_section_from_shdr): New, to recognize
SHT_SH5_CR_SORTED on incoming .cranges section.
(elf_backend_section_from_shdr): Define.
(sh64_elf_final_write_processing): Sort outgoing .cranges
section. (New, temporarily disabled:) Set bit 0 on entry address
according to ISA type.
(sh64_find_section_for_address): New.
(crange_qsort_cmpb, crange_qsort_cmpl, crange_bsearch_cmpb,
crange_bsearch_cmpl): Move here from opcodes/sh64-dis.c.
(sh64_address_in_cranges): Move here from opcodes/sh64-dis.c. Use
bfd_malloc, not xmalloc.
(sh64_get_contents_type): Move here from opcodes/sh64-dis.c. Make
global.
* elf32-sh64.c (sh64_elf64_final_write_processing): New, (but
temporarily disabled) setting bit 0 on entry address.
(elf_backend_final_write_processing): Define.
2001-01-05 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh.c (sh_elf_howto_table) <R_SH_PT_16>: Adjust fields to
be a proper relocation for PTA and PTB rather than a marker.
<R_SH_IMMU5, R_SH_IMMS6, R_SH_IMMU6, R_SH_IMMS10, R_SH_IMMS10BY2,
R_SH_IMMS10BY4, R_SH_IMMS10BY8, R_SH_IMMS16, R_SH_IMMU16,
R_SH_IMM_LOW16, R_SH_IMM_LOW16_PCREL, R_SH_IMM_MEDLOW16,
R_SH_IMM_MEDLOW16_PCREL, R_SH_IMM_MEDHI16, R_SH_IMM_MEDHI16_PCREL,
R_SH_IMM_HI16, R_SH_IMM_HI16_PCREL, R_SH_64, R_SH_64_PCREL>:
Zero src_mask.
* elf64-sh64.c: Ditto.
(sh_elf64_relocate_section) <case R_SH_PT_16>: New case.
* elf32-sh64.c: Include opcodes/sh64-opc.h
(shmedia_prepare_reloc): Take a bfd_link_info pointer as first
argument. Drop const qualifiers from "bfd *" and "bfd_byte *"
parameters. No unused parameters. Caller changed.
<case R_SH_PT_16>: New case.
* Makefile.am (elf32-sh64.lo): Add dependency on sh64-opc.h.
* Makefile.in: Regenerate.
2000-12-30 Hans-Peter Nilsson <hpn@cygnus.com>
* elf64-sh64.c (sh64_elf64_fake_sections): Set SHF_SH5_ISA32 for
all code sections.
(sh_elf64_set_mach_from_flags): Change from EF_SH64 to EF_SH5.
(sh64_elf_merge_private_data): Ditto.
* elf32-sh64.c (sh64_elf_fake_sections): Use sh64_elf_section_data
to access stored section flags.
(sh64_elf_final_write_processing): Return immediately unless
called by linker. Use sh64_elf_section_data (cranges) to get size
of linker-generated cranges entries.
(sh64_elf_copy_private_data): Add missing "return true".
(sh64_elf_set_mach_from_flags): Change from EF_SH64 to EF_SH5.
(sh_elf64_merge_private_data): Ditto.
2000-12-19 Hans-Peter Nilsson <hpn@cygnus.com>
* elf64-sh64.c (sh64_elf64_fake_sections): New, copy of
elf64-sh64.c:sh64_elf_fake_sections.
(elf_backend_fake_sections): Define as sh64_elf64_fake_sections.
2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh64.c (sh64_elf_copy_private_data_internal): Delete.
(sh64_elf_final_write_processing): New.
(elf_backend_final_write_processing): Define.
(sh64_elf_fake_sections): Get header flags from tdata field.
(sh64_elf_copy_private_data): Do not call
sh64_elf_copy_private_data_internal, just copy e_flags field.
(sh64_elf_merge_private_data): Do not call
sh64_elf_copy_private_data_internal.
2000-12-12 Hans-Peter Nilsson <hpn@cygnus.com>
Remove EF_SH64_ABI64, let ELF size make difference.
Remove SH64-specific BFD section flag.
* elf32-sh64.c (sh64_elf_fake_sections): Recognize section as
containing SHmedia through elf_section_data (asect)->tdata
non-zero, not using a BFD section flag.
(sh64_elf_set_mach_from_flags): Don't recognize EF_SH64_ABI64.
(sh64_elf_merge_private_data): Similar.
(elf_backend_section_flags): Don't define.
(sh64_elf_backend_section_flags): Delete.
* elf64-sh64.c (sh_elf64_set_mach_from_flags): Recognize EF_SH64,
not EF_SH64_ABI64.
(sh_elf64_merge_private_data): Similar.
* section.c (Section flags definitions): Don't define
SEC_SH_ISA_SHMEDIA.
(bfd-in2.h): Regenerate.
2000-12-09 Hans-Peter Nilsson <hpn@cygnus.com>
Make DataLabel references work with partial linking.
* elf32-sh64.c: Fix formatting.
(sh64_elf_link_output_symbol_hook): New.
(elf_backend_link_output_symbol_hook): Define to
sh64_elf_link_output_symbol_hook.
(sh64_elf_add_symbol_hook): Make DataLabel symbol just global
undefined if partial linking. Adjust sanity check.
* elf64-sh64.c (sh64_elf64_link_output_symbol_hook): New.
(elf_backend_link_output_symbol_hook): Define to
sh64_elf64_link_output_symbol_hook.
(sh64_elf64_add_symbol_hook): Make DataLabel symbol just global
undefined if partial linking. Adjust sanity check.
2000-12-07 Hans-Peter Nilsson <hpn@cygnus.com>
Implement semantics for inter-file DataLabel references.
* elf64-sh64.c (DATALABEL_SUFFIX): Define.
(sh64_elf64_add_symbol_hook): New.
(sh_elf64_relocate_section): If passing an indirect symbol with
st_type STT_DATALABEL on the way to a symbol with st_other
STO_SH5_ISA32, do not bitor 1 to the relocation.
(elf_backend_add_symbol_hook): Define to
sh64_elf64_add_symbol_hook.
* elf64-sh32.c: Tweak comments.
(DATALABEL_SUFFIX): Define.
(sh64_elf_add_symbol_hook): New.
(elf_backend_add_symbol_hook): Define to sh64_elf_add_symbol_hook.
* elf32-sh.c (sh_elf_relocate_section): If passing an indirect
symbol with st_type STT_DATALABEL on the way to a symbol with
st_other STO_SH5_ISA32, do not bitor 1 to the relocation.
2000-12-05 Hans-Peter Nilsson <hpn@cygnus.com>
Pass through STT_DATALABEL.
* elf32-sh64.c (sh64_elf_get_symbol_type): New.
(elf_backend_get_symbol_type): Define.
* elf64-sh64.c (sh64_elf64_get_symbol_type): New.
(elf_backend_get_symbol_type): Define.
2000-11-30 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh64.c: Tweak comments.
(sh64_elf_copy_private_data_internal): Add prototype.
(bfd_elf32_bfd_set_private_flags): Define.
(sh64_elf_copy_private_data_internal): Compare machine name, not
textual BFD target name, to check whether to copy section flag
SHF_SH5_ISA32.
(sh64_elf_merge_private_data): Validize bfd_get_arch_size.
Tweak section-contents-type-mismatch message.
(shmedia_prepare_reloc): Add ATTRIBUTE_UNUSED markers.
Validize reloc-types.
* elf64-sh64.c: New file.
* targets.c (bfd_elf64_sh64_vec, bfd_elf64_sh64l_vec): Declare.
* Makefile.am (BFD64_BACKENDS): Add elf64-sh64.lo.
(BFD64_BACKENDS_CFILES): Add elf64-sh64.c.
Regenerate dependencies.
* Makefile.in: Regenerate.
* config.bfd (sh64-*-elf*): Add bfd_elf64_sh64_vec and
bfd_elf64_sh64l_vec.
* configure.in: Handle bfd_elf64_sh64_vec and
bfd_elf64_sh64l_vec.
* configure: Regenerate.
* po/POTFILES.in: Regenerate.
* po/bfd.pot: Regenerate.
2000-11-29 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh64.c (sh64_elf_set_mach_from_flags): Do not recognize
anything else but EF_SH64 and EF_SH64_ABI64.
(sh64_elf_merge_private_data): Emit error for anything else but
EF_SH64 and EF_SH64_ABI64.
* config.bfd: Remove bfd_elf32_shblin_vec and bfd_elf32_shlin_vec
from targ_selvecs.
* configure.in: Add cofflink.lo to bfd_elf32_sh64_vec and
bfd_elf32_sh64l_vec as a temporary measure.
* configure: Regenerate.
2000-11-27 Hans-Peter Nilsson <hpn@cygnus.com>
* cpu-sh.c (arch_info_struct): Include sh5 item
unconditionalized.
* config.bfd (sh64-*-elf*): Do not set targ_cflags.
Add targ_selvecs bfd_elf32_sh_vec, bfd_elf32_shl_vec,
bfd_elf32_shblin_vec and bfd_elf32_shlin_vec.
* elf32-sh64.c: Tweak comments.
(sh64_elf_set_mach_from_flags): Recognize all machine flags that
are proper subsets of SH64 as bfd_mach_sh5. Add EF_SH64_ABI64.
(sh64_elf_copy_private_data_internal): Wrap long line.
(sh64_elf_merge_private_data): Rewrite to allow objects from
SH64 subsets to be linked together.
(INCLUDE_SHMEDIA): Define.
* elf32-sh.c (sh_elf_relocate_section) <local symbol>:
Parenthesize plus-expression inside or-expression.
<global symbol>: Ditto.
(sh_elf_set_mach_from_flags): Remove code refusing
deleted EF_SH64_32BIT_ABI flag.
2000-11-26 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh.c (sh_elf_howto_table) <R_SH_IMM_LOW16_PCREL,
R_SH_IMM_MEDLOW16_PCREL, R_SH_IMM_MEDHI16_PCREL,
R_SH_IMM_HI16_PCREL, R_SH_64_PCREL>: Set pcrel_offset to true.
(sh_elf_relocate_section) <local symbol>: Or 1 in
calculation of relocation if sym->st_other & STO_SH5_ISA32.
<global symbol>: Ditto if h->other & STO_SH5_ISA32.
* elf32-sh64.c (shmedia_prepare_reloc): Add rel->r_addend to
relocation.
2000-11-24 Hans-Peter Nilsson <hpn@cygnus.com>
* Makefile.am (BFD32_BACKENDS): Add elf32-sh64.lo.
(BFD32_BACKENDS_CFILES): Add elf32-sh64.c.
Regenerate dependencies.
* Makefile.in: Regenerate.
* archures.c: Add bfd_mach_sh5.
* config.bfd: Map targ_cpu sh* to bfd_sh_arch.
Handle sh64-*-elf*. Set targ_cflags to -DINCLUDE_SHMEDIA.
* configure.in: Handle bfd_elf32_sh64_vec and bfd_elf32_sh64l_vec.
* configure: Regenerate.
* reloc.c (BFD_RELOC_SH_SHMEDIA_CODE, BFD_RELOC_SH_IMMU5,
BFD_RELOC_SH_IMMS6, BFD_RELOC_SH_IMMS6BY32, BFD_RELOC_SH_IMMU6,
BFD_RELOC_SH_IMMS10, BFD_RELOC_SH_IMMS10BY2,
BFD_RELOC_SH_IMMS10BY4, BFD_RELOC_SH_IMMS10BY8,
BFD_RELOC_SH_IMMS16, BFD_RELOC_SH_IMMU16, BFD_RELOC_SH_IMM_LOW16,
BFD_RELOC_SH_IMM_LOW16_PCREL, BFD_RELOC_SH_IMM_MEDLOW16,
BFD_RELOC_SH_IMM_MEDLOW16_PCREL, BFD_RELOC_SH_IMM_MEDHI16,
BFD_RELOC_SH_IMM_MEDHI16_PCREL, BFD_RELOC_SH_IMM_HI16,
BFD_RELOC_SH_IMM_HI16_PCREL, BFD_RELOC_SH_PT_16): New relocations.
* cpu-sh.c [INCLUDE_SHMEDIA] (arch_info_struct): Define and link
in item for SH5.
* elf32-sh.c [INCLUDE_SHMEDIA] (sh_elf_howto_table): Add howto items
for SHmedia relocs.
[INCLUDE_SHMEDIA] (sh_rel): Add mappings for SHmedia relocs.
[INCLUDE_SHMEDIA] (sh_elf_relocate_section) [default]: Call
shmedia_prepare_reloc, goto final_link_relocate if it returns
non-zero, else fail as before.
(sh_elf_set_mach_from_flags): Provide function only if not defined
as macro. Do not recognize objects with EF_SH64_32BIT_ABI set.
(sh_elf_set_private_flags): Provide function only if not defined
as a macro.
(sh_elf_copy_private_data): Similar.
(sh_elf_merge_private_data): Similar.
* section.c (SEC_SH_ISA_SHMEDIA): New.
* targets.c (bfd_elf32_sh64_vec, bfd_elf32_sh64l_vec): Declare.
* elf32-sh64.c: New file.
* libbfd.h: Regenerate.
* bfd-in2.h: Regenerate.
* po/POTFILES.in: Regenerate.
* po/bfd.pot: Regenerate.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.
2002-02-08 13:33:27 +08:00
|
|
|
"ERROR: %s is compiled as absolute position code, whereas target %s is "
|
|
|
|
"position independent"
|
1999-05-03 15:29:11 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: coff-arm.c:2330 elf32-arm.h:2405
|
1999-05-03 15:29:11 +08:00
|
|
|
#, c-format
|
Contribute sh64-elf.
2002-01-23 Alexandre Oliva <aoliva@redhat.com>
* reloc.c (R_SH_GOTPLT32, R_SH_GOT_LOW16, R_SH_GOT_MEDLOW16,
R_SH_GOT_MEDHI16, R_SH_GOT_HI16, R_SH_GOTPLT_LOW16,
R_SH_GOTPLT_MEDLOW16, R_SH_GOTPLT_MEDHI16, R_SH_GOTPLT_HI16,
R_SH_PLT_LOW16, R_SH_PLT_MEDLOW16, R_SH_PLT_MEDHI16,
R_SH_PLT_HI16, R_SH_GOTOFF_LOW16, R_SH_GOTOFF_MEDLOW16,
R_SH_GOTOFF_MEDHI16, R_SH_GOTOFF_HI16, R_SH_GOTPC_LOW16,
R_SH_GOTPC_MEDLOW16, R_SH_GOTPC_MEDHI16, R_SH_GOTPC_HI16,
R_SH_GOT10BY4, R_SH_GOTPLT10BY4, R_SH_GOT10BY8, R_SH_GOTPLT10BY8,
R_SH_COPY64, R_SH_GLOB_DAT64, R_SH_JMP_SLOT64, R_SH_RELATIVE64):
New relocs.
* libbfd.h, bfd-in2.h: Rebuilt.
* elf32-sh.c (sh_elf_howto_table): Define new relocs.
(sh_reloc_map): Map them.
(PLT_ENTRY_SIZE, elf_sh_plt0_entry_be, elf_sh_plt0_entry_le,
elf_sh_plt_entry_be, elf_sh_plt_entry_le, elf_sh_pic_plt_entry_be,
elf_sh_pic_plt_entry_le, elf_sh_plt0_entry, elf_sh_plt_entry,
elf_sh_pic_plt_entry, elf_sh_sizeof_plt, elf_sh_plt_plt0_offset,
elf_sh_plt0_gotplt_offset, elf_sh_plt_temp_offset,
elf_sh_plt_symbol_offset, elf_sh_plt_reloc_offset,
movi_shori_putval) [INCLUDE_SHMEDIA]: New.
(elf_sh_link_hash_entry) [INCLUDE_SHMEDIA]: Add
datalabel_got_offset.
(sh_elf_link_hash_newfunc): Initialize it.
(sh_elf_relocate_section): Augment the scope of
seen_stt_datalabel. Introduce GOTPLT support. Extend GOTPC, PLT,
GOT and GOTOFF handling to new SHmedia relocation types. Support
GOT_BIAS.
(sh_elf_check_relocs): Likewise.
(sh_elf_finish_dynamic_symbol) [TARGET_SHMEDIA]: Set up values in
PLT entries using movi_shori_putval. Support GOT_BIAS.
(sh_elf_finish_dynamic_sections): Likewise.
* elf32-sh64.c (shmedia_prepare_reloc): Do not add addend to
relocation, it's now done by the caller.
(GOT_BIAS): New.
* elf64-sh64.c (GOT_BIAS, PLT_ENTRY_SIZE, elf_sh64_sizeof_plt,
elf_sh64_plt_plt0_offset, elf_sh64_plt0_gotplt_offset,
elf_sh64_plt_temp_offset, elf_sh64_plt_symbol_offset,
elf_sh64_plt_reloc_offset, ELF_DYNAMIC_INTERPRETER,
elf_sh64_pcrel_relocs_copied, elf_sh64_link_hash_entry,
elf_sh64_link_hash_table, sh64_elf64_link_hash_traverse,
sh64_elf64_hash_table): New.
(sh_elf64_howto_table): Introduce new relocs.
(sh_elf64_info_to_howto): Accept new PIC relocs.
(sh_elf64_relocate_section): Augment the scope of
seen_stt_datalabel. Support new PIC relocs.
(sh_elf64_check_relocs): Support new PIC relocs.
(elf_sh64_plt0_entry_be, elf_sh64_plt0_entry_le,
elf_sh64_plt_entry_be, elf_sh64_plt_entry_le,
elf_sh64_pic_plt_entry_be, elf_sh64_pic_plt_entry_le,
elf_sh64_plt0_entry, elf_sh64_plt_entry, elf_sh64_pic_plt_entry,
sh64_elf64_link_hash_newfunc, sh64_elf64_link_hash_table_create,
movi_shori_putval, movi_3shori_putval,
sh64_elf64_create_dynamic_sections,
sh64_elf64_adjust_dynamic_symbol, sh64_elf64_discard_copies,
sh64_elf64_size_dynamic_sections,
sh64_elf64_finish_dynamic_symbol,
sh64_elf64_finish_dynamic_sections): New.
(elf_backend_create_dynamic-sections,
bfd_elf64_bfd_link_hash_table_create,
elf_backend_adjust_dynamic_symbol,
elf_backend_size_dynamic_sections,
elf_backend_finish_dynamic_symbol,
elf_backend_finish_dynamic_sections, elf_backend_want_got_plt,
elf_backend_plt_readonly, elf_backend_want_plt_sym,
elf_backend_got_header_size, elf_backend_plt_header_size):
Define.
2001-05-16 Alexandre Oliva <aoliva@redhat.com>
* elf32-sh.c: Renumbered and renamed some SH5 relocations to
match official numbers and names; moved unmaching ones to the
range 0xf2-0xff.
* elf32-sh64.c, elf64-sh64.c: Likewise.
2001-03-12 DJ Delorie <dj@redhat.com>
* elf32-sh.c (sh_elf_relax_section): Don't relax SHmedia
sections.
2001-03-12 DJ Delorie <dj@redhat.com>
* elf32-sh64.c (shmedia_prepare_reloc): Validate relocs that must
be aligned.
* elf64-sh64.c (sh_elf64_relocate_section): Ditto.
2001-01-14 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh64.c (bfd_elf32_bfd_copy_private_section_data): Define.
(sh64_elf_fake_sections): Set type to SHT_SH5_CR_SORTED for a
.cranges section with SEC_SORT_ENTRIES set.
(sh64_backend_section_from_shdr): Set SEC_SORT_ENTRIES on an
incoming sorted .cranges section.
(sh64_bfd_elf_copy_private_section_data): New.
(sh64_elf_final_write_processing): Only sort .cranges and modify
start address if called by linker.
2001-01-08 Ben Elliston <bje@redhat.com>
* elf32-sh64.c (sh64_elf_final_write_processing): Activate
Hans-Peter Nilsson's set bit 0 patch from 2001-01-06.
* elf64-sh64.c (sh64_elf64_final_write_processing): Ditto.
2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com>
* elf64-sh64.c (sh_elf64_howto_table): No open brace at start of
line. Add comments before all entries.
<R_SH_PT_16, R_SH_SHMEDIA_CODE>: Correct and clarify describing
comment.
(sh_elf64_reloc): Correct head comment.
(sh_elf64_relocate_section): Correct spacing.
<relocating for a local symbol>: Do not honour STO_SH5_ISA32;
instead call reloc_dangerous callback.
<case R_SH_SHMEDIA_CODE>: New case.
(sh_elf64_gc_mark_hook): Correct spacing.
(sh_elf64_check_relocs): Ditto.
* elf32-sh64.c (shmedia_prepare_reloc) <case R_SH_SHMEDIA_CODE>:
New case.
* elf32-sh.c: Correct #endif comments for #ifndef-wrapped
functions.
(sh_elf_howto_table) <R_SH_PT_16, R_SH_SHMEDIA_CODE>: Correct,
clarify describing comment. Add comments before all entries.
(sh_elf_relocate_section) <relocating for a local symbol>: Do not
honour STO_SH5_ISA32; instead call reloc_dangerous callback.
2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com>
Sort .cranges section in final link. Prepare to set bit 0 on
entry address.
* elf32-sh64.c (struct sh64_find_section_vma_data): New.
(sh64_elf_link_output_symbol_hook): Fix typo in prototype.
(sh64_elf_set_mach_from_flags): Set SEC_DEBUGGING on incoming
.cranges section.
(sh64_backend_section_from_shdr): New, to recognize
SHT_SH5_CR_SORTED on incoming .cranges section.
(elf_backend_section_from_shdr): Define.
(sh64_elf_final_write_processing): Sort outgoing .cranges
section. (New, temporarily disabled:) Set bit 0 on entry address
according to ISA type.
(sh64_find_section_for_address): New.
(crange_qsort_cmpb, crange_qsort_cmpl, crange_bsearch_cmpb,
crange_bsearch_cmpl): Move here from opcodes/sh64-dis.c.
(sh64_address_in_cranges): Move here from opcodes/sh64-dis.c. Use
bfd_malloc, not xmalloc.
(sh64_get_contents_type): Move here from opcodes/sh64-dis.c. Make
global.
* elf32-sh64.c (sh64_elf64_final_write_processing): New, (but
temporarily disabled) setting bit 0 on entry address.
(elf_backend_final_write_processing): Define.
2001-01-05 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh.c (sh_elf_howto_table) <R_SH_PT_16>: Adjust fields to
be a proper relocation for PTA and PTB rather than a marker.
<R_SH_IMMU5, R_SH_IMMS6, R_SH_IMMU6, R_SH_IMMS10, R_SH_IMMS10BY2,
R_SH_IMMS10BY4, R_SH_IMMS10BY8, R_SH_IMMS16, R_SH_IMMU16,
R_SH_IMM_LOW16, R_SH_IMM_LOW16_PCREL, R_SH_IMM_MEDLOW16,
R_SH_IMM_MEDLOW16_PCREL, R_SH_IMM_MEDHI16, R_SH_IMM_MEDHI16_PCREL,
R_SH_IMM_HI16, R_SH_IMM_HI16_PCREL, R_SH_64, R_SH_64_PCREL>:
Zero src_mask.
* elf64-sh64.c: Ditto.
(sh_elf64_relocate_section) <case R_SH_PT_16>: New case.
* elf32-sh64.c: Include opcodes/sh64-opc.h
(shmedia_prepare_reloc): Take a bfd_link_info pointer as first
argument. Drop const qualifiers from "bfd *" and "bfd_byte *"
parameters. No unused parameters. Caller changed.
<case R_SH_PT_16>: New case.
* Makefile.am (elf32-sh64.lo): Add dependency on sh64-opc.h.
* Makefile.in: Regenerate.
2000-12-30 Hans-Peter Nilsson <hpn@cygnus.com>
* elf64-sh64.c (sh64_elf64_fake_sections): Set SHF_SH5_ISA32 for
all code sections.
(sh_elf64_set_mach_from_flags): Change from EF_SH64 to EF_SH5.
(sh64_elf_merge_private_data): Ditto.
* elf32-sh64.c (sh64_elf_fake_sections): Use sh64_elf_section_data
to access stored section flags.
(sh64_elf_final_write_processing): Return immediately unless
called by linker. Use sh64_elf_section_data (cranges) to get size
of linker-generated cranges entries.
(sh64_elf_copy_private_data): Add missing "return true".
(sh64_elf_set_mach_from_flags): Change from EF_SH64 to EF_SH5.
(sh_elf64_merge_private_data): Ditto.
2000-12-19 Hans-Peter Nilsson <hpn@cygnus.com>
* elf64-sh64.c (sh64_elf64_fake_sections): New, copy of
elf64-sh64.c:sh64_elf_fake_sections.
(elf_backend_fake_sections): Define as sh64_elf64_fake_sections.
2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh64.c (sh64_elf_copy_private_data_internal): Delete.
(sh64_elf_final_write_processing): New.
(elf_backend_final_write_processing): Define.
(sh64_elf_fake_sections): Get header flags from tdata field.
(sh64_elf_copy_private_data): Do not call
sh64_elf_copy_private_data_internal, just copy e_flags field.
(sh64_elf_merge_private_data): Do not call
sh64_elf_copy_private_data_internal.
2000-12-12 Hans-Peter Nilsson <hpn@cygnus.com>
Remove EF_SH64_ABI64, let ELF size make difference.
Remove SH64-specific BFD section flag.
* elf32-sh64.c (sh64_elf_fake_sections): Recognize section as
containing SHmedia through elf_section_data (asect)->tdata
non-zero, not using a BFD section flag.
(sh64_elf_set_mach_from_flags): Don't recognize EF_SH64_ABI64.
(sh64_elf_merge_private_data): Similar.
(elf_backend_section_flags): Don't define.
(sh64_elf_backend_section_flags): Delete.
* elf64-sh64.c (sh_elf64_set_mach_from_flags): Recognize EF_SH64,
not EF_SH64_ABI64.
(sh_elf64_merge_private_data): Similar.
* section.c (Section flags definitions): Don't define
SEC_SH_ISA_SHMEDIA.
(bfd-in2.h): Regenerate.
2000-12-09 Hans-Peter Nilsson <hpn@cygnus.com>
Make DataLabel references work with partial linking.
* elf32-sh64.c: Fix formatting.
(sh64_elf_link_output_symbol_hook): New.
(elf_backend_link_output_symbol_hook): Define to
sh64_elf_link_output_symbol_hook.
(sh64_elf_add_symbol_hook): Make DataLabel symbol just global
undefined if partial linking. Adjust sanity check.
* elf64-sh64.c (sh64_elf64_link_output_symbol_hook): New.
(elf_backend_link_output_symbol_hook): Define to
sh64_elf64_link_output_symbol_hook.
(sh64_elf64_add_symbol_hook): Make DataLabel symbol just global
undefined if partial linking. Adjust sanity check.
2000-12-07 Hans-Peter Nilsson <hpn@cygnus.com>
Implement semantics for inter-file DataLabel references.
* elf64-sh64.c (DATALABEL_SUFFIX): Define.
(sh64_elf64_add_symbol_hook): New.
(sh_elf64_relocate_section): If passing an indirect symbol with
st_type STT_DATALABEL on the way to a symbol with st_other
STO_SH5_ISA32, do not bitor 1 to the relocation.
(elf_backend_add_symbol_hook): Define to
sh64_elf64_add_symbol_hook.
* elf64-sh32.c: Tweak comments.
(DATALABEL_SUFFIX): Define.
(sh64_elf_add_symbol_hook): New.
(elf_backend_add_symbol_hook): Define to sh64_elf_add_symbol_hook.
* elf32-sh.c (sh_elf_relocate_section): If passing an indirect
symbol with st_type STT_DATALABEL on the way to a symbol with
st_other STO_SH5_ISA32, do not bitor 1 to the relocation.
2000-12-05 Hans-Peter Nilsson <hpn@cygnus.com>
Pass through STT_DATALABEL.
* elf32-sh64.c (sh64_elf_get_symbol_type): New.
(elf_backend_get_symbol_type): Define.
* elf64-sh64.c (sh64_elf64_get_symbol_type): New.
(elf_backend_get_symbol_type): Define.
2000-11-30 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh64.c: Tweak comments.
(sh64_elf_copy_private_data_internal): Add prototype.
(bfd_elf32_bfd_set_private_flags): Define.
(sh64_elf_copy_private_data_internal): Compare machine name, not
textual BFD target name, to check whether to copy section flag
SHF_SH5_ISA32.
(sh64_elf_merge_private_data): Validize bfd_get_arch_size.
Tweak section-contents-type-mismatch message.
(shmedia_prepare_reloc): Add ATTRIBUTE_UNUSED markers.
Validize reloc-types.
* elf64-sh64.c: New file.
* targets.c (bfd_elf64_sh64_vec, bfd_elf64_sh64l_vec): Declare.
* Makefile.am (BFD64_BACKENDS): Add elf64-sh64.lo.
(BFD64_BACKENDS_CFILES): Add elf64-sh64.c.
Regenerate dependencies.
* Makefile.in: Regenerate.
* config.bfd (sh64-*-elf*): Add bfd_elf64_sh64_vec and
bfd_elf64_sh64l_vec.
* configure.in: Handle bfd_elf64_sh64_vec and
bfd_elf64_sh64l_vec.
* configure: Regenerate.
* po/POTFILES.in: Regenerate.
* po/bfd.pot: Regenerate.
2000-11-29 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh64.c (sh64_elf_set_mach_from_flags): Do not recognize
anything else but EF_SH64 and EF_SH64_ABI64.
(sh64_elf_merge_private_data): Emit error for anything else but
EF_SH64 and EF_SH64_ABI64.
* config.bfd: Remove bfd_elf32_shblin_vec and bfd_elf32_shlin_vec
from targ_selvecs.
* configure.in: Add cofflink.lo to bfd_elf32_sh64_vec and
bfd_elf32_sh64l_vec as a temporary measure.
* configure: Regenerate.
2000-11-27 Hans-Peter Nilsson <hpn@cygnus.com>
* cpu-sh.c (arch_info_struct): Include sh5 item
unconditionalized.
* config.bfd (sh64-*-elf*): Do not set targ_cflags.
Add targ_selvecs bfd_elf32_sh_vec, bfd_elf32_shl_vec,
bfd_elf32_shblin_vec and bfd_elf32_shlin_vec.
* elf32-sh64.c: Tweak comments.
(sh64_elf_set_mach_from_flags): Recognize all machine flags that
are proper subsets of SH64 as bfd_mach_sh5. Add EF_SH64_ABI64.
(sh64_elf_copy_private_data_internal): Wrap long line.
(sh64_elf_merge_private_data): Rewrite to allow objects from
SH64 subsets to be linked together.
(INCLUDE_SHMEDIA): Define.
* elf32-sh.c (sh_elf_relocate_section) <local symbol>:
Parenthesize plus-expression inside or-expression.
<global symbol>: Ditto.
(sh_elf_set_mach_from_flags): Remove code refusing
deleted EF_SH64_32BIT_ABI flag.
2000-11-26 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh.c (sh_elf_howto_table) <R_SH_IMM_LOW16_PCREL,
R_SH_IMM_MEDLOW16_PCREL, R_SH_IMM_MEDHI16_PCREL,
R_SH_IMM_HI16_PCREL, R_SH_64_PCREL>: Set pcrel_offset to true.
(sh_elf_relocate_section) <local symbol>: Or 1 in
calculation of relocation if sym->st_other & STO_SH5_ISA32.
<global symbol>: Ditto if h->other & STO_SH5_ISA32.
* elf32-sh64.c (shmedia_prepare_reloc): Add rel->r_addend to
relocation.
2000-11-24 Hans-Peter Nilsson <hpn@cygnus.com>
* Makefile.am (BFD32_BACKENDS): Add elf32-sh64.lo.
(BFD32_BACKENDS_CFILES): Add elf32-sh64.c.
Regenerate dependencies.
* Makefile.in: Regenerate.
* archures.c: Add bfd_mach_sh5.
* config.bfd: Map targ_cpu sh* to bfd_sh_arch.
Handle sh64-*-elf*. Set targ_cflags to -DINCLUDE_SHMEDIA.
* configure.in: Handle bfd_elf32_sh64_vec and bfd_elf32_sh64l_vec.
* configure: Regenerate.
* reloc.c (BFD_RELOC_SH_SHMEDIA_CODE, BFD_RELOC_SH_IMMU5,
BFD_RELOC_SH_IMMS6, BFD_RELOC_SH_IMMS6BY32, BFD_RELOC_SH_IMMU6,
BFD_RELOC_SH_IMMS10, BFD_RELOC_SH_IMMS10BY2,
BFD_RELOC_SH_IMMS10BY4, BFD_RELOC_SH_IMMS10BY8,
BFD_RELOC_SH_IMMS16, BFD_RELOC_SH_IMMU16, BFD_RELOC_SH_IMM_LOW16,
BFD_RELOC_SH_IMM_LOW16_PCREL, BFD_RELOC_SH_IMM_MEDLOW16,
BFD_RELOC_SH_IMM_MEDLOW16_PCREL, BFD_RELOC_SH_IMM_MEDHI16,
BFD_RELOC_SH_IMM_MEDHI16_PCREL, BFD_RELOC_SH_IMM_HI16,
BFD_RELOC_SH_IMM_HI16_PCREL, BFD_RELOC_SH_PT_16): New relocations.
* cpu-sh.c [INCLUDE_SHMEDIA] (arch_info_struct): Define and link
in item for SH5.
* elf32-sh.c [INCLUDE_SHMEDIA] (sh_elf_howto_table): Add howto items
for SHmedia relocs.
[INCLUDE_SHMEDIA] (sh_rel): Add mappings for SHmedia relocs.
[INCLUDE_SHMEDIA] (sh_elf_relocate_section) [default]: Call
shmedia_prepare_reloc, goto final_link_relocate if it returns
non-zero, else fail as before.
(sh_elf_set_mach_from_flags): Provide function only if not defined
as macro. Do not recognize objects with EF_SH64_32BIT_ABI set.
(sh_elf_set_private_flags): Provide function only if not defined
as a macro.
(sh_elf_copy_private_data): Similar.
(sh_elf_merge_private_data): Similar.
* section.c (SEC_SH_ISA_SHMEDIA): New.
* targets.c (bfd_elf32_sh64_vec, bfd_elf32_sh64l_vec): Declare.
* elf32-sh64.c: New file.
* libbfd.h: Regenerate.
* bfd-in2.h: Regenerate.
* po/POTFILES.in: Regenerate.
* po/bfd.pot: Regenerate.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.
2002-02-08 13:33:27 +08:00
|
|
|
msgid "Warning: %s supports interworking, whereas %s does not"
|
1999-05-03 15:29:11 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: coff-arm.c:2333 elf32-arm.h:2412
|
1999-05-03 15:29:11 +08:00
|
|
|
#, c-format
|
Contribute sh64-elf.
2002-01-23 Alexandre Oliva <aoliva@redhat.com>
* reloc.c (R_SH_GOTPLT32, R_SH_GOT_LOW16, R_SH_GOT_MEDLOW16,
R_SH_GOT_MEDHI16, R_SH_GOT_HI16, R_SH_GOTPLT_LOW16,
R_SH_GOTPLT_MEDLOW16, R_SH_GOTPLT_MEDHI16, R_SH_GOTPLT_HI16,
R_SH_PLT_LOW16, R_SH_PLT_MEDLOW16, R_SH_PLT_MEDHI16,
R_SH_PLT_HI16, R_SH_GOTOFF_LOW16, R_SH_GOTOFF_MEDLOW16,
R_SH_GOTOFF_MEDHI16, R_SH_GOTOFF_HI16, R_SH_GOTPC_LOW16,
R_SH_GOTPC_MEDLOW16, R_SH_GOTPC_MEDHI16, R_SH_GOTPC_HI16,
R_SH_GOT10BY4, R_SH_GOTPLT10BY4, R_SH_GOT10BY8, R_SH_GOTPLT10BY8,
R_SH_COPY64, R_SH_GLOB_DAT64, R_SH_JMP_SLOT64, R_SH_RELATIVE64):
New relocs.
* libbfd.h, bfd-in2.h: Rebuilt.
* elf32-sh.c (sh_elf_howto_table): Define new relocs.
(sh_reloc_map): Map them.
(PLT_ENTRY_SIZE, elf_sh_plt0_entry_be, elf_sh_plt0_entry_le,
elf_sh_plt_entry_be, elf_sh_plt_entry_le, elf_sh_pic_plt_entry_be,
elf_sh_pic_plt_entry_le, elf_sh_plt0_entry, elf_sh_plt_entry,
elf_sh_pic_plt_entry, elf_sh_sizeof_plt, elf_sh_plt_plt0_offset,
elf_sh_plt0_gotplt_offset, elf_sh_plt_temp_offset,
elf_sh_plt_symbol_offset, elf_sh_plt_reloc_offset,
movi_shori_putval) [INCLUDE_SHMEDIA]: New.
(elf_sh_link_hash_entry) [INCLUDE_SHMEDIA]: Add
datalabel_got_offset.
(sh_elf_link_hash_newfunc): Initialize it.
(sh_elf_relocate_section): Augment the scope of
seen_stt_datalabel. Introduce GOTPLT support. Extend GOTPC, PLT,
GOT and GOTOFF handling to new SHmedia relocation types. Support
GOT_BIAS.
(sh_elf_check_relocs): Likewise.
(sh_elf_finish_dynamic_symbol) [TARGET_SHMEDIA]: Set up values in
PLT entries using movi_shori_putval. Support GOT_BIAS.
(sh_elf_finish_dynamic_sections): Likewise.
* elf32-sh64.c (shmedia_prepare_reloc): Do not add addend to
relocation, it's now done by the caller.
(GOT_BIAS): New.
* elf64-sh64.c (GOT_BIAS, PLT_ENTRY_SIZE, elf_sh64_sizeof_plt,
elf_sh64_plt_plt0_offset, elf_sh64_plt0_gotplt_offset,
elf_sh64_plt_temp_offset, elf_sh64_plt_symbol_offset,
elf_sh64_plt_reloc_offset, ELF_DYNAMIC_INTERPRETER,
elf_sh64_pcrel_relocs_copied, elf_sh64_link_hash_entry,
elf_sh64_link_hash_table, sh64_elf64_link_hash_traverse,
sh64_elf64_hash_table): New.
(sh_elf64_howto_table): Introduce new relocs.
(sh_elf64_info_to_howto): Accept new PIC relocs.
(sh_elf64_relocate_section): Augment the scope of
seen_stt_datalabel. Support new PIC relocs.
(sh_elf64_check_relocs): Support new PIC relocs.
(elf_sh64_plt0_entry_be, elf_sh64_plt0_entry_le,
elf_sh64_plt_entry_be, elf_sh64_plt_entry_le,
elf_sh64_pic_plt_entry_be, elf_sh64_pic_plt_entry_le,
elf_sh64_plt0_entry, elf_sh64_plt_entry, elf_sh64_pic_plt_entry,
sh64_elf64_link_hash_newfunc, sh64_elf64_link_hash_table_create,
movi_shori_putval, movi_3shori_putval,
sh64_elf64_create_dynamic_sections,
sh64_elf64_adjust_dynamic_symbol, sh64_elf64_discard_copies,
sh64_elf64_size_dynamic_sections,
sh64_elf64_finish_dynamic_symbol,
sh64_elf64_finish_dynamic_sections): New.
(elf_backend_create_dynamic-sections,
bfd_elf64_bfd_link_hash_table_create,
elf_backend_adjust_dynamic_symbol,
elf_backend_size_dynamic_sections,
elf_backend_finish_dynamic_symbol,
elf_backend_finish_dynamic_sections, elf_backend_want_got_plt,
elf_backend_plt_readonly, elf_backend_want_plt_sym,
elf_backend_got_header_size, elf_backend_plt_header_size):
Define.
2001-05-16 Alexandre Oliva <aoliva@redhat.com>
* elf32-sh.c: Renumbered and renamed some SH5 relocations to
match official numbers and names; moved unmaching ones to the
range 0xf2-0xff.
* elf32-sh64.c, elf64-sh64.c: Likewise.
2001-03-12 DJ Delorie <dj@redhat.com>
* elf32-sh.c (sh_elf_relax_section): Don't relax SHmedia
sections.
2001-03-12 DJ Delorie <dj@redhat.com>
* elf32-sh64.c (shmedia_prepare_reloc): Validate relocs that must
be aligned.
* elf64-sh64.c (sh_elf64_relocate_section): Ditto.
2001-01-14 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh64.c (bfd_elf32_bfd_copy_private_section_data): Define.
(sh64_elf_fake_sections): Set type to SHT_SH5_CR_SORTED for a
.cranges section with SEC_SORT_ENTRIES set.
(sh64_backend_section_from_shdr): Set SEC_SORT_ENTRIES on an
incoming sorted .cranges section.
(sh64_bfd_elf_copy_private_section_data): New.
(sh64_elf_final_write_processing): Only sort .cranges and modify
start address if called by linker.
2001-01-08 Ben Elliston <bje@redhat.com>
* elf32-sh64.c (sh64_elf_final_write_processing): Activate
Hans-Peter Nilsson's set bit 0 patch from 2001-01-06.
* elf64-sh64.c (sh64_elf64_final_write_processing): Ditto.
2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com>
* elf64-sh64.c (sh_elf64_howto_table): No open brace at start of
line. Add comments before all entries.
<R_SH_PT_16, R_SH_SHMEDIA_CODE>: Correct and clarify describing
comment.
(sh_elf64_reloc): Correct head comment.
(sh_elf64_relocate_section): Correct spacing.
<relocating for a local symbol>: Do not honour STO_SH5_ISA32;
instead call reloc_dangerous callback.
<case R_SH_SHMEDIA_CODE>: New case.
(sh_elf64_gc_mark_hook): Correct spacing.
(sh_elf64_check_relocs): Ditto.
* elf32-sh64.c (shmedia_prepare_reloc) <case R_SH_SHMEDIA_CODE>:
New case.
* elf32-sh.c: Correct #endif comments for #ifndef-wrapped
functions.
(sh_elf_howto_table) <R_SH_PT_16, R_SH_SHMEDIA_CODE>: Correct,
clarify describing comment. Add comments before all entries.
(sh_elf_relocate_section) <relocating for a local symbol>: Do not
honour STO_SH5_ISA32; instead call reloc_dangerous callback.
2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com>
Sort .cranges section in final link. Prepare to set bit 0 on
entry address.
* elf32-sh64.c (struct sh64_find_section_vma_data): New.
(sh64_elf_link_output_symbol_hook): Fix typo in prototype.
(sh64_elf_set_mach_from_flags): Set SEC_DEBUGGING on incoming
.cranges section.
(sh64_backend_section_from_shdr): New, to recognize
SHT_SH5_CR_SORTED on incoming .cranges section.
(elf_backend_section_from_shdr): Define.
(sh64_elf_final_write_processing): Sort outgoing .cranges
section. (New, temporarily disabled:) Set bit 0 on entry address
according to ISA type.
(sh64_find_section_for_address): New.
(crange_qsort_cmpb, crange_qsort_cmpl, crange_bsearch_cmpb,
crange_bsearch_cmpl): Move here from opcodes/sh64-dis.c.
(sh64_address_in_cranges): Move here from opcodes/sh64-dis.c. Use
bfd_malloc, not xmalloc.
(sh64_get_contents_type): Move here from opcodes/sh64-dis.c. Make
global.
* elf32-sh64.c (sh64_elf64_final_write_processing): New, (but
temporarily disabled) setting bit 0 on entry address.
(elf_backend_final_write_processing): Define.
2001-01-05 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh.c (sh_elf_howto_table) <R_SH_PT_16>: Adjust fields to
be a proper relocation for PTA and PTB rather than a marker.
<R_SH_IMMU5, R_SH_IMMS6, R_SH_IMMU6, R_SH_IMMS10, R_SH_IMMS10BY2,
R_SH_IMMS10BY4, R_SH_IMMS10BY8, R_SH_IMMS16, R_SH_IMMU16,
R_SH_IMM_LOW16, R_SH_IMM_LOW16_PCREL, R_SH_IMM_MEDLOW16,
R_SH_IMM_MEDLOW16_PCREL, R_SH_IMM_MEDHI16, R_SH_IMM_MEDHI16_PCREL,
R_SH_IMM_HI16, R_SH_IMM_HI16_PCREL, R_SH_64, R_SH_64_PCREL>:
Zero src_mask.
* elf64-sh64.c: Ditto.
(sh_elf64_relocate_section) <case R_SH_PT_16>: New case.
* elf32-sh64.c: Include opcodes/sh64-opc.h
(shmedia_prepare_reloc): Take a bfd_link_info pointer as first
argument. Drop const qualifiers from "bfd *" and "bfd_byte *"
parameters. No unused parameters. Caller changed.
<case R_SH_PT_16>: New case.
* Makefile.am (elf32-sh64.lo): Add dependency on sh64-opc.h.
* Makefile.in: Regenerate.
2000-12-30 Hans-Peter Nilsson <hpn@cygnus.com>
* elf64-sh64.c (sh64_elf64_fake_sections): Set SHF_SH5_ISA32 for
all code sections.
(sh_elf64_set_mach_from_flags): Change from EF_SH64 to EF_SH5.
(sh64_elf_merge_private_data): Ditto.
* elf32-sh64.c (sh64_elf_fake_sections): Use sh64_elf_section_data
to access stored section flags.
(sh64_elf_final_write_processing): Return immediately unless
called by linker. Use sh64_elf_section_data (cranges) to get size
of linker-generated cranges entries.
(sh64_elf_copy_private_data): Add missing "return true".
(sh64_elf_set_mach_from_flags): Change from EF_SH64 to EF_SH5.
(sh_elf64_merge_private_data): Ditto.
2000-12-19 Hans-Peter Nilsson <hpn@cygnus.com>
* elf64-sh64.c (sh64_elf64_fake_sections): New, copy of
elf64-sh64.c:sh64_elf_fake_sections.
(elf_backend_fake_sections): Define as sh64_elf64_fake_sections.
2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh64.c (sh64_elf_copy_private_data_internal): Delete.
(sh64_elf_final_write_processing): New.
(elf_backend_final_write_processing): Define.
(sh64_elf_fake_sections): Get header flags from tdata field.
(sh64_elf_copy_private_data): Do not call
sh64_elf_copy_private_data_internal, just copy e_flags field.
(sh64_elf_merge_private_data): Do not call
sh64_elf_copy_private_data_internal.
2000-12-12 Hans-Peter Nilsson <hpn@cygnus.com>
Remove EF_SH64_ABI64, let ELF size make difference.
Remove SH64-specific BFD section flag.
* elf32-sh64.c (sh64_elf_fake_sections): Recognize section as
containing SHmedia through elf_section_data (asect)->tdata
non-zero, not using a BFD section flag.
(sh64_elf_set_mach_from_flags): Don't recognize EF_SH64_ABI64.
(sh64_elf_merge_private_data): Similar.
(elf_backend_section_flags): Don't define.
(sh64_elf_backend_section_flags): Delete.
* elf64-sh64.c (sh_elf64_set_mach_from_flags): Recognize EF_SH64,
not EF_SH64_ABI64.
(sh_elf64_merge_private_data): Similar.
* section.c (Section flags definitions): Don't define
SEC_SH_ISA_SHMEDIA.
(bfd-in2.h): Regenerate.
2000-12-09 Hans-Peter Nilsson <hpn@cygnus.com>
Make DataLabel references work with partial linking.
* elf32-sh64.c: Fix formatting.
(sh64_elf_link_output_symbol_hook): New.
(elf_backend_link_output_symbol_hook): Define to
sh64_elf_link_output_symbol_hook.
(sh64_elf_add_symbol_hook): Make DataLabel symbol just global
undefined if partial linking. Adjust sanity check.
* elf64-sh64.c (sh64_elf64_link_output_symbol_hook): New.
(elf_backend_link_output_symbol_hook): Define to
sh64_elf64_link_output_symbol_hook.
(sh64_elf64_add_symbol_hook): Make DataLabel symbol just global
undefined if partial linking. Adjust sanity check.
2000-12-07 Hans-Peter Nilsson <hpn@cygnus.com>
Implement semantics for inter-file DataLabel references.
* elf64-sh64.c (DATALABEL_SUFFIX): Define.
(sh64_elf64_add_symbol_hook): New.
(sh_elf64_relocate_section): If passing an indirect symbol with
st_type STT_DATALABEL on the way to a symbol with st_other
STO_SH5_ISA32, do not bitor 1 to the relocation.
(elf_backend_add_symbol_hook): Define to
sh64_elf64_add_symbol_hook.
* elf64-sh32.c: Tweak comments.
(DATALABEL_SUFFIX): Define.
(sh64_elf_add_symbol_hook): New.
(elf_backend_add_symbol_hook): Define to sh64_elf_add_symbol_hook.
* elf32-sh.c (sh_elf_relocate_section): If passing an indirect
symbol with st_type STT_DATALABEL on the way to a symbol with
st_other STO_SH5_ISA32, do not bitor 1 to the relocation.
2000-12-05 Hans-Peter Nilsson <hpn@cygnus.com>
Pass through STT_DATALABEL.
* elf32-sh64.c (sh64_elf_get_symbol_type): New.
(elf_backend_get_symbol_type): Define.
* elf64-sh64.c (sh64_elf64_get_symbol_type): New.
(elf_backend_get_symbol_type): Define.
2000-11-30 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh64.c: Tweak comments.
(sh64_elf_copy_private_data_internal): Add prototype.
(bfd_elf32_bfd_set_private_flags): Define.
(sh64_elf_copy_private_data_internal): Compare machine name, not
textual BFD target name, to check whether to copy section flag
SHF_SH5_ISA32.
(sh64_elf_merge_private_data): Validize bfd_get_arch_size.
Tweak section-contents-type-mismatch message.
(shmedia_prepare_reloc): Add ATTRIBUTE_UNUSED markers.
Validize reloc-types.
* elf64-sh64.c: New file.
* targets.c (bfd_elf64_sh64_vec, bfd_elf64_sh64l_vec): Declare.
* Makefile.am (BFD64_BACKENDS): Add elf64-sh64.lo.
(BFD64_BACKENDS_CFILES): Add elf64-sh64.c.
Regenerate dependencies.
* Makefile.in: Regenerate.
* config.bfd (sh64-*-elf*): Add bfd_elf64_sh64_vec and
bfd_elf64_sh64l_vec.
* configure.in: Handle bfd_elf64_sh64_vec and
bfd_elf64_sh64l_vec.
* configure: Regenerate.
* po/POTFILES.in: Regenerate.
* po/bfd.pot: Regenerate.
2000-11-29 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh64.c (sh64_elf_set_mach_from_flags): Do not recognize
anything else but EF_SH64 and EF_SH64_ABI64.
(sh64_elf_merge_private_data): Emit error for anything else but
EF_SH64 and EF_SH64_ABI64.
* config.bfd: Remove bfd_elf32_shblin_vec and bfd_elf32_shlin_vec
from targ_selvecs.
* configure.in: Add cofflink.lo to bfd_elf32_sh64_vec and
bfd_elf32_sh64l_vec as a temporary measure.
* configure: Regenerate.
2000-11-27 Hans-Peter Nilsson <hpn@cygnus.com>
* cpu-sh.c (arch_info_struct): Include sh5 item
unconditionalized.
* config.bfd (sh64-*-elf*): Do not set targ_cflags.
Add targ_selvecs bfd_elf32_sh_vec, bfd_elf32_shl_vec,
bfd_elf32_shblin_vec and bfd_elf32_shlin_vec.
* elf32-sh64.c: Tweak comments.
(sh64_elf_set_mach_from_flags): Recognize all machine flags that
are proper subsets of SH64 as bfd_mach_sh5. Add EF_SH64_ABI64.
(sh64_elf_copy_private_data_internal): Wrap long line.
(sh64_elf_merge_private_data): Rewrite to allow objects from
SH64 subsets to be linked together.
(INCLUDE_SHMEDIA): Define.
* elf32-sh.c (sh_elf_relocate_section) <local symbol>:
Parenthesize plus-expression inside or-expression.
<global symbol>: Ditto.
(sh_elf_set_mach_from_flags): Remove code refusing
deleted EF_SH64_32BIT_ABI flag.
2000-11-26 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh.c (sh_elf_howto_table) <R_SH_IMM_LOW16_PCREL,
R_SH_IMM_MEDLOW16_PCREL, R_SH_IMM_MEDHI16_PCREL,
R_SH_IMM_HI16_PCREL, R_SH_64_PCREL>: Set pcrel_offset to true.
(sh_elf_relocate_section) <local symbol>: Or 1 in
calculation of relocation if sym->st_other & STO_SH5_ISA32.
<global symbol>: Ditto if h->other & STO_SH5_ISA32.
* elf32-sh64.c (shmedia_prepare_reloc): Add rel->r_addend to
relocation.
2000-11-24 Hans-Peter Nilsson <hpn@cygnus.com>
* Makefile.am (BFD32_BACKENDS): Add elf32-sh64.lo.
(BFD32_BACKENDS_CFILES): Add elf32-sh64.c.
Regenerate dependencies.
* Makefile.in: Regenerate.
* archures.c: Add bfd_mach_sh5.
* config.bfd: Map targ_cpu sh* to bfd_sh_arch.
Handle sh64-*-elf*. Set targ_cflags to -DINCLUDE_SHMEDIA.
* configure.in: Handle bfd_elf32_sh64_vec and bfd_elf32_sh64l_vec.
* configure: Regenerate.
* reloc.c (BFD_RELOC_SH_SHMEDIA_CODE, BFD_RELOC_SH_IMMU5,
BFD_RELOC_SH_IMMS6, BFD_RELOC_SH_IMMS6BY32, BFD_RELOC_SH_IMMU6,
BFD_RELOC_SH_IMMS10, BFD_RELOC_SH_IMMS10BY2,
BFD_RELOC_SH_IMMS10BY4, BFD_RELOC_SH_IMMS10BY8,
BFD_RELOC_SH_IMMS16, BFD_RELOC_SH_IMMU16, BFD_RELOC_SH_IMM_LOW16,
BFD_RELOC_SH_IMM_LOW16_PCREL, BFD_RELOC_SH_IMM_MEDLOW16,
BFD_RELOC_SH_IMM_MEDLOW16_PCREL, BFD_RELOC_SH_IMM_MEDHI16,
BFD_RELOC_SH_IMM_MEDHI16_PCREL, BFD_RELOC_SH_IMM_HI16,
BFD_RELOC_SH_IMM_HI16_PCREL, BFD_RELOC_SH_PT_16): New relocations.
* cpu-sh.c [INCLUDE_SHMEDIA] (arch_info_struct): Define and link
in item for SH5.
* elf32-sh.c [INCLUDE_SHMEDIA] (sh_elf_howto_table): Add howto items
for SHmedia relocs.
[INCLUDE_SHMEDIA] (sh_rel): Add mappings for SHmedia relocs.
[INCLUDE_SHMEDIA] (sh_elf_relocate_section) [default]: Call
shmedia_prepare_reloc, goto final_link_relocate if it returns
non-zero, else fail as before.
(sh_elf_set_mach_from_flags): Provide function only if not defined
as macro. Do not recognize objects with EF_SH64_32BIT_ABI set.
(sh_elf_set_private_flags): Provide function only if not defined
as a macro.
(sh_elf_copy_private_data): Similar.
(sh_elf_merge_private_data): Similar.
* section.c (SEC_SH_ISA_SHMEDIA): New.
* targets.c (bfd_elf32_sh64_vec, bfd_elf32_sh64l_vec): Declare.
* elf32-sh64.c: New file.
* libbfd.h: Regenerate.
* bfd-in2.h: Regenerate.
* po/POTFILES.in: Regenerate.
* po/bfd.pot: Regenerate.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.
2002-02-08 13:33:27 +08:00
|
|
|
msgid "Warning: %s does not support interworking, whereas %s does"
|
1999-05-03 15:29:11 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: coff-arm.c:2360
|
1999-05-03 15:29:11 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "private flags = %x:"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: coff-arm.c:2368 elf32-arm.h:2467
|
1999-05-03 15:29:11 +08:00
|
|
|
msgid " [floats passed in float registers]"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: coff-arm.c:2370
|
1999-05-03 15:29:11 +08:00
|
|
|
msgid " [floats passed in integer registers]"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: coff-arm.c:2373 elf32-arm.h:2470
|
1999-05-03 15:29:11 +08:00
|
|
|
msgid " [position independent]"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: coff-arm.c:2375
|
1999-05-03 15:29:11 +08:00
|
|
|
msgid " [absolute position]"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: coff-arm.c:2379
|
1999-05-03 15:29:11 +08:00
|
|
|
msgid " [interworking flag not initialised]"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: coff-arm.c:2381
|
1999-05-03 15:29:11 +08:00
|
|
|
msgid " [interworking supported]"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: coff-arm.c:2383
|
1999-05-03 15:29:11 +08:00
|
|
|
msgid " [interworking not supported]"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: coff-arm.c:2431 elf32-arm.h:2150
|
1999-05-03 15:29:11 +08:00
|
|
|
#, c-format
|
|
|
|
msgid ""
|
2002-02-01 01:33:08 +08:00
|
|
|
"Warning: Not setting interworking flag of %s since it has already been "
|
1999-05-03 15:29:11 +08:00
|
|
|
"specified as non-interworking"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: coff-arm.c:2435 elf32-arm.h:2154
|
1999-05-03 15:29:11 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "Warning: Clearing the interworking flag of %s due to outside request"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-14 19:18:13 +08:00
|
|
|
#: coffcode.h:1108
|
2003-06-04 00:24:06 +08:00
|
|
|
#, c-format
|
2003-07-14 19:18:13 +08:00
|
|
|
msgid "%s (%s): Section flag %s (0x%x) ignored"
|
2002-01-17 22:12:08 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-14 19:18:13 +08:00
|
|
|
#: coffcode.h:2214
|
|
|
|
#, c-format
|
|
|
|
msgid "Unrecognized TI COFF target id '0x%x'"
|
2002-01-17 22:12:08 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-14 19:18:13 +08:00
|
|
|
#: coffcode.h:4439
|
|
|
|
#, c-format
|
|
|
|
msgid "%s: warning: illegal symbol index %ld in line numbers"
|
2002-01-17 22:12:08 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-14 19:18:13 +08:00
|
|
|
#: coffcode.h:4453
|
|
|
|
#, c-format
|
|
|
|
msgid "%s: warning: duplicate line number information for `%s'"
|
2002-01-17 22:12:08 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-14 19:18:13 +08:00
|
|
|
#: coffcode.h:4807
|
|
|
|
#, c-format
|
|
|
|
msgid "%s: Unrecognized storage class %d for %s symbol `%s'"
|
2003-07-11 13:10:21 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-14 19:18:13 +08:00
|
|
|
#: coffcode.h:4940
|
2002-01-17 22:12:08 +08:00
|
|
|
#, c-format
|
2003-07-14 19:18:13 +08:00
|
|
|
msgid "warning: %s: local symbol `%s' has no section"
|
2002-01-17 22:12:08 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-14 19:18:13 +08:00
|
|
|
#: coff-tic4x.c:218 coff-tic54x.c:373 coffcode.h:5047
|
2002-01-17 22:12:08 +08:00
|
|
|
#, c-format
|
2003-07-14 19:18:13 +08:00
|
|
|
msgid "%s: warning: illegal symbol index %ld in relocs"
|
2002-01-17 22:12:08 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-14 19:18:13 +08:00
|
|
|
#: coffcode.h:5085
|
2002-01-17 22:12:08 +08:00
|
|
|
#, c-format
|
2003-07-14 19:18:13 +08:00
|
|
|
msgid "%s: illegal relocation type %d at address 0x%lx"
|
2002-01-17 22:12:08 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-14 19:18:13 +08:00
|
|
|
#: coffgen.c:1666
|
2002-01-17 22:12:08 +08:00
|
|
|
#, c-format
|
2003-07-14 19:18:13 +08:00
|
|
|
msgid "%s: bad string table size %lu"
|
2002-01-17 22:12:08 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-14 19:18:13 +08:00
|
|
|
#: coff-h8300.c:1047
|
2002-01-17 22:12:08 +08:00
|
|
|
#, c-format
|
2003-07-14 19:18:13 +08:00
|
|
|
msgid "cannot handle R_MEM_INDIRECT reloc when using %s output"
|
2002-01-17 22:12:08 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-14 19:18:13 +08:00
|
|
|
#: coff-i960.c:137 coff-i960.c:486
|
|
|
|
msgid "uncertain calling convention for non-COFF symbol"
|
2002-01-17 22:12:08 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-14 19:18:13 +08:00
|
|
|
#: cofflink.c:538 elflink.h:1276
|
2001-02-27 09:38:06 +08:00
|
|
|
#, c-format
|
2003-07-14 19:18:13 +08:00
|
|
|
msgid "Warning: type of symbol `%s' changed from %d to %d in %s"
|
2001-02-27 09:38:06 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-14 19:18:13 +08:00
|
|
|
#: cofflink.c:2328
|
1999-05-03 15:29:11 +08:00
|
|
|
#, c-format
|
2003-07-14 19:18:13 +08:00
|
|
|
msgid "%s: relocs in section `%s', but it has no contents"
|
1999-05-03 15:29:11 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-14 19:18:13 +08:00
|
|
|
#: cofflink.c:2671 coffswap.h:890
|
1999-05-03 15:29:11 +08:00
|
|
|
#, c-format
|
2003-07-14 19:18:13 +08:00
|
|
|
msgid "%s: %s: reloc overflow: 0x%lx > 0xffff"
|
1999-05-03 15:29:11 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-14 19:18:13 +08:00
|
|
|
#: cofflink.c:2680 coffswap.h:876
|
1999-05-03 15:29:11 +08:00
|
|
|
#, c-format
|
2003-07-14 19:18:13 +08:00
|
|
|
msgid "%s: warning: %s: line number overflow: 0x%lx > 0xffff"
|
1999-05-03 15:29:11 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-14 19:18:13 +08:00
|
|
|
#: coff-m68k.c:482 coff-mips.c:2394 elf32-m68k.c:2193 elf32-mips.c:1783
|
|
|
|
msgid "unsupported reloc type"
|
1999-05-03 15:29:11 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-14 19:18:13 +08:00
|
|
|
#: coff-mips.c:839 elf32-mips.c:1088 elf64-mips.c:1590 elfn32-mips.c:1554
|
|
|
|
msgid "GP relative relocation when _gp not defined"
|
2003-06-04 00:24:06 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-14 19:18:13 +08:00
|
|
|
#. No other sections should appear in -membedded-pic
|
|
|
|
#. code.
|
|
|
|
#: coff-mips.c:2431
|
|
|
|
msgid "reloc against unsupported section"
|
2003-06-04 00:24:06 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-14 19:18:13 +08:00
|
|
|
#: coff-mips.c:2439
|
|
|
|
msgid "reloc not properly aligned"
|
2000-02-28 00:55:52 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-14 19:18:13 +08:00
|
|
|
#: coff-rs6000.c:2790
|
1999-05-03 15:29:11 +08:00
|
|
|
#, c-format
|
2003-07-14 19:18:13 +08:00
|
|
|
msgid "%s: unsupported relocation type 0x%02x"
|
1999-05-03 15:29:11 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-14 19:18:13 +08:00
|
|
|
#: coff-rs6000.c:2883
|
1999-05-03 15:29:11 +08:00
|
|
|
#, c-format
|
2003-07-14 19:18:13 +08:00
|
|
|
msgid "%s: TOC reloc at 0x%x to symbol `%s' with no TOC entry"
|
1999-05-03 15:29:11 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-14 19:18:13 +08:00
|
|
|
#: coff-tic4x.c:170 coff-tic54x.c:288 coff-tic80.c:450
|
1999-05-03 15:29:11 +08:00
|
|
|
#, c-format
|
2003-07-14 19:18:13 +08:00
|
|
|
msgid "Unrecognized reloc type 0x%x"
|
1999-05-03 15:29:11 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-14 19:18:13 +08:00
|
|
|
#: coff-w65.c:364
|
1999-05-03 15:29:11 +08:00
|
|
|
#, c-format
|
2003-07-14 19:18:13 +08:00
|
|
|
msgid "ignoring reloc %s\n"
|
1999-05-03 15:29:11 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: cpu-arm.c:196 cpu-arm.c:206
|
1999-05-03 15:29:11 +08:00
|
|
|
#, c-format
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid "ERROR: %s is compiled for the EP9312, whereas %s is compiled for XScale"
|
1999-05-03 15:29:11 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: cpu-arm.c:344
|
1999-05-03 15:29:11 +08:00
|
|
|
#, c-format
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid "warning: unable to update contents of %s section in %s"
|
1999-05-03 15:29:11 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: dwarf2.c:380
|
2002-01-17 22:12:08 +08:00
|
|
|
msgid "Dwarf Error: Can't find .debug_str section."
|
2000-11-03 07:03:24 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: dwarf2.c:397
|
2000-11-03 07:03:24 +08:00
|
|
|
#, c-format
|
2002-01-17 22:12:08 +08:00
|
|
|
msgid ""
|
2003-06-04 00:24:06 +08:00
|
|
|
"Dwarf Error: DW_FORM_strp offset (%lu) greater than or equal to .debug_str "
|
|
|
|
"size (%lu)."
|
2000-11-03 07:03:24 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: dwarf2.c:541
|
1999-05-03 15:29:11 +08:00
|
|
|
msgid "Dwarf Error: Can't find .debug_abbrev section."
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: dwarf2.c:556
|
1999-05-03 15:29:11 +08:00
|
|
|
#, c-format
|
2001-05-24 01:26:40 +08:00
|
|
|
msgid ""
|
2003-06-04 00:24:06 +08:00
|
|
|
"Dwarf Error: Abbrev offset (%lu) greater than or equal to .debug_abbrev size "
|
|
|
|
"(%lu)."
|
1999-05-03 15:29:11 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2002-01-17 22:12:08 +08:00
|
|
|
#: dwarf2.c:756
|
1999-05-03 15:29:11 +08:00
|
|
|
#, c-format
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid "Dwarf Error: Invalid or unhandled FORM value: %u."
|
1999-05-03 15:29:11 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: dwarf2.c:933
|
1999-06-03 11:26:53 +08:00
|
|
|
msgid "Dwarf Error: mangled line number section (bad file number)."
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: dwarf2.c:1032
|
1999-05-03 15:29:11 +08:00
|
|
|
msgid "Dwarf Error: Can't find .debug_line section."
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: dwarf2.c:1049
|
2000-06-19 09:22:44 +08:00
|
|
|
#, c-format
|
2002-02-01 01:33:08 +08:00
|
|
|
msgid ""
|
2003-06-04 00:24:06 +08:00
|
|
|
"Dwarf Error: Line offset (%lu) greater than or equal to .debug_line size (%"
|
|
|
|
"lu)."
|
2000-06-19 09:22:44 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: dwarf2.c:1255
|
1999-05-03 15:29:11 +08:00
|
|
|
msgid "Dwarf Error: mangled line number section."
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: dwarf2.c:1470 dwarf2.c:1620
|
1999-05-03 15:29:11 +08:00
|
|
|
#, c-format
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid "Dwarf Error: Could not find abbrev number %u."
|
1999-05-03 15:29:11 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: dwarf2.c:1581
|
1999-05-03 15:29:11 +08:00
|
|
|
#, c-format
|
|
|
|
msgid ""
|
2003-06-04 00:24:06 +08:00
|
|
|
"Dwarf Error: found dwarf version '%u', this reader only handles version 2 "
|
1999-05-03 15:29:11 +08:00
|
|
|
"information."
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: dwarf2.c:1588
|
1999-05-03 15:29:11 +08:00
|
|
|
#, c-format
|
|
|
|
msgid ""
|
|
|
|
"Dwarf Error: found address size '%u', this reader can not handle sizes "
|
|
|
|
"greater than '%u'."
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: dwarf2.c:1611
|
1999-05-03 15:29:11 +08:00
|
|
|
#, c-format
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid "Dwarf Error: Bad abbrev number: %u."
|
1999-05-03 15:29:11 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: ecoff.c:1339
|
1999-05-03 15:29:11 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "Unknown basic type %d"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: ecoff.c:1599
|
1999-05-03 15:29:11 +08:00
|
|
|
#, c-format
|
|
|
|
msgid ""
|
|
|
|
"\n"
|
|
|
|
" End+1 symbol: %ld"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: ecoff.c:1606 ecoff.c:1609
|
1999-05-03 15:29:11 +08:00
|
|
|
#, c-format
|
|
|
|
msgid ""
|
|
|
|
"\n"
|
|
|
|
" First symbol: %ld"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: ecoff.c:1621
|
1999-05-03 15:29:11 +08:00
|
|
|
#, c-format
|
|
|
|
msgid ""
|
|
|
|
"\n"
|
|
|
|
" End+1 symbol: %-7ld Type: %s"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: ecoff.c:1628
|
1999-05-03 15:29:11 +08:00
|
|
|
#, c-format
|
|
|
|
msgid ""
|
|
|
|
"\n"
|
|
|
|
" Local symbol: %ld"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: ecoff.c:1636
|
1999-05-03 15:29:11 +08:00
|
|
|
#, c-format
|
|
|
|
msgid ""
|
|
|
|
"\n"
|
|
|
|
" struct; End+1 symbol: %ld"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: ecoff.c:1641
|
1999-05-03 15:29:11 +08:00
|
|
|
#, c-format
|
|
|
|
msgid ""
|
|
|
|
"\n"
|
|
|
|
" union; End+1 symbol: %ld"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: ecoff.c:1646
|
1999-05-03 15:29:11 +08:00
|
|
|
#, c-format
|
|
|
|
msgid ""
|
|
|
|
"\n"
|
|
|
|
" enum; End+1 symbol: %ld"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: ecoff.c:1652
|
1999-05-03 15:29:11 +08:00
|
|
|
#, c-format
|
|
|
|
msgid ""
|
|
|
|
"\n"
|
|
|
|
" Type: %s"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-14 19:18:13 +08:00
|
|
|
#: elf32-arm.h:1228
|
|
|
|
#, c-format
|
|
|
|
msgid "%s: Warning: Arm BLX instruction targets Arm function '%s'."
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: elf32-arm.h:1424
|
|
|
|
#, c-format
|
|
|
|
msgid "%s: Warning: Thumb BLX instruction targets thumb function '%s'."
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: elf32-arm.h:1918 elf32-sh.c:4706 elf64-sh64.c:1613
|
|
|
|
#, c-format
|
|
|
|
msgid "%s(%s+0x%lx): %s relocation against SEC_MERGE section"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: elf32-arm.h:2012
|
2000-02-28 00:55:52 +08:00
|
|
|
#, c-format
|
|
|
|
msgid ""
|
2003-07-14 19:18:13 +08:00
|
|
|
"%s: warning: unresolvable relocation %d against symbol `%s' from %s section"
|
2002-01-17 22:12:08 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: elf-m10200.c:442 elf-m10300.c:1695 elf32-arm.h:2088 elf32-avr.c:812
|
2003-07-14 19:18:13 +08:00
|
|
|
#: elf32-cris.c:1390 elf32-d10v.c:482 elf32-fr30.c:634 elf32-frv.c:815
|
|
|
|
#: elf32-h8300.c:509 elf32-i860.c:1028 elf32-ip2k.c:1586 elf32-iq2000.c:699
|
2003-06-04 00:24:06 +08:00
|
|
|
#: elf32-m32r.c:1283 elf32-m68hc1x.c:1305 elf32-msp430.c:510
|
2003-07-11 13:10:21 +08:00
|
|
|
#: elf32-openrisc.c:436 elf32-v850.c:1777 elf32-xstormy16.c:976
|
2003-06-04 00:24:06 +08:00
|
|
|
#: elf64-mmix.c:1332
|
|
|
|
msgid "internal error: out of range error"
|
2002-01-17 22:12:08 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: elf-m10200.c:446 elf-m10300.c:1699 elf32-arm.h:2092 elf32-avr.c:816
|
2003-07-14 19:18:13 +08:00
|
|
|
#: elf32-cris.c:1394 elf32-d10v.c:486 elf32-fr30.c:638 elf32-frv.c:819
|
|
|
|
#: elf32-h8300.c:513 elf32-i860.c:1032 elf32-iq2000.c:703 elf32-m32r.c:1287
|
2003-06-04 00:24:06 +08:00
|
|
|
#: elf32-m68hc1x.c:1309 elf32-msp430.c:514 elf32-openrisc.c:440
|
2003-07-11 13:10:21 +08:00
|
|
|
#: elf32-v850.c:1781 elf32-xstormy16.c:980 elf64-mmix.c:1336 elfxx-mips.c:6452
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid "internal error: unsupported relocation error"
|
2002-01-17 22:12:08 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-14 19:18:13 +08:00
|
|
|
#: elf-m10200.c:450 elf-m10300.c:1703 elf32-arm.h:2096 elf32-d10v.c:490
|
|
|
|
#: elf32-h8300.c:517 elf32-m32r.c:1291 elf32-m68hc1x.c:1313
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid "internal error: dangerous error"
|
2002-01-17 22:12:08 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: elf-m10200.c:454 elf-m10300.c:1707 elf32-arm.h:2100 elf32-avr.c:824
|
2003-07-14 19:18:13 +08:00
|
|
|
#: elf32-cris.c:1402 elf32-d10v.c:494 elf32-fr30.c:646 elf32-frv.c:827
|
|
|
|
#: elf32-h8300.c:521 elf32-i860.c:1040 elf32-ip2k.c:1601 elf32-iq2000.c:711
|
2003-06-04 00:24:06 +08:00
|
|
|
#: elf32-m32r.c:1295 elf32-m68hc1x.c:1317 elf32-msp430.c:522
|
2003-07-11 13:10:21 +08:00
|
|
|
#: elf32-openrisc.c:448 elf32-v850.c:1801 elf32-xstormy16.c:988
|
2003-06-04 00:24:06 +08:00
|
|
|
#: elf64-mmix.c:1344
|
|
|
|
msgid "internal error: unknown error"
|
2000-02-28 00:55:52 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: elf32-arm.h:2202
|
2002-01-17 22:12:08 +08:00
|
|
|
#, c-format
|
|
|
|
msgid ""
|
2002-02-01 01:33:08 +08:00
|
|
|
"Warning: Clearing the interworking flag of %s because non-interworking code "
|
|
|
|
"in %s has been linked with it"
|
2000-02-28 00:55:52 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: elf32-arm.h:2302
|
2000-02-28 00:55:52 +08:00
|
|
|
#, c-format
|
2001-10-30 23:20:14 +08:00
|
|
|
msgid ""
|
Contribute sh64-elf.
2002-01-23 Alexandre Oliva <aoliva@redhat.com>
* reloc.c (R_SH_GOTPLT32, R_SH_GOT_LOW16, R_SH_GOT_MEDLOW16,
R_SH_GOT_MEDHI16, R_SH_GOT_HI16, R_SH_GOTPLT_LOW16,
R_SH_GOTPLT_MEDLOW16, R_SH_GOTPLT_MEDHI16, R_SH_GOTPLT_HI16,
R_SH_PLT_LOW16, R_SH_PLT_MEDLOW16, R_SH_PLT_MEDHI16,
R_SH_PLT_HI16, R_SH_GOTOFF_LOW16, R_SH_GOTOFF_MEDLOW16,
R_SH_GOTOFF_MEDHI16, R_SH_GOTOFF_HI16, R_SH_GOTPC_LOW16,
R_SH_GOTPC_MEDLOW16, R_SH_GOTPC_MEDHI16, R_SH_GOTPC_HI16,
R_SH_GOT10BY4, R_SH_GOTPLT10BY4, R_SH_GOT10BY8, R_SH_GOTPLT10BY8,
R_SH_COPY64, R_SH_GLOB_DAT64, R_SH_JMP_SLOT64, R_SH_RELATIVE64):
New relocs.
* libbfd.h, bfd-in2.h: Rebuilt.
* elf32-sh.c (sh_elf_howto_table): Define new relocs.
(sh_reloc_map): Map them.
(PLT_ENTRY_SIZE, elf_sh_plt0_entry_be, elf_sh_plt0_entry_le,
elf_sh_plt_entry_be, elf_sh_plt_entry_le, elf_sh_pic_plt_entry_be,
elf_sh_pic_plt_entry_le, elf_sh_plt0_entry, elf_sh_plt_entry,
elf_sh_pic_plt_entry, elf_sh_sizeof_plt, elf_sh_plt_plt0_offset,
elf_sh_plt0_gotplt_offset, elf_sh_plt_temp_offset,
elf_sh_plt_symbol_offset, elf_sh_plt_reloc_offset,
movi_shori_putval) [INCLUDE_SHMEDIA]: New.
(elf_sh_link_hash_entry) [INCLUDE_SHMEDIA]: Add
datalabel_got_offset.
(sh_elf_link_hash_newfunc): Initialize it.
(sh_elf_relocate_section): Augment the scope of
seen_stt_datalabel. Introduce GOTPLT support. Extend GOTPC, PLT,
GOT and GOTOFF handling to new SHmedia relocation types. Support
GOT_BIAS.
(sh_elf_check_relocs): Likewise.
(sh_elf_finish_dynamic_symbol) [TARGET_SHMEDIA]: Set up values in
PLT entries using movi_shori_putval. Support GOT_BIAS.
(sh_elf_finish_dynamic_sections): Likewise.
* elf32-sh64.c (shmedia_prepare_reloc): Do not add addend to
relocation, it's now done by the caller.
(GOT_BIAS): New.
* elf64-sh64.c (GOT_BIAS, PLT_ENTRY_SIZE, elf_sh64_sizeof_plt,
elf_sh64_plt_plt0_offset, elf_sh64_plt0_gotplt_offset,
elf_sh64_plt_temp_offset, elf_sh64_plt_symbol_offset,
elf_sh64_plt_reloc_offset, ELF_DYNAMIC_INTERPRETER,
elf_sh64_pcrel_relocs_copied, elf_sh64_link_hash_entry,
elf_sh64_link_hash_table, sh64_elf64_link_hash_traverse,
sh64_elf64_hash_table): New.
(sh_elf64_howto_table): Introduce new relocs.
(sh_elf64_info_to_howto): Accept new PIC relocs.
(sh_elf64_relocate_section): Augment the scope of
seen_stt_datalabel. Support new PIC relocs.
(sh_elf64_check_relocs): Support new PIC relocs.
(elf_sh64_plt0_entry_be, elf_sh64_plt0_entry_le,
elf_sh64_plt_entry_be, elf_sh64_plt_entry_le,
elf_sh64_pic_plt_entry_be, elf_sh64_pic_plt_entry_le,
elf_sh64_plt0_entry, elf_sh64_plt_entry, elf_sh64_pic_plt_entry,
sh64_elf64_link_hash_newfunc, sh64_elf64_link_hash_table_create,
movi_shori_putval, movi_3shori_putval,
sh64_elf64_create_dynamic_sections,
sh64_elf64_adjust_dynamic_symbol, sh64_elf64_discard_copies,
sh64_elf64_size_dynamic_sections,
sh64_elf64_finish_dynamic_symbol,
sh64_elf64_finish_dynamic_sections): New.
(elf_backend_create_dynamic-sections,
bfd_elf64_bfd_link_hash_table_create,
elf_backend_adjust_dynamic_symbol,
elf_backend_size_dynamic_sections,
elf_backend_finish_dynamic_symbol,
elf_backend_finish_dynamic_sections, elf_backend_want_got_plt,
elf_backend_plt_readonly, elf_backend_want_plt_sym,
elf_backend_got_header_size, elf_backend_plt_header_size):
Define.
2001-05-16 Alexandre Oliva <aoliva@redhat.com>
* elf32-sh.c: Renumbered and renamed some SH5 relocations to
match official numbers and names; moved unmaching ones to the
range 0xf2-0xff.
* elf32-sh64.c, elf64-sh64.c: Likewise.
2001-03-12 DJ Delorie <dj@redhat.com>
* elf32-sh.c (sh_elf_relax_section): Don't relax SHmedia
sections.
2001-03-12 DJ Delorie <dj@redhat.com>
* elf32-sh64.c (shmedia_prepare_reloc): Validate relocs that must
be aligned.
* elf64-sh64.c (sh_elf64_relocate_section): Ditto.
2001-01-14 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh64.c (bfd_elf32_bfd_copy_private_section_data): Define.
(sh64_elf_fake_sections): Set type to SHT_SH5_CR_SORTED for a
.cranges section with SEC_SORT_ENTRIES set.
(sh64_backend_section_from_shdr): Set SEC_SORT_ENTRIES on an
incoming sorted .cranges section.
(sh64_bfd_elf_copy_private_section_data): New.
(sh64_elf_final_write_processing): Only sort .cranges and modify
start address if called by linker.
2001-01-08 Ben Elliston <bje@redhat.com>
* elf32-sh64.c (sh64_elf_final_write_processing): Activate
Hans-Peter Nilsson's set bit 0 patch from 2001-01-06.
* elf64-sh64.c (sh64_elf64_final_write_processing): Ditto.
2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com>
* elf64-sh64.c (sh_elf64_howto_table): No open brace at start of
line. Add comments before all entries.
<R_SH_PT_16, R_SH_SHMEDIA_CODE>: Correct and clarify describing
comment.
(sh_elf64_reloc): Correct head comment.
(sh_elf64_relocate_section): Correct spacing.
<relocating for a local symbol>: Do not honour STO_SH5_ISA32;
instead call reloc_dangerous callback.
<case R_SH_SHMEDIA_CODE>: New case.
(sh_elf64_gc_mark_hook): Correct spacing.
(sh_elf64_check_relocs): Ditto.
* elf32-sh64.c (shmedia_prepare_reloc) <case R_SH_SHMEDIA_CODE>:
New case.
* elf32-sh.c: Correct #endif comments for #ifndef-wrapped
functions.
(sh_elf_howto_table) <R_SH_PT_16, R_SH_SHMEDIA_CODE>: Correct,
clarify describing comment. Add comments before all entries.
(sh_elf_relocate_section) <relocating for a local symbol>: Do not
honour STO_SH5_ISA32; instead call reloc_dangerous callback.
2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com>
Sort .cranges section in final link. Prepare to set bit 0 on
entry address.
* elf32-sh64.c (struct sh64_find_section_vma_data): New.
(sh64_elf_link_output_symbol_hook): Fix typo in prototype.
(sh64_elf_set_mach_from_flags): Set SEC_DEBUGGING on incoming
.cranges section.
(sh64_backend_section_from_shdr): New, to recognize
SHT_SH5_CR_SORTED on incoming .cranges section.
(elf_backend_section_from_shdr): Define.
(sh64_elf_final_write_processing): Sort outgoing .cranges
section. (New, temporarily disabled:) Set bit 0 on entry address
according to ISA type.
(sh64_find_section_for_address): New.
(crange_qsort_cmpb, crange_qsort_cmpl, crange_bsearch_cmpb,
crange_bsearch_cmpl): Move here from opcodes/sh64-dis.c.
(sh64_address_in_cranges): Move here from opcodes/sh64-dis.c. Use
bfd_malloc, not xmalloc.
(sh64_get_contents_type): Move here from opcodes/sh64-dis.c. Make
global.
* elf32-sh64.c (sh64_elf64_final_write_processing): New, (but
temporarily disabled) setting bit 0 on entry address.
(elf_backend_final_write_processing): Define.
2001-01-05 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh.c (sh_elf_howto_table) <R_SH_PT_16>: Adjust fields to
be a proper relocation for PTA and PTB rather than a marker.
<R_SH_IMMU5, R_SH_IMMS6, R_SH_IMMU6, R_SH_IMMS10, R_SH_IMMS10BY2,
R_SH_IMMS10BY4, R_SH_IMMS10BY8, R_SH_IMMS16, R_SH_IMMU16,
R_SH_IMM_LOW16, R_SH_IMM_LOW16_PCREL, R_SH_IMM_MEDLOW16,
R_SH_IMM_MEDLOW16_PCREL, R_SH_IMM_MEDHI16, R_SH_IMM_MEDHI16_PCREL,
R_SH_IMM_HI16, R_SH_IMM_HI16_PCREL, R_SH_64, R_SH_64_PCREL>:
Zero src_mask.
* elf64-sh64.c: Ditto.
(sh_elf64_relocate_section) <case R_SH_PT_16>: New case.
* elf32-sh64.c: Include opcodes/sh64-opc.h
(shmedia_prepare_reloc): Take a bfd_link_info pointer as first
argument. Drop const qualifiers from "bfd *" and "bfd_byte *"
parameters. No unused parameters. Caller changed.
<case R_SH_PT_16>: New case.
* Makefile.am (elf32-sh64.lo): Add dependency on sh64-opc.h.
* Makefile.in: Regenerate.
2000-12-30 Hans-Peter Nilsson <hpn@cygnus.com>
* elf64-sh64.c (sh64_elf64_fake_sections): Set SHF_SH5_ISA32 for
all code sections.
(sh_elf64_set_mach_from_flags): Change from EF_SH64 to EF_SH5.
(sh64_elf_merge_private_data): Ditto.
* elf32-sh64.c (sh64_elf_fake_sections): Use sh64_elf_section_data
to access stored section flags.
(sh64_elf_final_write_processing): Return immediately unless
called by linker. Use sh64_elf_section_data (cranges) to get size
of linker-generated cranges entries.
(sh64_elf_copy_private_data): Add missing "return true".
(sh64_elf_set_mach_from_flags): Change from EF_SH64 to EF_SH5.
(sh_elf64_merge_private_data): Ditto.
2000-12-19 Hans-Peter Nilsson <hpn@cygnus.com>
* elf64-sh64.c (sh64_elf64_fake_sections): New, copy of
elf64-sh64.c:sh64_elf_fake_sections.
(elf_backend_fake_sections): Define as sh64_elf64_fake_sections.
2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh64.c (sh64_elf_copy_private_data_internal): Delete.
(sh64_elf_final_write_processing): New.
(elf_backend_final_write_processing): Define.
(sh64_elf_fake_sections): Get header flags from tdata field.
(sh64_elf_copy_private_data): Do not call
sh64_elf_copy_private_data_internal, just copy e_flags field.
(sh64_elf_merge_private_data): Do not call
sh64_elf_copy_private_data_internal.
2000-12-12 Hans-Peter Nilsson <hpn@cygnus.com>
Remove EF_SH64_ABI64, let ELF size make difference.
Remove SH64-specific BFD section flag.
* elf32-sh64.c (sh64_elf_fake_sections): Recognize section as
containing SHmedia through elf_section_data (asect)->tdata
non-zero, not using a BFD section flag.
(sh64_elf_set_mach_from_flags): Don't recognize EF_SH64_ABI64.
(sh64_elf_merge_private_data): Similar.
(elf_backend_section_flags): Don't define.
(sh64_elf_backend_section_flags): Delete.
* elf64-sh64.c (sh_elf64_set_mach_from_flags): Recognize EF_SH64,
not EF_SH64_ABI64.
(sh_elf64_merge_private_data): Similar.
* section.c (Section flags definitions): Don't define
SEC_SH_ISA_SHMEDIA.
(bfd-in2.h): Regenerate.
2000-12-09 Hans-Peter Nilsson <hpn@cygnus.com>
Make DataLabel references work with partial linking.
* elf32-sh64.c: Fix formatting.
(sh64_elf_link_output_symbol_hook): New.
(elf_backend_link_output_symbol_hook): Define to
sh64_elf_link_output_symbol_hook.
(sh64_elf_add_symbol_hook): Make DataLabel symbol just global
undefined if partial linking. Adjust sanity check.
* elf64-sh64.c (sh64_elf64_link_output_symbol_hook): New.
(elf_backend_link_output_symbol_hook): Define to
sh64_elf64_link_output_symbol_hook.
(sh64_elf64_add_symbol_hook): Make DataLabel symbol just global
undefined if partial linking. Adjust sanity check.
2000-12-07 Hans-Peter Nilsson <hpn@cygnus.com>
Implement semantics for inter-file DataLabel references.
* elf64-sh64.c (DATALABEL_SUFFIX): Define.
(sh64_elf64_add_symbol_hook): New.
(sh_elf64_relocate_section): If passing an indirect symbol with
st_type STT_DATALABEL on the way to a symbol with st_other
STO_SH5_ISA32, do not bitor 1 to the relocation.
(elf_backend_add_symbol_hook): Define to
sh64_elf64_add_symbol_hook.
* elf64-sh32.c: Tweak comments.
(DATALABEL_SUFFIX): Define.
(sh64_elf_add_symbol_hook): New.
(elf_backend_add_symbol_hook): Define to sh64_elf_add_symbol_hook.
* elf32-sh.c (sh_elf_relocate_section): If passing an indirect
symbol with st_type STT_DATALABEL on the way to a symbol with
st_other STO_SH5_ISA32, do not bitor 1 to the relocation.
2000-12-05 Hans-Peter Nilsson <hpn@cygnus.com>
Pass through STT_DATALABEL.
* elf32-sh64.c (sh64_elf_get_symbol_type): New.
(elf_backend_get_symbol_type): Define.
* elf64-sh64.c (sh64_elf64_get_symbol_type): New.
(elf_backend_get_symbol_type): Define.
2000-11-30 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh64.c: Tweak comments.
(sh64_elf_copy_private_data_internal): Add prototype.
(bfd_elf32_bfd_set_private_flags): Define.
(sh64_elf_copy_private_data_internal): Compare machine name, not
textual BFD target name, to check whether to copy section flag
SHF_SH5_ISA32.
(sh64_elf_merge_private_data): Validize bfd_get_arch_size.
Tweak section-contents-type-mismatch message.
(shmedia_prepare_reloc): Add ATTRIBUTE_UNUSED markers.
Validize reloc-types.
* elf64-sh64.c: New file.
* targets.c (bfd_elf64_sh64_vec, bfd_elf64_sh64l_vec): Declare.
* Makefile.am (BFD64_BACKENDS): Add elf64-sh64.lo.
(BFD64_BACKENDS_CFILES): Add elf64-sh64.c.
Regenerate dependencies.
* Makefile.in: Regenerate.
* config.bfd (sh64-*-elf*): Add bfd_elf64_sh64_vec and
bfd_elf64_sh64l_vec.
* configure.in: Handle bfd_elf64_sh64_vec and
bfd_elf64_sh64l_vec.
* configure: Regenerate.
* po/POTFILES.in: Regenerate.
* po/bfd.pot: Regenerate.
2000-11-29 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh64.c (sh64_elf_set_mach_from_flags): Do not recognize
anything else but EF_SH64 and EF_SH64_ABI64.
(sh64_elf_merge_private_data): Emit error for anything else but
EF_SH64 and EF_SH64_ABI64.
* config.bfd: Remove bfd_elf32_shblin_vec and bfd_elf32_shlin_vec
from targ_selvecs.
* configure.in: Add cofflink.lo to bfd_elf32_sh64_vec and
bfd_elf32_sh64l_vec as a temporary measure.
* configure: Regenerate.
2000-11-27 Hans-Peter Nilsson <hpn@cygnus.com>
* cpu-sh.c (arch_info_struct): Include sh5 item
unconditionalized.
* config.bfd (sh64-*-elf*): Do not set targ_cflags.
Add targ_selvecs bfd_elf32_sh_vec, bfd_elf32_shl_vec,
bfd_elf32_shblin_vec and bfd_elf32_shlin_vec.
* elf32-sh64.c: Tweak comments.
(sh64_elf_set_mach_from_flags): Recognize all machine flags that
are proper subsets of SH64 as bfd_mach_sh5. Add EF_SH64_ABI64.
(sh64_elf_copy_private_data_internal): Wrap long line.
(sh64_elf_merge_private_data): Rewrite to allow objects from
SH64 subsets to be linked together.
(INCLUDE_SHMEDIA): Define.
* elf32-sh.c (sh_elf_relocate_section) <local symbol>:
Parenthesize plus-expression inside or-expression.
<global symbol>: Ditto.
(sh_elf_set_mach_from_flags): Remove code refusing
deleted EF_SH64_32BIT_ABI flag.
2000-11-26 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh.c (sh_elf_howto_table) <R_SH_IMM_LOW16_PCREL,
R_SH_IMM_MEDLOW16_PCREL, R_SH_IMM_MEDHI16_PCREL,
R_SH_IMM_HI16_PCREL, R_SH_64_PCREL>: Set pcrel_offset to true.
(sh_elf_relocate_section) <local symbol>: Or 1 in
calculation of relocation if sym->st_other & STO_SH5_ISA32.
<global symbol>: Ditto if h->other & STO_SH5_ISA32.
* elf32-sh64.c (shmedia_prepare_reloc): Add rel->r_addend to
relocation.
2000-11-24 Hans-Peter Nilsson <hpn@cygnus.com>
* Makefile.am (BFD32_BACKENDS): Add elf32-sh64.lo.
(BFD32_BACKENDS_CFILES): Add elf32-sh64.c.
Regenerate dependencies.
* Makefile.in: Regenerate.
* archures.c: Add bfd_mach_sh5.
* config.bfd: Map targ_cpu sh* to bfd_sh_arch.
Handle sh64-*-elf*. Set targ_cflags to -DINCLUDE_SHMEDIA.
* configure.in: Handle bfd_elf32_sh64_vec and bfd_elf32_sh64l_vec.
* configure: Regenerate.
* reloc.c (BFD_RELOC_SH_SHMEDIA_CODE, BFD_RELOC_SH_IMMU5,
BFD_RELOC_SH_IMMS6, BFD_RELOC_SH_IMMS6BY32, BFD_RELOC_SH_IMMU6,
BFD_RELOC_SH_IMMS10, BFD_RELOC_SH_IMMS10BY2,
BFD_RELOC_SH_IMMS10BY4, BFD_RELOC_SH_IMMS10BY8,
BFD_RELOC_SH_IMMS16, BFD_RELOC_SH_IMMU16, BFD_RELOC_SH_IMM_LOW16,
BFD_RELOC_SH_IMM_LOW16_PCREL, BFD_RELOC_SH_IMM_MEDLOW16,
BFD_RELOC_SH_IMM_MEDLOW16_PCREL, BFD_RELOC_SH_IMM_MEDHI16,
BFD_RELOC_SH_IMM_MEDHI16_PCREL, BFD_RELOC_SH_IMM_HI16,
BFD_RELOC_SH_IMM_HI16_PCREL, BFD_RELOC_SH_PT_16): New relocations.
* cpu-sh.c [INCLUDE_SHMEDIA] (arch_info_struct): Define and link
in item for SH5.
* elf32-sh.c [INCLUDE_SHMEDIA] (sh_elf_howto_table): Add howto items
for SHmedia relocs.
[INCLUDE_SHMEDIA] (sh_rel): Add mappings for SHmedia relocs.
[INCLUDE_SHMEDIA] (sh_elf_relocate_section) [default]: Call
shmedia_prepare_reloc, goto final_link_relocate if it returns
non-zero, else fail as before.
(sh_elf_set_mach_from_flags): Provide function only if not defined
as macro. Do not recognize objects with EF_SH64_32BIT_ABI set.
(sh_elf_set_private_flags): Provide function only if not defined
as a macro.
(sh_elf_copy_private_data): Similar.
(sh_elf_merge_private_data): Similar.
* section.c (SEC_SH_ISA_SHMEDIA): New.
* targets.c (bfd_elf32_sh64_vec, bfd_elf32_sh64l_vec): Declare.
* elf32-sh64.c: New file.
* libbfd.h: Regenerate.
* bfd-in2.h: Regenerate.
* po/POTFILES.in: Regenerate.
* po/bfd.pot: Regenerate.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.
2002-02-08 13:33:27 +08:00
|
|
|
"ERROR: %s is compiled for EABI version %d, whereas %s is compiled for "
|
|
|
|
"version %d"
|
2000-02-28 00:55:52 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: elf32-arm.h:2316
|
2002-01-17 22:12:08 +08:00
|
|
|
#, c-format
|
Contribute sh64-elf.
2002-01-23 Alexandre Oliva <aoliva@redhat.com>
* reloc.c (R_SH_GOTPLT32, R_SH_GOT_LOW16, R_SH_GOT_MEDLOW16,
R_SH_GOT_MEDHI16, R_SH_GOT_HI16, R_SH_GOTPLT_LOW16,
R_SH_GOTPLT_MEDLOW16, R_SH_GOTPLT_MEDHI16, R_SH_GOTPLT_HI16,
R_SH_PLT_LOW16, R_SH_PLT_MEDLOW16, R_SH_PLT_MEDHI16,
R_SH_PLT_HI16, R_SH_GOTOFF_LOW16, R_SH_GOTOFF_MEDLOW16,
R_SH_GOTOFF_MEDHI16, R_SH_GOTOFF_HI16, R_SH_GOTPC_LOW16,
R_SH_GOTPC_MEDLOW16, R_SH_GOTPC_MEDHI16, R_SH_GOTPC_HI16,
R_SH_GOT10BY4, R_SH_GOTPLT10BY4, R_SH_GOT10BY8, R_SH_GOTPLT10BY8,
R_SH_COPY64, R_SH_GLOB_DAT64, R_SH_JMP_SLOT64, R_SH_RELATIVE64):
New relocs.
* libbfd.h, bfd-in2.h: Rebuilt.
* elf32-sh.c (sh_elf_howto_table): Define new relocs.
(sh_reloc_map): Map them.
(PLT_ENTRY_SIZE, elf_sh_plt0_entry_be, elf_sh_plt0_entry_le,
elf_sh_plt_entry_be, elf_sh_plt_entry_le, elf_sh_pic_plt_entry_be,
elf_sh_pic_plt_entry_le, elf_sh_plt0_entry, elf_sh_plt_entry,
elf_sh_pic_plt_entry, elf_sh_sizeof_plt, elf_sh_plt_plt0_offset,
elf_sh_plt0_gotplt_offset, elf_sh_plt_temp_offset,
elf_sh_plt_symbol_offset, elf_sh_plt_reloc_offset,
movi_shori_putval) [INCLUDE_SHMEDIA]: New.
(elf_sh_link_hash_entry) [INCLUDE_SHMEDIA]: Add
datalabel_got_offset.
(sh_elf_link_hash_newfunc): Initialize it.
(sh_elf_relocate_section): Augment the scope of
seen_stt_datalabel. Introduce GOTPLT support. Extend GOTPC, PLT,
GOT and GOTOFF handling to new SHmedia relocation types. Support
GOT_BIAS.
(sh_elf_check_relocs): Likewise.
(sh_elf_finish_dynamic_symbol) [TARGET_SHMEDIA]: Set up values in
PLT entries using movi_shori_putval. Support GOT_BIAS.
(sh_elf_finish_dynamic_sections): Likewise.
* elf32-sh64.c (shmedia_prepare_reloc): Do not add addend to
relocation, it's now done by the caller.
(GOT_BIAS): New.
* elf64-sh64.c (GOT_BIAS, PLT_ENTRY_SIZE, elf_sh64_sizeof_plt,
elf_sh64_plt_plt0_offset, elf_sh64_plt0_gotplt_offset,
elf_sh64_plt_temp_offset, elf_sh64_plt_symbol_offset,
elf_sh64_plt_reloc_offset, ELF_DYNAMIC_INTERPRETER,
elf_sh64_pcrel_relocs_copied, elf_sh64_link_hash_entry,
elf_sh64_link_hash_table, sh64_elf64_link_hash_traverse,
sh64_elf64_hash_table): New.
(sh_elf64_howto_table): Introduce new relocs.
(sh_elf64_info_to_howto): Accept new PIC relocs.
(sh_elf64_relocate_section): Augment the scope of
seen_stt_datalabel. Support new PIC relocs.
(sh_elf64_check_relocs): Support new PIC relocs.
(elf_sh64_plt0_entry_be, elf_sh64_plt0_entry_le,
elf_sh64_plt_entry_be, elf_sh64_plt_entry_le,
elf_sh64_pic_plt_entry_be, elf_sh64_pic_plt_entry_le,
elf_sh64_plt0_entry, elf_sh64_plt_entry, elf_sh64_pic_plt_entry,
sh64_elf64_link_hash_newfunc, sh64_elf64_link_hash_table_create,
movi_shori_putval, movi_3shori_putval,
sh64_elf64_create_dynamic_sections,
sh64_elf64_adjust_dynamic_symbol, sh64_elf64_discard_copies,
sh64_elf64_size_dynamic_sections,
sh64_elf64_finish_dynamic_symbol,
sh64_elf64_finish_dynamic_sections): New.
(elf_backend_create_dynamic-sections,
bfd_elf64_bfd_link_hash_table_create,
elf_backend_adjust_dynamic_symbol,
elf_backend_size_dynamic_sections,
elf_backend_finish_dynamic_symbol,
elf_backend_finish_dynamic_sections, elf_backend_want_got_plt,
elf_backend_plt_readonly, elf_backend_want_plt_sym,
elf_backend_got_header_size, elf_backend_plt_header_size):
Define.
2001-05-16 Alexandre Oliva <aoliva@redhat.com>
* elf32-sh.c: Renumbered and renamed some SH5 relocations to
match official numbers and names; moved unmaching ones to the
range 0xf2-0xff.
* elf32-sh64.c, elf64-sh64.c: Likewise.
2001-03-12 DJ Delorie <dj@redhat.com>
* elf32-sh.c (sh_elf_relax_section): Don't relax SHmedia
sections.
2001-03-12 DJ Delorie <dj@redhat.com>
* elf32-sh64.c (shmedia_prepare_reloc): Validate relocs that must
be aligned.
* elf64-sh64.c (sh_elf64_relocate_section): Ditto.
2001-01-14 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh64.c (bfd_elf32_bfd_copy_private_section_data): Define.
(sh64_elf_fake_sections): Set type to SHT_SH5_CR_SORTED for a
.cranges section with SEC_SORT_ENTRIES set.
(sh64_backend_section_from_shdr): Set SEC_SORT_ENTRIES on an
incoming sorted .cranges section.
(sh64_bfd_elf_copy_private_section_data): New.
(sh64_elf_final_write_processing): Only sort .cranges and modify
start address if called by linker.
2001-01-08 Ben Elliston <bje@redhat.com>
* elf32-sh64.c (sh64_elf_final_write_processing): Activate
Hans-Peter Nilsson's set bit 0 patch from 2001-01-06.
* elf64-sh64.c (sh64_elf64_final_write_processing): Ditto.
2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com>
* elf64-sh64.c (sh_elf64_howto_table): No open brace at start of
line. Add comments before all entries.
<R_SH_PT_16, R_SH_SHMEDIA_CODE>: Correct and clarify describing
comment.
(sh_elf64_reloc): Correct head comment.
(sh_elf64_relocate_section): Correct spacing.
<relocating for a local symbol>: Do not honour STO_SH5_ISA32;
instead call reloc_dangerous callback.
<case R_SH_SHMEDIA_CODE>: New case.
(sh_elf64_gc_mark_hook): Correct spacing.
(sh_elf64_check_relocs): Ditto.
* elf32-sh64.c (shmedia_prepare_reloc) <case R_SH_SHMEDIA_CODE>:
New case.
* elf32-sh.c: Correct #endif comments for #ifndef-wrapped
functions.
(sh_elf_howto_table) <R_SH_PT_16, R_SH_SHMEDIA_CODE>: Correct,
clarify describing comment. Add comments before all entries.
(sh_elf_relocate_section) <relocating for a local symbol>: Do not
honour STO_SH5_ISA32; instead call reloc_dangerous callback.
2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com>
Sort .cranges section in final link. Prepare to set bit 0 on
entry address.
* elf32-sh64.c (struct sh64_find_section_vma_data): New.
(sh64_elf_link_output_symbol_hook): Fix typo in prototype.
(sh64_elf_set_mach_from_flags): Set SEC_DEBUGGING on incoming
.cranges section.
(sh64_backend_section_from_shdr): New, to recognize
SHT_SH5_CR_SORTED on incoming .cranges section.
(elf_backend_section_from_shdr): Define.
(sh64_elf_final_write_processing): Sort outgoing .cranges
section. (New, temporarily disabled:) Set bit 0 on entry address
according to ISA type.
(sh64_find_section_for_address): New.
(crange_qsort_cmpb, crange_qsort_cmpl, crange_bsearch_cmpb,
crange_bsearch_cmpl): Move here from opcodes/sh64-dis.c.
(sh64_address_in_cranges): Move here from opcodes/sh64-dis.c. Use
bfd_malloc, not xmalloc.
(sh64_get_contents_type): Move here from opcodes/sh64-dis.c. Make
global.
* elf32-sh64.c (sh64_elf64_final_write_processing): New, (but
temporarily disabled) setting bit 0 on entry address.
(elf_backend_final_write_processing): Define.
2001-01-05 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh.c (sh_elf_howto_table) <R_SH_PT_16>: Adjust fields to
be a proper relocation for PTA and PTB rather than a marker.
<R_SH_IMMU5, R_SH_IMMS6, R_SH_IMMU6, R_SH_IMMS10, R_SH_IMMS10BY2,
R_SH_IMMS10BY4, R_SH_IMMS10BY8, R_SH_IMMS16, R_SH_IMMU16,
R_SH_IMM_LOW16, R_SH_IMM_LOW16_PCREL, R_SH_IMM_MEDLOW16,
R_SH_IMM_MEDLOW16_PCREL, R_SH_IMM_MEDHI16, R_SH_IMM_MEDHI16_PCREL,
R_SH_IMM_HI16, R_SH_IMM_HI16_PCREL, R_SH_64, R_SH_64_PCREL>:
Zero src_mask.
* elf64-sh64.c: Ditto.
(sh_elf64_relocate_section) <case R_SH_PT_16>: New case.
* elf32-sh64.c: Include opcodes/sh64-opc.h
(shmedia_prepare_reloc): Take a bfd_link_info pointer as first
argument. Drop const qualifiers from "bfd *" and "bfd_byte *"
parameters. No unused parameters. Caller changed.
<case R_SH_PT_16>: New case.
* Makefile.am (elf32-sh64.lo): Add dependency on sh64-opc.h.
* Makefile.in: Regenerate.
2000-12-30 Hans-Peter Nilsson <hpn@cygnus.com>
* elf64-sh64.c (sh64_elf64_fake_sections): Set SHF_SH5_ISA32 for
all code sections.
(sh_elf64_set_mach_from_flags): Change from EF_SH64 to EF_SH5.
(sh64_elf_merge_private_data): Ditto.
* elf32-sh64.c (sh64_elf_fake_sections): Use sh64_elf_section_data
to access stored section flags.
(sh64_elf_final_write_processing): Return immediately unless
called by linker. Use sh64_elf_section_data (cranges) to get size
of linker-generated cranges entries.
(sh64_elf_copy_private_data): Add missing "return true".
(sh64_elf_set_mach_from_flags): Change from EF_SH64 to EF_SH5.
(sh_elf64_merge_private_data): Ditto.
2000-12-19 Hans-Peter Nilsson <hpn@cygnus.com>
* elf64-sh64.c (sh64_elf64_fake_sections): New, copy of
elf64-sh64.c:sh64_elf_fake_sections.
(elf_backend_fake_sections): Define as sh64_elf64_fake_sections.
2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh64.c (sh64_elf_copy_private_data_internal): Delete.
(sh64_elf_final_write_processing): New.
(elf_backend_final_write_processing): Define.
(sh64_elf_fake_sections): Get header flags from tdata field.
(sh64_elf_copy_private_data): Do not call
sh64_elf_copy_private_data_internal, just copy e_flags field.
(sh64_elf_merge_private_data): Do not call
sh64_elf_copy_private_data_internal.
2000-12-12 Hans-Peter Nilsson <hpn@cygnus.com>
Remove EF_SH64_ABI64, let ELF size make difference.
Remove SH64-specific BFD section flag.
* elf32-sh64.c (sh64_elf_fake_sections): Recognize section as
containing SHmedia through elf_section_data (asect)->tdata
non-zero, not using a BFD section flag.
(sh64_elf_set_mach_from_flags): Don't recognize EF_SH64_ABI64.
(sh64_elf_merge_private_data): Similar.
(elf_backend_section_flags): Don't define.
(sh64_elf_backend_section_flags): Delete.
* elf64-sh64.c (sh_elf64_set_mach_from_flags): Recognize EF_SH64,
not EF_SH64_ABI64.
(sh_elf64_merge_private_data): Similar.
* section.c (Section flags definitions): Don't define
SEC_SH_ISA_SHMEDIA.
(bfd-in2.h): Regenerate.
2000-12-09 Hans-Peter Nilsson <hpn@cygnus.com>
Make DataLabel references work with partial linking.
* elf32-sh64.c: Fix formatting.
(sh64_elf_link_output_symbol_hook): New.
(elf_backend_link_output_symbol_hook): Define to
sh64_elf_link_output_symbol_hook.
(sh64_elf_add_symbol_hook): Make DataLabel symbol just global
undefined if partial linking. Adjust sanity check.
* elf64-sh64.c (sh64_elf64_link_output_symbol_hook): New.
(elf_backend_link_output_symbol_hook): Define to
sh64_elf64_link_output_symbol_hook.
(sh64_elf64_add_symbol_hook): Make DataLabel symbol just global
undefined if partial linking. Adjust sanity check.
2000-12-07 Hans-Peter Nilsson <hpn@cygnus.com>
Implement semantics for inter-file DataLabel references.
* elf64-sh64.c (DATALABEL_SUFFIX): Define.
(sh64_elf64_add_symbol_hook): New.
(sh_elf64_relocate_section): If passing an indirect symbol with
st_type STT_DATALABEL on the way to a symbol with st_other
STO_SH5_ISA32, do not bitor 1 to the relocation.
(elf_backend_add_symbol_hook): Define to
sh64_elf64_add_symbol_hook.
* elf64-sh32.c: Tweak comments.
(DATALABEL_SUFFIX): Define.
(sh64_elf_add_symbol_hook): New.
(elf_backend_add_symbol_hook): Define to sh64_elf_add_symbol_hook.
* elf32-sh.c (sh_elf_relocate_section): If passing an indirect
symbol with st_type STT_DATALABEL on the way to a symbol with
st_other STO_SH5_ISA32, do not bitor 1 to the relocation.
2000-12-05 Hans-Peter Nilsson <hpn@cygnus.com>
Pass through STT_DATALABEL.
* elf32-sh64.c (sh64_elf_get_symbol_type): New.
(elf_backend_get_symbol_type): Define.
* elf64-sh64.c (sh64_elf64_get_symbol_type): New.
(elf_backend_get_symbol_type): Define.
2000-11-30 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh64.c: Tweak comments.
(sh64_elf_copy_private_data_internal): Add prototype.
(bfd_elf32_bfd_set_private_flags): Define.
(sh64_elf_copy_private_data_internal): Compare machine name, not
textual BFD target name, to check whether to copy section flag
SHF_SH5_ISA32.
(sh64_elf_merge_private_data): Validize bfd_get_arch_size.
Tweak section-contents-type-mismatch message.
(shmedia_prepare_reloc): Add ATTRIBUTE_UNUSED markers.
Validize reloc-types.
* elf64-sh64.c: New file.
* targets.c (bfd_elf64_sh64_vec, bfd_elf64_sh64l_vec): Declare.
* Makefile.am (BFD64_BACKENDS): Add elf64-sh64.lo.
(BFD64_BACKENDS_CFILES): Add elf64-sh64.c.
Regenerate dependencies.
* Makefile.in: Regenerate.
* config.bfd (sh64-*-elf*): Add bfd_elf64_sh64_vec and
bfd_elf64_sh64l_vec.
* configure.in: Handle bfd_elf64_sh64_vec and
bfd_elf64_sh64l_vec.
* configure: Regenerate.
* po/POTFILES.in: Regenerate.
* po/bfd.pot: Regenerate.
2000-11-29 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh64.c (sh64_elf_set_mach_from_flags): Do not recognize
anything else but EF_SH64 and EF_SH64_ABI64.
(sh64_elf_merge_private_data): Emit error for anything else but
EF_SH64 and EF_SH64_ABI64.
* config.bfd: Remove bfd_elf32_shblin_vec and bfd_elf32_shlin_vec
from targ_selvecs.
* configure.in: Add cofflink.lo to bfd_elf32_sh64_vec and
bfd_elf32_sh64l_vec as a temporary measure.
* configure: Regenerate.
2000-11-27 Hans-Peter Nilsson <hpn@cygnus.com>
* cpu-sh.c (arch_info_struct): Include sh5 item
unconditionalized.
* config.bfd (sh64-*-elf*): Do not set targ_cflags.
Add targ_selvecs bfd_elf32_sh_vec, bfd_elf32_shl_vec,
bfd_elf32_shblin_vec and bfd_elf32_shlin_vec.
* elf32-sh64.c: Tweak comments.
(sh64_elf_set_mach_from_flags): Recognize all machine flags that
are proper subsets of SH64 as bfd_mach_sh5. Add EF_SH64_ABI64.
(sh64_elf_copy_private_data_internal): Wrap long line.
(sh64_elf_merge_private_data): Rewrite to allow objects from
SH64 subsets to be linked together.
(INCLUDE_SHMEDIA): Define.
* elf32-sh.c (sh_elf_relocate_section) <local symbol>:
Parenthesize plus-expression inside or-expression.
<global symbol>: Ditto.
(sh_elf_set_mach_from_flags): Remove code refusing
deleted EF_SH64_32BIT_ABI flag.
2000-11-26 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh.c (sh_elf_howto_table) <R_SH_IMM_LOW16_PCREL,
R_SH_IMM_MEDLOW16_PCREL, R_SH_IMM_MEDHI16_PCREL,
R_SH_IMM_HI16_PCREL, R_SH_64_PCREL>: Set pcrel_offset to true.
(sh_elf_relocate_section) <local symbol>: Or 1 in
calculation of relocation if sym->st_other & STO_SH5_ISA32.
<global symbol>: Ditto if h->other & STO_SH5_ISA32.
* elf32-sh64.c (shmedia_prepare_reloc): Add rel->r_addend to
relocation.
2000-11-24 Hans-Peter Nilsson <hpn@cygnus.com>
* Makefile.am (BFD32_BACKENDS): Add elf32-sh64.lo.
(BFD32_BACKENDS_CFILES): Add elf32-sh64.c.
Regenerate dependencies.
* Makefile.in: Regenerate.
* archures.c: Add bfd_mach_sh5.
* config.bfd: Map targ_cpu sh* to bfd_sh_arch.
Handle sh64-*-elf*. Set targ_cflags to -DINCLUDE_SHMEDIA.
* configure.in: Handle bfd_elf32_sh64_vec and bfd_elf32_sh64l_vec.
* configure: Regenerate.
* reloc.c (BFD_RELOC_SH_SHMEDIA_CODE, BFD_RELOC_SH_IMMU5,
BFD_RELOC_SH_IMMS6, BFD_RELOC_SH_IMMS6BY32, BFD_RELOC_SH_IMMU6,
BFD_RELOC_SH_IMMS10, BFD_RELOC_SH_IMMS10BY2,
BFD_RELOC_SH_IMMS10BY4, BFD_RELOC_SH_IMMS10BY8,
BFD_RELOC_SH_IMMS16, BFD_RELOC_SH_IMMU16, BFD_RELOC_SH_IMM_LOW16,
BFD_RELOC_SH_IMM_LOW16_PCREL, BFD_RELOC_SH_IMM_MEDLOW16,
BFD_RELOC_SH_IMM_MEDLOW16_PCREL, BFD_RELOC_SH_IMM_MEDHI16,
BFD_RELOC_SH_IMM_MEDHI16_PCREL, BFD_RELOC_SH_IMM_HI16,
BFD_RELOC_SH_IMM_HI16_PCREL, BFD_RELOC_SH_PT_16): New relocations.
* cpu-sh.c [INCLUDE_SHMEDIA] (arch_info_struct): Define and link
in item for SH5.
* elf32-sh.c [INCLUDE_SHMEDIA] (sh_elf_howto_table): Add howto items
for SHmedia relocs.
[INCLUDE_SHMEDIA] (sh_rel): Add mappings for SHmedia relocs.
[INCLUDE_SHMEDIA] (sh_elf_relocate_section) [default]: Call
shmedia_prepare_reloc, goto final_link_relocate if it returns
non-zero, else fail as before.
(sh_elf_set_mach_from_flags): Provide function only if not defined
as macro. Do not recognize objects with EF_SH64_32BIT_ABI set.
(sh_elf_set_private_flags): Provide function only if not defined
as a macro.
(sh_elf_copy_private_data): Similar.
(sh_elf_merge_private_data): Similar.
* section.c (SEC_SH_ISA_SHMEDIA): New.
* targets.c (bfd_elf32_sh64_vec, bfd_elf32_sh64l_vec): Declare.
* elf32-sh64.c: New file.
* libbfd.h: Regenerate.
* bfd-in2.h: Regenerate.
* po/POTFILES.in: Regenerate.
* po/bfd.pot: Regenerate.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.
2002-02-08 13:33:27 +08:00
|
|
|
msgid "ERROR: %s is compiled for APCS-%d, whereas target %s uses APCS-%d"
|
2000-02-28 00:55:52 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: elf32-arm.h:2344
|
|
|
|
#, c-format
|
|
|
|
msgid "ERROR: %s uses VFP instructions, whereas %s does not"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: elf32-arm.h:2349
|
2000-02-28 00:55:52 +08:00
|
|
|
#, c-format
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid "ERROR: %s uses FPA instructions, whereas %s does not"
|
2000-02-28 00:55:52 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: elf32-arm.h:2360 elf32-arm.h:2365
|
2002-01-17 22:12:08 +08:00
|
|
|
#, c-format
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid "ERROR: %s uses Maverick instructions, whereas %s does not"
|
2000-02-28 00:55:52 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: elf32-arm.h:2385
|
2002-01-17 22:12:08 +08:00
|
|
|
#, c-format
|
Contribute sh64-elf.
2002-01-23 Alexandre Oliva <aoliva@redhat.com>
* reloc.c (R_SH_GOTPLT32, R_SH_GOT_LOW16, R_SH_GOT_MEDLOW16,
R_SH_GOT_MEDHI16, R_SH_GOT_HI16, R_SH_GOTPLT_LOW16,
R_SH_GOTPLT_MEDLOW16, R_SH_GOTPLT_MEDHI16, R_SH_GOTPLT_HI16,
R_SH_PLT_LOW16, R_SH_PLT_MEDLOW16, R_SH_PLT_MEDHI16,
R_SH_PLT_HI16, R_SH_GOTOFF_LOW16, R_SH_GOTOFF_MEDLOW16,
R_SH_GOTOFF_MEDHI16, R_SH_GOTOFF_HI16, R_SH_GOTPC_LOW16,
R_SH_GOTPC_MEDLOW16, R_SH_GOTPC_MEDHI16, R_SH_GOTPC_HI16,
R_SH_GOT10BY4, R_SH_GOTPLT10BY4, R_SH_GOT10BY8, R_SH_GOTPLT10BY8,
R_SH_COPY64, R_SH_GLOB_DAT64, R_SH_JMP_SLOT64, R_SH_RELATIVE64):
New relocs.
* libbfd.h, bfd-in2.h: Rebuilt.
* elf32-sh.c (sh_elf_howto_table): Define new relocs.
(sh_reloc_map): Map them.
(PLT_ENTRY_SIZE, elf_sh_plt0_entry_be, elf_sh_plt0_entry_le,
elf_sh_plt_entry_be, elf_sh_plt_entry_le, elf_sh_pic_plt_entry_be,
elf_sh_pic_plt_entry_le, elf_sh_plt0_entry, elf_sh_plt_entry,
elf_sh_pic_plt_entry, elf_sh_sizeof_plt, elf_sh_plt_plt0_offset,
elf_sh_plt0_gotplt_offset, elf_sh_plt_temp_offset,
elf_sh_plt_symbol_offset, elf_sh_plt_reloc_offset,
movi_shori_putval) [INCLUDE_SHMEDIA]: New.
(elf_sh_link_hash_entry) [INCLUDE_SHMEDIA]: Add
datalabel_got_offset.
(sh_elf_link_hash_newfunc): Initialize it.
(sh_elf_relocate_section): Augment the scope of
seen_stt_datalabel. Introduce GOTPLT support. Extend GOTPC, PLT,
GOT and GOTOFF handling to new SHmedia relocation types. Support
GOT_BIAS.
(sh_elf_check_relocs): Likewise.
(sh_elf_finish_dynamic_symbol) [TARGET_SHMEDIA]: Set up values in
PLT entries using movi_shori_putval. Support GOT_BIAS.
(sh_elf_finish_dynamic_sections): Likewise.
* elf32-sh64.c (shmedia_prepare_reloc): Do not add addend to
relocation, it's now done by the caller.
(GOT_BIAS): New.
* elf64-sh64.c (GOT_BIAS, PLT_ENTRY_SIZE, elf_sh64_sizeof_plt,
elf_sh64_plt_plt0_offset, elf_sh64_plt0_gotplt_offset,
elf_sh64_plt_temp_offset, elf_sh64_plt_symbol_offset,
elf_sh64_plt_reloc_offset, ELF_DYNAMIC_INTERPRETER,
elf_sh64_pcrel_relocs_copied, elf_sh64_link_hash_entry,
elf_sh64_link_hash_table, sh64_elf64_link_hash_traverse,
sh64_elf64_hash_table): New.
(sh_elf64_howto_table): Introduce new relocs.
(sh_elf64_info_to_howto): Accept new PIC relocs.
(sh_elf64_relocate_section): Augment the scope of
seen_stt_datalabel. Support new PIC relocs.
(sh_elf64_check_relocs): Support new PIC relocs.
(elf_sh64_plt0_entry_be, elf_sh64_plt0_entry_le,
elf_sh64_plt_entry_be, elf_sh64_plt_entry_le,
elf_sh64_pic_plt_entry_be, elf_sh64_pic_plt_entry_le,
elf_sh64_plt0_entry, elf_sh64_plt_entry, elf_sh64_pic_plt_entry,
sh64_elf64_link_hash_newfunc, sh64_elf64_link_hash_table_create,
movi_shori_putval, movi_3shori_putval,
sh64_elf64_create_dynamic_sections,
sh64_elf64_adjust_dynamic_symbol, sh64_elf64_discard_copies,
sh64_elf64_size_dynamic_sections,
sh64_elf64_finish_dynamic_symbol,
sh64_elf64_finish_dynamic_sections): New.
(elf_backend_create_dynamic-sections,
bfd_elf64_bfd_link_hash_table_create,
elf_backend_adjust_dynamic_symbol,
elf_backend_size_dynamic_sections,
elf_backend_finish_dynamic_symbol,
elf_backend_finish_dynamic_sections, elf_backend_want_got_plt,
elf_backend_plt_readonly, elf_backend_want_plt_sym,
elf_backend_got_header_size, elf_backend_plt_header_size):
Define.
2001-05-16 Alexandre Oliva <aoliva@redhat.com>
* elf32-sh.c: Renumbered and renamed some SH5 relocations to
match official numbers and names; moved unmaching ones to the
range 0xf2-0xff.
* elf32-sh64.c, elf64-sh64.c: Likewise.
2001-03-12 DJ Delorie <dj@redhat.com>
* elf32-sh.c (sh_elf_relax_section): Don't relax SHmedia
sections.
2001-03-12 DJ Delorie <dj@redhat.com>
* elf32-sh64.c (shmedia_prepare_reloc): Validate relocs that must
be aligned.
* elf64-sh64.c (sh_elf64_relocate_section): Ditto.
2001-01-14 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh64.c (bfd_elf32_bfd_copy_private_section_data): Define.
(sh64_elf_fake_sections): Set type to SHT_SH5_CR_SORTED for a
.cranges section with SEC_SORT_ENTRIES set.
(sh64_backend_section_from_shdr): Set SEC_SORT_ENTRIES on an
incoming sorted .cranges section.
(sh64_bfd_elf_copy_private_section_data): New.
(sh64_elf_final_write_processing): Only sort .cranges and modify
start address if called by linker.
2001-01-08 Ben Elliston <bje@redhat.com>
* elf32-sh64.c (sh64_elf_final_write_processing): Activate
Hans-Peter Nilsson's set bit 0 patch from 2001-01-06.
* elf64-sh64.c (sh64_elf64_final_write_processing): Ditto.
2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com>
* elf64-sh64.c (sh_elf64_howto_table): No open brace at start of
line. Add comments before all entries.
<R_SH_PT_16, R_SH_SHMEDIA_CODE>: Correct and clarify describing
comment.
(sh_elf64_reloc): Correct head comment.
(sh_elf64_relocate_section): Correct spacing.
<relocating for a local symbol>: Do not honour STO_SH5_ISA32;
instead call reloc_dangerous callback.
<case R_SH_SHMEDIA_CODE>: New case.
(sh_elf64_gc_mark_hook): Correct spacing.
(sh_elf64_check_relocs): Ditto.
* elf32-sh64.c (shmedia_prepare_reloc) <case R_SH_SHMEDIA_CODE>:
New case.
* elf32-sh.c: Correct #endif comments for #ifndef-wrapped
functions.
(sh_elf_howto_table) <R_SH_PT_16, R_SH_SHMEDIA_CODE>: Correct,
clarify describing comment. Add comments before all entries.
(sh_elf_relocate_section) <relocating for a local symbol>: Do not
honour STO_SH5_ISA32; instead call reloc_dangerous callback.
2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com>
Sort .cranges section in final link. Prepare to set bit 0 on
entry address.
* elf32-sh64.c (struct sh64_find_section_vma_data): New.
(sh64_elf_link_output_symbol_hook): Fix typo in prototype.
(sh64_elf_set_mach_from_flags): Set SEC_DEBUGGING on incoming
.cranges section.
(sh64_backend_section_from_shdr): New, to recognize
SHT_SH5_CR_SORTED on incoming .cranges section.
(elf_backend_section_from_shdr): Define.
(sh64_elf_final_write_processing): Sort outgoing .cranges
section. (New, temporarily disabled:) Set bit 0 on entry address
according to ISA type.
(sh64_find_section_for_address): New.
(crange_qsort_cmpb, crange_qsort_cmpl, crange_bsearch_cmpb,
crange_bsearch_cmpl): Move here from opcodes/sh64-dis.c.
(sh64_address_in_cranges): Move here from opcodes/sh64-dis.c. Use
bfd_malloc, not xmalloc.
(sh64_get_contents_type): Move here from opcodes/sh64-dis.c. Make
global.
* elf32-sh64.c (sh64_elf64_final_write_processing): New, (but
temporarily disabled) setting bit 0 on entry address.
(elf_backend_final_write_processing): Define.
2001-01-05 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh.c (sh_elf_howto_table) <R_SH_PT_16>: Adjust fields to
be a proper relocation for PTA and PTB rather than a marker.
<R_SH_IMMU5, R_SH_IMMS6, R_SH_IMMU6, R_SH_IMMS10, R_SH_IMMS10BY2,
R_SH_IMMS10BY4, R_SH_IMMS10BY8, R_SH_IMMS16, R_SH_IMMU16,
R_SH_IMM_LOW16, R_SH_IMM_LOW16_PCREL, R_SH_IMM_MEDLOW16,
R_SH_IMM_MEDLOW16_PCREL, R_SH_IMM_MEDHI16, R_SH_IMM_MEDHI16_PCREL,
R_SH_IMM_HI16, R_SH_IMM_HI16_PCREL, R_SH_64, R_SH_64_PCREL>:
Zero src_mask.
* elf64-sh64.c: Ditto.
(sh_elf64_relocate_section) <case R_SH_PT_16>: New case.
* elf32-sh64.c: Include opcodes/sh64-opc.h
(shmedia_prepare_reloc): Take a bfd_link_info pointer as first
argument. Drop const qualifiers from "bfd *" and "bfd_byte *"
parameters. No unused parameters. Caller changed.
<case R_SH_PT_16>: New case.
* Makefile.am (elf32-sh64.lo): Add dependency on sh64-opc.h.
* Makefile.in: Regenerate.
2000-12-30 Hans-Peter Nilsson <hpn@cygnus.com>
* elf64-sh64.c (sh64_elf64_fake_sections): Set SHF_SH5_ISA32 for
all code sections.
(sh_elf64_set_mach_from_flags): Change from EF_SH64 to EF_SH5.
(sh64_elf_merge_private_data): Ditto.
* elf32-sh64.c (sh64_elf_fake_sections): Use sh64_elf_section_data
to access stored section flags.
(sh64_elf_final_write_processing): Return immediately unless
called by linker. Use sh64_elf_section_data (cranges) to get size
of linker-generated cranges entries.
(sh64_elf_copy_private_data): Add missing "return true".
(sh64_elf_set_mach_from_flags): Change from EF_SH64 to EF_SH5.
(sh_elf64_merge_private_data): Ditto.
2000-12-19 Hans-Peter Nilsson <hpn@cygnus.com>
* elf64-sh64.c (sh64_elf64_fake_sections): New, copy of
elf64-sh64.c:sh64_elf_fake_sections.
(elf_backend_fake_sections): Define as sh64_elf64_fake_sections.
2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh64.c (sh64_elf_copy_private_data_internal): Delete.
(sh64_elf_final_write_processing): New.
(elf_backend_final_write_processing): Define.
(sh64_elf_fake_sections): Get header flags from tdata field.
(sh64_elf_copy_private_data): Do not call
sh64_elf_copy_private_data_internal, just copy e_flags field.
(sh64_elf_merge_private_data): Do not call
sh64_elf_copy_private_data_internal.
2000-12-12 Hans-Peter Nilsson <hpn@cygnus.com>
Remove EF_SH64_ABI64, let ELF size make difference.
Remove SH64-specific BFD section flag.
* elf32-sh64.c (sh64_elf_fake_sections): Recognize section as
containing SHmedia through elf_section_data (asect)->tdata
non-zero, not using a BFD section flag.
(sh64_elf_set_mach_from_flags): Don't recognize EF_SH64_ABI64.
(sh64_elf_merge_private_data): Similar.
(elf_backend_section_flags): Don't define.
(sh64_elf_backend_section_flags): Delete.
* elf64-sh64.c (sh_elf64_set_mach_from_flags): Recognize EF_SH64,
not EF_SH64_ABI64.
(sh_elf64_merge_private_data): Similar.
* section.c (Section flags definitions): Don't define
SEC_SH_ISA_SHMEDIA.
(bfd-in2.h): Regenerate.
2000-12-09 Hans-Peter Nilsson <hpn@cygnus.com>
Make DataLabel references work with partial linking.
* elf32-sh64.c: Fix formatting.
(sh64_elf_link_output_symbol_hook): New.
(elf_backend_link_output_symbol_hook): Define to
sh64_elf_link_output_symbol_hook.
(sh64_elf_add_symbol_hook): Make DataLabel symbol just global
undefined if partial linking. Adjust sanity check.
* elf64-sh64.c (sh64_elf64_link_output_symbol_hook): New.
(elf_backend_link_output_symbol_hook): Define to
sh64_elf64_link_output_symbol_hook.
(sh64_elf64_add_symbol_hook): Make DataLabel symbol just global
undefined if partial linking. Adjust sanity check.
2000-12-07 Hans-Peter Nilsson <hpn@cygnus.com>
Implement semantics for inter-file DataLabel references.
* elf64-sh64.c (DATALABEL_SUFFIX): Define.
(sh64_elf64_add_symbol_hook): New.
(sh_elf64_relocate_section): If passing an indirect symbol with
st_type STT_DATALABEL on the way to a symbol with st_other
STO_SH5_ISA32, do not bitor 1 to the relocation.
(elf_backend_add_symbol_hook): Define to
sh64_elf64_add_symbol_hook.
* elf64-sh32.c: Tweak comments.
(DATALABEL_SUFFIX): Define.
(sh64_elf_add_symbol_hook): New.
(elf_backend_add_symbol_hook): Define to sh64_elf_add_symbol_hook.
* elf32-sh.c (sh_elf_relocate_section): If passing an indirect
symbol with st_type STT_DATALABEL on the way to a symbol with
st_other STO_SH5_ISA32, do not bitor 1 to the relocation.
2000-12-05 Hans-Peter Nilsson <hpn@cygnus.com>
Pass through STT_DATALABEL.
* elf32-sh64.c (sh64_elf_get_symbol_type): New.
(elf_backend_get_symbol_type): Define.
* elf64-sh64.c (sh64_elf64_get_symbol_type): New.
(elf_backend_get_symbol_type): Define.
2000-11-30 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh64.c: Tweak comments.
(sh64_elf_copy_private_data_internal): Add prototype.
(bfd_elf32_bfd_set_private_flags): Define.
(sh64_elf_copy_private_data_internal): Compare machine name, not
textual BFD target name, to check whether to copy section flag
SHF_SH5_ISA32.
(sh64_elf_merge_private_data): Validize bfd_get_arch_size.
Tweak section-contents-type-mismatch message.
(shmedia_prepare_reloc): Add ATTRIBUTE_UNUSED markers.
Validize reloc-types.
* elf64-sh64.c: New file.
* targets.c (bfd_elf64_sh64_vec, bfd_elf64_sh64l_vec): Declare.
* Makefile.am (BFD64_BACKENDS): Add elf64-sh64.lo.
(BFD64_BACKENDS_CFILES): Add elf64-sh64.c.
Regenerate dependencies.
* Makefile.in: Regenerate.
* config.bfd (sh64-*-elf*): Add bfd_elf64_sh64_vec and
bfd_elf64_sh64l_vec.
* configure.in: Handle bfd_elf64_sh64_vec and
bfd_elf64_sh64l_vec.
* configure: Regenerate.
* po/POTFILES.in: Regenerate.
* po/bfd.pot: Regenerate.
2000-11-29 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh64.c (sh64_elf_set_mach_from_flags): Do not recognize
anything else but EF_SH64 and EF_SH64_ABI64.
(sh64_elf_merge_private_data): Emit error for anything else but
EF_SH64 and EF_SH64_ABI64.
* config.bfd: Remove bfd_elf32_shblin_vec and bfd_elf32_shlin_vec
from targ_selvecs.
* configure.in: Add cofflink.lo to bfd_elf32_sh64_vec and
bfd_elf32_sh64l_vec as a temporary measure.
* configure: Regenerate.
2000-11-27 Hans-Peter Nilsson <hpn@cygnus.com>
* cpu-sh.c (arch_info_struct): Include sh5 item
unconditionalized.
* config.bfd (sh64-*-elf*): Do not set targ_cflags.
Add targ_selvecs bfd_elf32_sh_vec, bfd_elf32_shl_vec,
bfd_elf32_shblin_vec and bfd_elf32_shlin_vec.
* elf32-sh64.c: Tweak comments.
(sh64_elf_set_mach_from_flags): Recognize all machine flags that
are proper subsets of SH64 as bfd_mach_sh5. Add EF_SH64_ABI64.
(sh64_elf_copy_private_data_internal): Wrap long line.
(sh64_elf_merge_private_data): Rewrite to allow objects from
SH64 subsets to be linked together.
(INCLUDE_SHMEDIA): Define.
* elf32-sh.c (sh_elf_relocate_section) <local symbol>:
Parenthesize plus-expression inside or-expression.
<global symbol>: Ditto.
(sh_elf_set_mach_from_flags): Remove code refusing
deleted EF_SH64_32BIT_ABI flag.
2000-11-26 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh.c (sh_elf_howto_table) <R_SH_IMM_LOW16_PCREL,
R_SH_IMM_MEDLOW16_PCREL, R_SH_IMM_MEDHI16_PCREL,
R_SH_IMM_HI16_PCREL, R_SH_64_PCREL>: Set pcrel_offset to true.
(sh_elf_relocate_section) <local symbol>: Or 1 in
calculation of relocation if sym->st_other & STO_SH5_ISA32.
<global symbol>: Ditto if h->other & STO_SH5_ISA32.
* elf32-sh64.c (shmedia_prepare_reloc): Add rel->r_addend to
relocation.
2000-11-24 Hans-Peter Nilsson <hpn@cygnus.com>
* Makefile.am (BFD32_BACKENDS): Add elf32-sh64.lo.
(BFD32_BACKENDS_CFILES): Add elf32-sh64.c.
Regenerate dependencies.
* Makefile.in: Regenerate.
* archures.c: Add bfd_mach_sh5.
* config.bfd: Map targ_cpu sh* to bfd_sh_arch.
Handle sh64-*-elf*. Set targ_cflags to -DINCLUDE_SHMEDIA.
* configure.in: Handle bfd_elf32_sh64_vec and bfd_elf32_sh64l_vec.
* configure: Regenerate.
* reloc.c (BFD_RELOC_SH_SHMEDIA_CODE, BFD_RELOC_SH_IMMU5,
BFD_RELOC_SH_IMMS6, BFD_RELOC_SH_IMMS6BY32, BFD_RELOC_SH_IMMU6,
BFD_RELOC_SH_IMMS10, BFD_RELOC_SH_IMMS10BY2,
BFD_RELOC_SH_IMMS10BY4, BFD_RELOC_SH_IMMS10BY8,
BFD_RELOC_SH_IMMS16, BFD_RELOC_SH_IMMU16, BFD_RELOC_SH_IMM_LOW16,
BFD_RELOC_SH_IMM_LOW16_PCREL, BFD_RELOC_SH_IMM_MEDLOW16,
BFD_RELOC_SH_IMM_MEDLOW16_PCREL, BFD_RELOC_SH_IMM_MEDHI16,
BFD_RELOC_SH_IMM_MEDHI16_PCREL, BFD_RELOC_SH_IMM_HI16,
BFD_RELOC_SH_IMM_HI16_PCREL, BFD_RELOC_SH_PT_16): New relocations.
* cpu-sh.c [INCLUDE_SHMEDIA] (arch_info_struct): Define and link
in item for SH5.
* elf32-sh.c [INCLUDE_SHMEDIA] (sh_elf_howto_table): Add howto items
for SHmedia relocs.
[INCLUDE_SHMEDIA] (sh_rel): Add mappings for SHmedia relocs.
[INCLUDE_SHMEDIA] (sh_elf_relocate_section) [default]: Call
shmedia_prepare_reloc, goto final_link_relocate if it returns
non-zero, else fail as before.
(sh_elf_set_mach_from_flags): Provide function only if not defined
as macro. Do not recognize objects with EF_SH64_32BIT_ABI set.
(sh_elf_set_private_flags): Provide function only if not defined
as a macro.
(sh_elf_copy_private_data): Similar.
(sh_elf_merge_private_data): Similar.
* section.c (SEC_SH_ISA_SHMEDIA): New.
* targets.c (bfd_elf32_sh64_vec, bfd_elf32_sh64l_vec): Declare.
* elf32-sh64.c: New file.
* libbfd.h: Regenerate.
* bfd-in2.h: Regenerate.
* po/POTFILES.in: Regenerate.
* po/bfd.pot: Regenerate.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.
2002-02-08 13:33:27 +08:00
|
|
|
msgid "ERROR: %s uses software FP, whereas %s uses hardware FP"
|
2000-02-28 00:55:52 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: elf32-arm.h:2390
|
2002-01-17 22:12:08 +08:00
|
|
|
#, c-format
|
Contribute sh64-elf.
2002-01-23 Alexandre Oliva <aoliva@redhat.com>
* reloc.c (R_SH_GOTPLT32, R_SH_GOT_LOW16, R_SH_GOT_MEDLOW16,
R_SH_GOT_MEDHI16, R_SH_GOT_HI16, R_SH_GOTPLT_LOW16,
R_SH_GOTPLT_MEDLOW16, R_SH_GOTPLT_MEDHI16, R_SH_GOTPLT_HI16,
R_SH_PLT_LOW16, R_SH_PLT_MEDLOW16, R_SH_PLT_MEDHI16,
R_SH_PLT_HI16, R_SH_GOTOFF_LOW16, R_SH_GOTOFF_MEDLOW16,
R_SH_GOTOFF_MEDHI16, R_SH_GOTOFF_HI16, R_SH_GOTPC_LOW16,
R_SH_GOTPC_MEDLOW16, R_SH_GOTPC_MEDHI16, R_SH_GOTPC_HI16,
R_SH_GOT10BY4, R_SH_GOTPLT10BY4, R_SH_GOT10BY8, R_SH_GOTPLT10BY8,
R_SH_COPY64, R_SH_GLOB_DAT64, R_SH_JMP_SLOT64, R_SH_RELATIVE64):
New relocs.
* libbfd.h, bfd-in2.h: Rebuilt.
* elf32-sh.c (sh_elf_howto_table): Define new relocs.
(sh_reloc_map): Map them.
(PLT_ENTRY_SIZE, elf_sh_plt0_entry_be, elf_sh_plt0_entry_le,
elf_sh_plt_entry_be, elf_sh_plt_entry_le, elf_sh_pic_plt_entry_be,
elf_sh_pic_plt_entry_le, elf_sh_plt0_entry, elf_sh_plt_entry,
elf_sh_pic_plt_entry, elf_sh_sizeof_plt, elf_sh_plt_plt0_offset,
elf_sh_plt0_gotplt_offset, elf_sh_plt_temp_offset,
elf_sh_plt_symbol_offset, elf_sh_plt_reloc_offset,
movi_shori_putval) [INCLUDE_SHMEDIA]: New.
(elf_sh_link_hash_entry) [INCLUDE_SHMEDIA]: Add
datalabel_got_offset.
(sh_elf_link_hash_newfunc): Initialize it.
(sh_elf_relocate_section): Augment the scope of
seen_stt_datalabel. Introduce GOTPLT support. Extend GOTPC, PLT,
GOT and GOTOFF handling to new SHmedia relocation types. Support
GOT_BIAS.
(sh_elf_check_relocs): Likewise.
(sh_elf_finish_dynamic_symbol) [TARGET_SHMEDIA]: Set up values in
PLT entries using movi_shori_putval. Support GOT_BIAS.
(sh_elf_finish_dynamic_sections): Likewise.
* elf32-sh64.c (shmedia_prepare_reloc): Do not add addend to
relocation, it's now done by the caller.
(GOT_BIAS): New.
* elf64-sh64.c (GOT_BIAS, PLT_ENTRY_SIZE, elf_sh64_sizeof_plt,
elf_sh64_plt_plt0_offset, elf_sh64_plt0_gotplt_offset,
elf_sh64_plt_temp_offset, elf_sh64_plt_symbol_offset,
elf_sh64_plt_reloc_offset, ELF_DYNAMIC_INTERPRETER,
elf_sh64_pcrel_relocs_copied, elf_sh64_link_hash_entry,
elf_sh64_link_hash_table, sh64_elf64_link_hash_traverse,
sh64_elf64_hash_table): New.
(sh_elf64_howto_table): Introduce new relocs.
(sh_elf64_info_to_howto): Accept new PIC relocs.
(sh_elf64_relocate_section): Augment the scope of
seen_stt_datalabel. Support new PIC relocs.
(sh_elf64_check_relocs): Support new PIC relocs.
(elf_sh64_plt0_entry_be, elf_sh64_plt0_entry_le,
elf_sh64_plt_entry_be, elf_sh64_plt_entry_le,
elf_sh64_pic_plt_entry_be, elf_sh64_pic_plt_entry_le,
elf_sh64_plt0_entry, elf_sh64_plt_entry, elf_sh64_pic_plt_entry,
sh64_elf64_link_hash_newfunc, sh64_elf64_link_hash_table_create,
movi_shori_putval, movi_3shori_putval,
sh64_elf64_create_dynamic_sections,
sh64_elf64_adjust_dynamic_symbol, sh64_elf64_discard_copies,
sh64_elf64_size_dynamic_sections,
sh64_elf64_finish_dynamic_symbol,
sh64_elf64_finish_dynamic_sections): New.
(elf_backend_create_dynamic-sections,
bfd_elf64_bfd_link_hash_table_create,
elf_backend_adjust_dynamic_symbol,
elf_backend_size_dynamic_sections,
elf_backend_finish_dynamic_symbol,
elf_backend_finish_dynamic_sections, elf_backend_want_got_plt,
elf_backend_plt_readonly, elf_backend_want_plt_sym,
elf_backend_got_header_size, elf_backend_plt_header_size):
Define.
2001-05-16 Alexandre Oliva <aoliva@redhat.com>
* elf32-sh.c: Renumbered and renamed some SH5 relocations to
match official numbers and names; moved unmaching ones to the
range 0xf2-0xff.
* elf32-sh64.c, elf64-sh64.c: Likewise.
2001-03-12 DJ Delorie <dj@redhat.com>
* elf32-sh.c (sh_elf_relax_section): Don't relax SHmedia
sections.
2001-03-12 DJ Delorie <dj@redhat.com>
* elf32-sh64.c (shmedia_prepare_reloc): Validate relocs that must
be aligned.
* elf64-sh64.c (sh_elf64_relocate_section): Ditto.
2001-01-14 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh64.c (bfd_elf32_bfd_copy_private_section_data): Define.
(sh64_elf_fake_sections): Set type to SHT_SH5_CR_SORTED for a
.cranges section with SEC_SORT_ENTRIES set.
(sh64_backend_section_from_shdr): Set SEC_SORT_ENTRIES on an
incoming sorted .cranges section.
(sh64_bfd_elf_copy_private_section_data): New.
(sh64_elf_final_write_processing): Only sort .cranges and modify
start address if called by linker.
2001-01-08 Ben Elliston <bje@redhat.com>
* elf32-sh64.c (sh64_elf_final_write_processing): Activate
Hans-Peter Nilsson's set bit 0 patch from 2001-01-06.
* elf64-sh64.c (sh64_elf64_final_write_processing): Ditto.
2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com>
* elf64-sh64.c (sh_elf64_howto_table): No open brace at start of
line. Add comments before all entries.
<R_SH_PT_16, R_SH_SHMEDIA_CODE>: Correct and clarify describing
comment.
(sh_elf64_reloc): Correct head comment.
(sh_elf64_relocate_section): Correct spacing.
<relocating for a local symbol>: Do not honour STO_SH5_ISA32;
instead call reloc_dangerous callback.
<case R_SH_SHMEDIA_CODE>: New case.
(sh_elf64_gc_mark_hook): Correct spacing.
(sh_elf64_check_relocs): Ditto.
* elf32-sh64.c (shmedia_prepare_reloc) <case R_SH_SHMEDIA_CODE>:
New case.
* elf32-sh.c: Correct #endif comments for #ifndef-wrapped
functions.
(sh_elf_howto_table) <R_SH_PT_16, R_SH_SHMEDIA_CODE>: Correct,
clarify describing comment. Add comments before all entries.
(sh_elf_relocate_section) <relocating for a local symbol>: Do not
honour STO_SH5_ISA32; instead call reloc_dangerous callback.
2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com>
Sort .cranges section in final link. Prepare to set bit 0 on
entry address.
* elf32-sh64.c (struct sh64_find_section_vma_data): New.
(sh64_elf_link_output_symbol_hook): Fix typo in prototype.
(sh64_elf_set_mach_from_flags): Set SEC_DEBUGGING on incoming
.cranges section.
(sh64_backend_section_from_shdr): New, to recognize
SHT_SH5_CR_SORTED on incoming .cranges section.
(elf_backend_section_from_shdr): Define.
(sh64_elf_final_write_processing): Sort outgoing .cranges
section. (New, temporarily disabled:) Set bit 0 on entry address
according to ISA type.
(sh64_find_section_for_address): New.
(crange_qsort_cmpb, crange_qsort_cmpl, crange_bsearch_cmpb,
crange_bsearch_cmpl): Move here from opcodes/sh64-dis.c.
(sh64_address_in_cranges): Move here from opcodes/sh64-dis.c. Use
bfd_malloc, not xmalloc.
(sh64_get_contents_type): Move here from opcodes/sh64-dis.c. Make
global.
* elf32-sh64.c (sh64_elf64_final_write_processing): New, (but
temporarily disabled) setting bit 0 on entry address.
(elf_backend_final_write_processing): Define.
2001-01-05 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh.c (sh_elf_howto_table) <R_SH_PT_16>: Adjust fields to
be a proper relocation for PTA and PTB rather than a marker.
<R_SH_IMMU5, R_SH_IMMS6, R_SH_IMMU6, R_SH_IMMS10, R_SH_IMMS10BY2,
R_SH_IMMS10BY4, R_SH_IMMS10BY8, R_SH_IMMS16, R_SH_IMMU16,
R_SH_IMM_LOW16, R_SH_IMM_LOW16_PCREL, R_SH_IMM_MEDLOW16,
R_SH_IMM_MEDLOW16_PCREL, R_SH_IMM_MEDHI16, R_SH_IMM_MEDHI16_PCREL,
R_SH_IMM_HI16, R_SH_IMM_HI16_PCREL, R_SH_64, R_SH_64_PCREL>:
Zero src_mask.
* elf64-sh64.c: Ditto.
(sh_elf64_relocate_section) <case R_SH_PT_16>: New case.
* elf32-sh64.c: Include opcodes/sh64-opc.h
(shmedia_prepare_reloc): Take a bfd_link_info pointer as first
argument. Drop const qualifiers from "bfd *" and "bfd_byte *"
parameters. No unused parameters. Caller changed.
<case R_SH_PT_16>: New case.
* Makefile.am (elf32-sh64.lo): Add dependency on sh64-opc.h.
* Makefile.in: Regenerate.
2000-12-30 Hans-Peter Nilsson <hpn@cygnus.com>
* elf64-sh64.c (sh64_elf64_fake_sections): Set SHF_SH5_ISA32 for
all code sections.
(sh_elf64_set_mach_from_flags): Change from EF_SH64 to EF_SH5.
(sh64_elf_merge_private_data): Ditto.
* elf32-sh64.c (sh64_elf_fake_sections): Use sh64_elf_section_data
to access stored section flags.
(sh64_elf_final_write_processing): Return immediately unless
called by linker. Use sh64_elf_section_data (cranges) to get size
of linker-generated cranges entries.
(sh64_elf_copy_private_data): Add missing "return true".
(sh64_elf_set_mach_from_flags): Change from EF_SH64 to EF_SH5.
(sh_elf64_merge_private_data): Ditto.
2000-12-19 Hans-Peter Nilsson <hpn@cygnus.com>
* elf64-sh64.c (sh64_elf64_fake_sections): New, copy of
elf64-sh64.c:sh64_elf_fake_sections.
(elf_backend_fake_sections): Define as sh64_elf64_fake_sections.
2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh64.c (sh64_elf_copy_private_data_internal): Delete.
(sh64_elf_final_write_processing): New.
(elf_backend_final_write_processing): Define.
(sh64_elf_fake_sections): Get header flags from tdata field.
(sh64_elf_copy_private_data): Do not call
sh64_elf_copy_private_data_internal, just copy e_flags field.
(sh64_elf_merge_private_data): Do not call
sh64_elf_copy_private_data_internal.
2000-12-12 Hans-Peter Nilsson <hpn@cygnus.com>
Remove EF_SH64_ABI64, let ELF size make difference.
Remove SH64-specific BFD section flag.
* elf32-sh64.c (sh64_elf_fake_sections): Recognize section as
containing SHmedia through elf_section_data (asect)->tdata
non-zero, not using a BFD section flag.
(sh64_elf_set_mach_from_flags): Don't recognize EF_SH64_ABI64.
(sh64_elf_merge_private_data): Similar.
(elf_backend_section_flags): Don't define.
(sh64_elf_backend_section_flags): Delete.
* elf64-sh64.c (sh_elf64_set_mach_from_flags): Recognize EF_SH64,
not EF_SH64_ABI64.
(sh_elf64_merge_private_data): Similar.
* section.c (Section flags definitions): Don't define
SEC_SH_ISA_SHMEDIA.
(bfd-in2.h): Regenerate.
2000-12-09 Hans-Peter Nilsson <hpn@cygnus.com>
Make DataLabel references work with partial linking.
* elf32-sh64.c: Fix formatting.
(sh64_elf_link_output_symbol_hook): New.
(elf_backend_link_output_symbol_hook): Define to
sh64_elf_link_output_symbol_hook.
(sh64_elf_add_symbol_hook): Make DataLabel symbol just global
undefined if partial linking. Adjust sanity check.
* elf64-sh64.c (sh64_elf64_link_output_symbol_hook): New.
(elf_backend_link_output_symbol_hook): Define to
sh64_elf64_link_output_symbol_hook.
(sh64_elf64_add_symbol_hook): Make DataLabel symbol just global
undefined if partial linking. Adjust sanity check.
2000-12-07 Hans-Peter Nilsson <hpn@cygnus.com>
Implement semantics for inter-file DataLabel references.
* elf64-sh64.c (DATALABEL_SUFFIX): Define.
(sh64_elf64_add_symbol_hook): New.
(sh_elf64_relocate_section): If passing an indirect symbol with
st_type STT_DATALABEL on the way to a symbol with st_other
STO_SH5_ISA32, do not bitor 1 to the relocation.
(elf_backend_add_symbol_hook): Define to
sh64_elf64_add_symbol_hook.
* elf64-sh32.c: Tweak comments.
(DATALABEL_SUFFIX): Define.
(sh64_elf_add_symbol_hook): New.
(elf_backend_add_symbol_hook): Define to sh64_elf_add_symbol_hook.
* elf32-sh.c (sh_elf_relocate_section): If passing an indirect
symbol with st_type STT_DATALABEL on the way to a symbol with
st_other STO_SH5_ISA32, do not bitor 1 to the relocation.
2000-12-05 Hans-Peter Nilsson <hpn@cygnus.com>
Pass through STT_DATALABEL.
* elf32-sh64.c (sh64_elf_get_symbol_type): New.
(elf_backend_get_symbol_type): Define.
* elf64-sh64.c (sh64_elf64_get_symbol_type): New.
(elf_backend_get_symbol_type): Define.
2000-11-30 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh64.c: Tweak comments.
(sh64_elf_copy_private_data_internal): Add prototype.
(bfd_elf32_bfd_set_private_flags): Define.
(sh64_elf_copy_private_data_internal): Compare machine name, not
textual BFD target name, to check whether to copy section flag
SHF_SH5_ISA32.
(sh64_elf_merge_private_data): Validize bfd_get_arch_size.
Tweak section-contents-type-mismatch message.
(shmedia_prepare_reloc): Add ATTRIBUTE_UNUSED markers.
Validize reloc-types.
* elf64-sh64.c: New file.
* targets.c (bfd_elf64_sh64_vec, bfd_elf64_sh64l_vec): Declare.
* Makefile.am (BFD64_BACKENDS): Add elf64-sh64.lo.
(BFD64_BACKENDS_CFILES): Add elf64-sh64.c.
Regenerate dependencies.
* Makefile.in: Regenerate.
* config.bfd (sh64-*-elf*): Add bfd_elf64_sh64_vec and
bfd_elf64_sh64l_vec.
* configure.in: Handle bfd_elf64_sh64_vec and
bfd_elf64_sh64l_vec.
* configure: Regenerate.
* po/POTFILES.in: Regenerate.
* po/bfd.pot: Regenerate.
2000-11-29 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh64.c (sh64_elf_set_mach_from_flags): Do not recognize
anything else but EF_SH64 and EF_SH64_ABI64.
(sh64_elf_merge_private_data): Emit error for anything else but
EF_SH64 and EF_SH64_ABI64.
* config.bfd: Remove bfd_elf32_shblin_vec and bfd_elf32_shlin_vec
from targ_selvecs.
* configure.in: Add cofflink.lo to bfd_elf32_sh64_vec and
bfd_elf32_sh64l_vec as a temporary measure.
* configure: Regenerate.
2000-11-27 Hans-Peter Nilsson <hpn@cygnus.com>
* cpu-sh.c (arch_info_struct): Include sh5 item
unconditionalized.
* config.bfd (sh64-*-elf*): Do not set targ_cflags.
Add targ_selvecs bfd_elf32_sh_vec, bfd_elf32_shl_vec,
bfd_elf32_shblin_vec and bfd_elf32_shlin_vec.
* elf32-sh64.c: Tweak comments.
(sh64_elf_set_mach_from_flags): Recognize all machine flags that
are proper subsets of SH64 as bfd_mach_sh5. Add EF_SH64_ABI64.
(sh64_elf_copy_private_data_internal): Wrap long line.
(sh64_elf_merge_private_data): Rewrite to allow objects from
SH64 subsets to be linked together.
(INCLUDE_SHMEDIA): Define.
* elf32-sh.c (sh_elf_relocate_section) <local symbol>:
Parenthesize plus-expression inside or-expression.
<global symbol>: Ditto.
(sh_elf_set_mach_from_flags): Remove code refusing
deleted EF_SH64_32BIT_ABI flag.
2000-11-26 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh.c (sh_elf_howto_table) <R_SH_IMM_LOW16_PCREL,
R_SH_IMM_MEDLOW16_PCREL, R_SH_IMM_MEDHI16_PCREL,
R_SH_IMM_HI16_PCREL, R_SH_64_PCREL>: Set pcrel_offset to true.
(sh_elf_relocate_section) <local symbol>: Or 1 in
calculation of relocation if sym->st_other & STO_SH5_ISA32.
<global symbol>: Ditto if h->other & STO_SH5_ISA32.
* elf32-sh64.c (shmedia_prepare_reloc): Add rel->r_addend to
relocation.
2000-11-24 Hans-Peter Nilsson <hpn@cygnus.com>
* Makefile.am (BFD32_BACKENDS): Add elf32-sh64.lo.
(BFD32_BACKENDS_CFILES): Add elf32-sh64.c.
Regenerate dependencies.
* Makefile.in: Regenerate.
* archures.c: Add bfd_mach_sh5.
* config.bfd: Map targ_cpu sh* to bfd_sh_arch.
Handle sh64-*-elf*. Set targ_cflags to -DINCLUDE_SHMEDIA.
* configure.in: Handle bfd_elf32_sh64_vec and bfd_elf32_sh64l_vec.
* configure: Regenerate.
* reloc.c (BFD_RELOC_SH_SHMEDIA_CODE, BFD_RELOC_SH_IMMU5,
BFD_RELOC_SH_IMMS6, BFD_RELOC_SH_IMMS6BY32, BFD_RELOC_SH_IMMU6,
BFD_RELOC_SH_IMMS10, BFD_RELOC_SH_IMMS10BY2,
BFD_RELOC_SH_IMMS10BY4, BFD_RELOC_SH_IMMS10BY8,
BFD_RELOC_SH_IMMS16, BFD_RELOC_SH_IMMU16, BFD_RELOC_SH_IMM_LOW16,
BFD_RELOC_SH_IMM_LOW16_PCREL, BFD_RELOC_SH_IMM_MEDLOW16,
BFD_RELOC_SH_IMM_MEDLOW16_PCREL, BFD_RELOC_SH_IMM_MEDHI16,
BFD_RELOC_SH_IMM_MEDHI16_PCREL, BFD_RELOC_SH_IMM_HI16,
BFD_RELOC_SH_IMM_HI16_PCREL, BFD_RELOC_SH_PT_16): New relocations.
* cpu-sh.c [INCLUDE_SHMEDIA] (arch_info_struct): Define and link
in item for SH5.
* elf32-sh.c [INCLUDE_SHMEDIA] (sh_elf_howto_table): Add howto items
for SHmedia relocs.
[INCLUDE_SHMEDIA] (sh_rel): Add mappings for SHmedia relocs.
[INCLUDE_SHMEDIA] (sh_elf_relocate_section) [default]: Call
shmedia_prepare_reloc, goto final_link_relocate if it returns
non-zero, else fail as before.
(sh_elf_set_mach_from_flags): Provide function only if not defined
as macro. Do not recognize objects with EF_SH64_32BIT_ABI set.
(sh_elf_set_private_flags): Provide function only if not defined
as a macro.
(sh_elf_copy_private_data): Similar.
(sh_elf_merge_private_data): Similar.
* section.c (SEC_SH_ISA_SHMEDIA): New.
* targets.c (bfd_elf32_sh64_vec, bfd_elf32_sh64l_vec): Declare.
* elf32-sh64.c: New file.
* libbfd.h: Regenerate.
* bfd-in2.h: Regenerate.
* po/POTFILES.in: Regenerate.
* po/bfd.pot: Regenerate.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.
2002-02-08 13:33:27 +08:00
|
|
|
msgid "ERROR: %s uses hardware FP, whereas %s uses software FP"
|
2001-10-30 23:20:14 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2000-09-03 04:33:48 +08:00
|
|
|
#. Ignore init flag - it may not be set, despite the flags field
|
|
|
|
#. containing valid data.
|
2003-07-11 13:10:21 +08:00
|
|
|
#: elf32-arm.h:2443 elf32-cris.c:2975 elf32-m68hc1x.c:1459 elf32-m68k.c:397
|
2003-07-17 22:22:45 +08:00
|
|
|
#: elf32-vax.c:546 elfxx-mips.c:9240
|
2000-02-28 00:55:52 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "private flags = %lx:"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: elf32-arm.h:2452
|
2000-02-28 00:55:52 +08:00
|
|
|
msgid " [interworking enabled]"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: elf32-arm.h:2460
|
2002-01-17 22:12:08 +08:00
|
|
|
msgid " [VFP float format]"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: elf32-arm.h:2462
|
|
|
|
msgid " [Maverick float format]"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: elf32-arm.h:2464
|
2002-01-17 22:12:08 +08:00
|
|
|
msgid " [FPA float format]"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: elf32-arm.h:2473
|
2000-06-19 09:22:44 +08:00
|
|
|
msgid " [new ABI]"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: elf32-arm.h:2476
|
2000-06-19 09:22:44 +08:00
|
|
|
msgid " [old ABI]"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: elf32-arm.h:2479
|
2000-06-19 09:22:44 +08:00
|
|
|
msgid " [software FP]"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: elf32-arm.h:2488
|
2000-06-19 09:22:44 +08:00
|
|
|
msgid " [Version1 EABI]"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: elf32-arm.h:2491 elf32-arm.h:2502
|
2000-06-19 09:22:44 +08:00
|
|
|
msgid " [sorted symbol table]"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: elf32-arm.h:2493 elf32-arm.h:2504
|
2000-06-19 09:22:44 +08:00
|
|
|
msgid " [unsorted symbol table]"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: elf32-arm.h:2499
|
2001-03-07 04:15:27 +08:00
|
|
|
msgid " [Version2 EABI]"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: elf32-arm.h:2507
|
2001-03-07 04:15:27 +08:00
|
|
|
msgid " [dynamic symbols use segment index]"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: elf32-arm.h:2510
|
2001-03-07 04:15:27 +08:00
|
|
|
msgid " [mapping symbols precede others]"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: elf32-arm.h:2517
|
2000-06-19 09:22:44 +08:00
|
|
|
msgid " <EABI version unrecognised>"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: elf32-arm.h:2524
|
2000-06-19 09:22:44 +08:00
|
|
|
msgid " [relocatable executable]"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: elf32-arm.h:2527
|
2000-06-19 09:22:44 +08:00
|
|
|
msgid " [has entry point]"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: elf32-arm.h:2532
|
2000-06-19 09:22:44 +08:00
|
|
|
msgid "<Unrecognised flag bits set>"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: elf32-avr.c:820 elf32-cris.c:1398 elf32-fr30.c:642 elf32-frv.c:823
|
2003-06-04 00:24:06 +08:00
|
|
|
#: elf32-i860.c:1036 elf32-ip2k.c:1597 elf32-iq2000.c:707 elf32-msp430.c:518
|
2003-07-11 13:10:21 +08:00
|
|
|
#: elf32-openrisc.c:444 elf32-v850.c:1785 elf32-xstormy16.c:984
|
2003-06-04 00:24:06 +08:00
|
|
|
#: elf64-mmix.c:1340
|
2000-02-28 00:55:52 +08:00
|
|
|
msgid "internal error: dangerous relocation"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: elf32-cris.c:931
|
2001-03-24 02:05:30 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "%s: unresolvable relocation %s against symbol `%s' from %s section"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: elf32-cris.c:993
|
2001-03-24 02:05:30 +08:00
|
|
|
#, c-format
|
|
|
|
msgid ""
|
|
|
|
"%s: No PLT nor GOT for relocation %s against symbol `%s' from %s section"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: elf32-cris.c:996 elf32-cris.c:1122
|
2001-03-24 02:05:30 +08:00
|
|
|
msgid "[whose name is lost]"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: elf32-cris.c:1111
|
2001-03-24 02:05:30 +08:00
|
|
|
#, c-format
|
|
|
|
msgid ""
|
|
|
|
"%s: relocation %s with non-zero addend %d against local symbol from %s "
|
|
|
|
"section"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: elf32-cris.c:1118
|
2001-03-24 02:05:30 +08:00
|
|
|
#, c-format
|
|
|
|
msgid ""
|
|
|
|
"%s: relocation %s with non-zero addend %d against symbol `%s' from %s section"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: elf32-cris.c:1143
|
2001-03-24 02:05:30 +08:00
|
|
|
#, c-format
|
|
|
|
msgid ""
|
|
|
|
"%s: relocation %s is not allowed for global symbol: `%s' from %s section"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: elf32-cris.c:1158
|
2002-02-01 01:33:08 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "%s: relocation %s in section %s with no GOT created"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: elf32-cris.c:1277
|
2001-03-24 02:05:30 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "%s: Internal inconsistency; no relocation section %s"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: elf32-cris.c:2500
|
2001-03-24 02:05:30 +08:00
|
|
|
#, c-format
|
|
|
|
msgid ""
|
|
|
|
"%s, section %s:\n"
|
|
|
|
" relocation %s should not be used in a shared object; recompile with -fPIC"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: elf32-cris.c:2978
|
Define two bfd_targets for absence and presence of leading
underscore on symbols. Make sure to only link same kind.
* elf32-cris.c (cris_elf_object_p,
cris_elf_final_write_processing, cris_elf_print_private_bfd_data,
cris_elf_merge_private_bfd_data): New.
(elf_backend_object_p, elf_backend_final_write_processing,
bfd_elf32_bfd_print_private_bfd_data,
bfd_elf32_bfd_merge_private_bfd_data): Define.
<Target vector definition>: Include elf32-target.h twice with
different macro settings:
(TARGET_LITTLE_SYM): First as bfd_elf32_cris_vec, then as
bfd_elf32_us_cris_vec.
(TARGET_LITTLE_NAME): First as "elf32-cris", then "elf32-us-cris".
(elf_symbol_leading_char): First as 0, then '_'.
(INCLUDED_TARGET_FILE): Define for second include of elf32-target.h.
* config.bfd (cris-*-*): Add bfd_elf32_us_cris_vec to targ_selvecs.
* configure.in (bfd_elf32_cris_vec, cris_aout_vec): New vector.
* configure: Regenerate.
* targets.c: Declare bfd_elf32_us_cris_vec.
* po/bfd.pot: Regenerate.
2000-09-30 01:05:22 +08:00
|
|
|
msgid " [symbols have a _ prefix]"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: elf32-cris.c:3017
|
2000-11-03 07:03:24 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "%s: uses _-prefixed symbols, but writing file with non-prefixed symbols"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: elf32-cris.c:3018
|
2000-11-03 07:03:24 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "%s: uses non-prefixed symbols, but writing file with _-prefixed symbols"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: elf32-frv.c:1223
|
|
|
|
#, c-format
|
|
|
|
msgid ""
|
|
|
|
"%s: compiled with %s and linked with modules that use non-pic relocations"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: elf32-frv.c:1273 elf32-iq2000.c:895
|
|
|
|
#, c-format
|
|
|
|
msgid "%s: compiled with %s and linked with modules compiled with %s"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: elf32-frv.c:1285
|
|
|
|
#, c-format
|
|
|
|
msgid ""
|
|
|
|
"%s: uses different unknown e_flags (0x%lx) fields than previous modules (0x%"
|
|
|
|
"lx)"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: elf32-frv.c:1321 elf32-iq2000.c:933
|
|
|
|
#, c-format
|
|
|
|
msgid "private flags = 0x%lx:"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: elf32-gen.c:83 elf64-gen.c:82
|
2001-04-24 23:08:16 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "%s: Relocations in generic ELF (EM: %d)"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: elf32-hppa.c:672 elf32-m68hc1x.c:176 elf64-ppc.c:3118
|
2000-09-06 08:13:34 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "%s: cannot create stub entry %s"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: elf32-hppa.c:957 elf32-hppa.c:3538
|
2000-09-06 08:13:34 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "%s(%s+0x%lx): cannot reach %s, recompile with -ffunction-sections"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: elf32-hppa.c:1340 elf64-x86-64.c:672 elf64-x86-64.c:797
|
2000-09-06 08:13:34 +08:00
|
|
|
#, c-format
|
|
|
|
msgid ""
|
|
|
|
"%s: relocation %s can not be used when making a shared object; recompile "
|
|
|
|
"with -fPIC"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: elf32-hppa.c:1360
|
2000-09-06 08:13:34 +08:00
|
|
|
#, c-format
|
|
|
|
msgid ""
|
|
|
|
"%s: relocation %s should not be used when making a shared object; recompile "
|
|
|
|
"with -fPIC"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: elf32-hppa.c:1553
|
2001-10-30 23:20:14 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "Could not find relocation section for %s"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: elf32-hppa.c:2828
|
2000-07-11 02:29:39 +08:00
|
|
|
#, c-format
|
2000-09-06 08:13:34 +08:00
|
|
|
msgid "%s: duplicate export stub %s"
|
2000-07-11 02:29:39 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: elf32-hppa.c:3416
|
2000-07-11 02:29:39 +08:00
|
|
|
#, c-format
|
2000-09-06 08:13:34 +08:00
|
|
|
msgid "%s(%s+0x%lx): fixing %s"
|
2000-07-11 02:29:39 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: elf32-hppa.c:4039
|
2000-07-11 02:29:39 +08:00
|
|
|
#, c-format
|
2000-09-06 08:13:34 +08:00
|
|
|
msgid "%s(%s+0x%lx): cannot handle %s for %s"
|
2000-07-11 02:29:39 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: elf32-hppa.c:4357
|
2000-11-03 07:03:24 +08:00
|
|
|
msgid ".got section not immediately after .plt section"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: elf32-i386.c:326
|
2000-02-28 00:55:52 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "%s: invalid relocation type %d"
|
1999-05-03 15:29:11 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: elf32-i386.c:841 elf32-s390.c:990 elf32-sparc.c:887 elf32-xtensa.c:637
|
|
|
|
#: elf64-s390.c:943 elf64-x86-64.c:650
|
2001-04-28 01:12:18 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "%s: bad symbol index: %d"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: elf32-i386.c:949 elf32-s390.c:1168 elf32-sh.c:6426 elf32-sparc.c:1011
|
|
|
|
#: elf64-s390.c:1129
|
2003-06-04 00:24:06 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "%s: `%s' accessed both as normal and thread local symbol"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: elf32-i386.c:1064 elf32-s390.c:1279 elf64-ppc.c:3929 elf64-s390.c:1243
|
|
|
|
#: elf64-x86-64.c:886
|
2001-02-07 09:58:26 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "%s: bad relocation section name `%s'"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: elf32-i386.c:2908 elf32-m68k.c:1757 elf32-s390.c:3022 elf32-sparc.c:2879
|
|
|
|
#: elf32-xtensa.c:2193 elf64-s390.c:3018 elf64-sparc.c:2664
|
|
|
|
#: elf64-x86-64.c:2452
|
2001-06-15 17:03:14 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "%s(%s+0x%lx): unresolvable relocation against symbol `%s'"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: elf32-i386.c:2947 elf32-m68k.c:1796 elf32-s390.c:3072 elf64-s390.c:3068
|
|
|
|
#: elf64-x86-64.c:2490
|
2002-01-17 22:12:08 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "%s(%s+0x%lx): reloc against `%s': error %d"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: elf32-ip2k.c:565 elf32-ip2k.c:571 elf32-ip2k.c:734 elf32-ip2k.c:740
|
|
|
|
msgid ""
|
|
|
|
"ip2k relaxer: switch table without complete matching relocation information."
|
1999-05-03 15:29:11 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: elf32-ip2k.c:588 elf32-ip2k.c:767
|
|
|
|
msgid "ip2k relaxer: switch table header corrupt."
|
1999-05-03 15:29:11 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: elf32-ip2k.c:1395
|
1999-05-03 15:29:11 +08:00
|
|
|
#, c-format
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid "ip2k linker: missing page instruction at 0x%08lx (dest = 0x%08lx)."
|
1999-05-03 15:29:11 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: elf32-ip2k.c:1409
|
1999-05-03 15:29:11 +08:00
|
|
|
#, c-format
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid "ip2k linker: redundant page instruction at 0x%08lx (dest = 0x%08lx)."
|
1999-05-03 15:29:11 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#. Only if it's not an unresolved symbol.
|
|
|
|
#: elf32-ip2k.c:1593
|
|
|
|
msgid "unsupported relocation between data/insn address spaces"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: elf32-iq2000.c:907 elf32-m68hc1x.c:1431 elf32-ppc.c:2175 elf64-sparc.c:3072
|
2003-07-17 22:22:45 +08:00
|
|
|
#: elfxx-mips.c:9197
|
1999-05-03 15:29:11 +08:00
|
|
|
#, c-format
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid "%s: uses different e_flags (0x%lx) fields than previous modules (0x%lx)"
|
1999-05-03 15:29:11 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: elf32-m32r.c:930
|
|
|
|
msgid "SDA relocation when _SDA_BASE_ not defined"
|
1999-05-03 15:29:11 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-17 22:22:45 +08:00
|
|
|
#: elf32-ia64.c:3817 elf32-m32r.c:1018 elf64-alpha.c:4279 elf64-alpha.c:4407
|
|
|
|
#: elf64-ia64.c:3817
|
2003-06-04 00:24:06 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "%s: unknown relocation type %d"
|
1999-06-03 11:26:53 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: elf32-m32r.c:1226
|
|
|
|
#, c-format
|
|
|
|
msgid "%s: The target (%s) of an %s relocation is in the wrong section (%s)"
|
1999-06-03 11:26:53 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: elf32-m32r.c:1952
|
1999-06-03 11:26:53 +08:00
|
|
|
#, c-format
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid "%s: Instruction set mismatch with previous modules"
|
1999-06-03 11:26:53 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: elf32-m32r.c:1975
|
1999-06-03 11:26:53 +08:00
|
|
|
#, c-format
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid "private flags = %lx"
|
1999-06-03 11:26:53 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: elf32-m32r.c:1980
|
|
|
|
msgid ": m32r instructions"
|
1999-06-03 11:26:53 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: elf32-m32r.c:1981
|
|
|
|
msgid ": m32rx instructions"
|
1999-06-03 11:26:53 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: elf32-m68hc1x.c:1217
|
1999-06-03 11:26:53 +08:00
|
|
|
#, c-format
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid ""
|
|
|
|
"Reference to the far symbol `%s' using a wrong relocation may result in "
|
|
|
|
"incorrect execution"
|
1999-06-03 11:26:53 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: elf32-m68hc1x.c:1240
|
1999-06-03 11:26:53 +08:00
|
|
|
#, c-format
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid ""
|
|
|
|
"banked address [%lx:%04lx] (%lx) is not in the same bank as current banked "
|
|
|
|
"address [%lx:%04lx] (%lx)"
|
1999-06-03 11:26:53 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: elf32-m68hc1x.c:1259
|
1999-06-03 11:26:53 +08:00
|
|
|
#, c-format
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid ""
|
|
|
|
"reference to a banked address [%lx:%04lx] in the normal address space at %"
|
|
|
|
"04lx"
|
1999-06-03 11:26:53 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: elf32-m68hc1x.c:1396
|
1999-06-03 11:26:53 +08:00
|
|
|
#, c-format
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid ""
|
|
|
|
"%s: linking files compiled for 16-bit integers (-mshort) and others for 32-"
|
|
|
|
"bit integers"
|
1999-06-03 11:26:53 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: elf32-m68hc1x.c:1404
|
1999-06-03 11:26:53 +08:00
|
|
|
#, c-format
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid ""
|
|
|
|
"%s: linking files compiled for 32-bit double (-fshort-double) and others for "
|
|
|
|
"64-bit double"
|
1999-06-03 11:26:53 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: elf32-m68hc1x.c:1414
|
1999-06-03 11:26:53 +08:00
|
|
|
#, c-format
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid "%s: linking files compiled for HCS12 with others compiled for HC12"
|
1999-06-03 11:26:53 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: elf32-m68hc1x.c:1462
|
|
|
|
msgid "[abi=32-bit int, "
|
1999-06-03 11:26:53 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: elf32-m68hc1x.c:1464
|
|
|
|
msgid "[abi=16-bit int, "
|
1999-06-03 11:26:53 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: elf32-m68hc1x.c:1467
|
|
|
|
msgid "64-bit double, "
|
1999-06-03 11:26:53 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: elf32-m68hc1x.c:1469
|
|
|
|
msgid "32-bit double, "
|
1999-06-03 11:26:53 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: elf32-m68hc1x.c:1472
|
|
|
|
msgid "cpu=HC11]"
|
1999-06-03 11:26:53 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: elf32-m68hc1x.c:1474
|
|
|
|
msgid "cpu=HCS12]"
|
2000-02-28 00:55:52 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: elf32-m68hc1x.c:1476
|
|
|
|
msgid "cpu=HC12]"
|
2000-02-28 00:55:52 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: elf32-m68hc1x.c:1479
|
|
|
|
msgid " [memory=bank-model]"
|
1999-06-03 11:26:53 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: elf32-m68hc1x.c:1481
|
|
|
|
msgid " [memory=flat]"
|
1999-06-03 11:26:53 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: elf32-m68k.c:400
|
|
|
|
msgid " [cpu32]"
|
1999-06-03 11:26:53 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: elf32-m68k.c:403
|
|
|
|
msgid " [m68000]"
|
1999-06-03 11:26:53 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: elf32-mcore.c:353 elf32-mcore.c:456
|
|
|
|
#, c-format
|
|
|
|
msgid "%s: Relocation %s (%d) is not currently supported.\n"
|
1999-06-03 11:26:53 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: elf32-mcore.c:441
|
|
|
|
#, c-format
|
|
|
|
msgid "%s: Unknown relocation type %d\n"
|
2000-12-02 08:55:22 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: elf32-mips.c:1170 elf64-mips.c:1717 elfn32-mips.c:1664
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid "32bits gp relative relocation occurs for an external symbol"
|
2000-12-02 05:35:38 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: elf32-mips.c:1314 elf64-mips.c:1830 elfn32-mips.c:1783
|
2003-06-04 00:24:06 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "Linking mips16 objects into %s format is not supported"
|
2000-12-02 08:55:22 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: elf32-ppc.c:2056
|
|
|
|
#, c-format
|
|
|
|
msgid "generic linker can't handle %s"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: elf32-ppc.c:2138
|
2003-06-04 00:24:06 +08:00
|
|
|
#, c-format
|
|
|
|
msgid ""
|
|
|
|
"%s: compiled with -mrelocatable and linked with modules compiled normally"
|
1999-06-03 11:26:53 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: elf32-ppc.c:2147
|
2003-06-04 00:24:06 +08:00
|
|
|
#, c-format
|
|
|
|
msgid ""
|
|
|
|
"%s: compiled normally and linked with modules compiled with -mrelocatable"
|
1999-06-03 11:26:53 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: elf32-ppc.c:3413
|
2003-06-04 00:24:06 +08:00
|
|
|
#, c-format
|
2003-07-11 13:10:21 +08:00
|
|
|
msgid "%s: relocation %s cannot be used when making a shared object"
|
1999-06-03 11:26:53 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#. It does not make sense to have a procedure linkage
|
|
|
|
#. table entry for a local symbol.
|
|
|
|
#: elf32-ppc.c:3619
|
2003-06-04 00:24:06 +08:00
|
|
|
#, c-format
|
2003-07-11 13:10:21 +08:00
|
|
|
msgid "%s(%s+0x%lx): %s reloc against local symbol"
|
1999-06-03 11:26:53 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: elf32-ppc.c:4862 elf64-ppc.c:7789
|
1999-06-03 11:26:53 +08:00
|
|
|
#, c-format
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid "%s: unknown relocation type %d for symbol %s"
|
1999-06-03 11:26:53 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: elf32-ppc.c:5113
|
2003-06-04 00:24:06 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "%s(%s+0x%lx): non-zero addend on %s reloc against `%s'"
|
1999-06-03 11:26:53 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: elf32-ppc.c:5399 elf32-ppc.c:5425 elf32-ppc.c:5484
|
1999-06-03 11:26:53 +08:00
|
|
|
#, c-format
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid ""
|
|
|
|
"%s: the target (%s) of a %s relocation is in the wrong output section (%s)"
|
1999-06-03 11:26:53 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: elf32-ppc.c:5539
|
2000-07-25 01:22:17 +08:00
|
|
|
#, c-format
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid "%s: relocation %s is not yet supported for symbol %s."
|
2000-07-25 01:22:17 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: elf32-ppc.c:5594 elf64-ppc.c:8461
|
1999-06-03 11:26:53 +08:00
|
|
|
#, c-format
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid "%s(%s+0x%lx): unresolvable %s relocation against symbol `%s'"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: elf32-ppc.c:5644 elf64-ppc.c:8507
|
2003-06-04 00:24:06 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "%s(%s+0x%lx): %s reloc against `%s': error %d"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: elf32-ppc.c:5888
|
2003-06-04 00:24:06 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "corrupt or empty %s section in %s"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: elf32-ppc.c:5895
|
2003-06-04 00:24:06 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "unable to read in %s section from %s"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: elf32-ppc.c:5901
|
2003-06-04 00:24:06 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "corrupt %s section in %s"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: elf32-ppc.c:5944
|
2003-06-04 00:24:06 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "warning: unable to set size of %s section in %s"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: elf32-ppc.c:5994
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid "failed to allocate space for new APUinfo section."
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: elf32-ppc.c:6013
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid "failed to compute new APUinfo section."
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: elf32-ppc.c:6016
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid "failed to install new APUinfo section."
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: elf32-s390.c:2256 elf64-s390.c:2226
|
2003-06-04 00:24:06 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "%s(%s+0x%lx): invalid instruction for TLS relocation %s"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-14 19:18:13 +08:00
|
|
|
#: elf32-sh64.c:221 elf64-sh64.c:2407
|
2003-06-04 00:24:06 +08:00
|
|
|
#, c-format
|
2003-07-14 19:18:13 +08:00
|
|
|
msgid "%s: compiled as 32-bit object and %s is 64-bit"
|
2003-06-04 00:24:06 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-14 19:18:13 +08:00
|
|
|
#: elf32-sh64.c:224 elf64-sh64.c:2410
|
2003-06-04 00:24:06 +08:00
|
|
|
#, c-format
|
2003-07-14 19:18:13 +08:00
|
|
|
msgid "%s: compiled as 64-bit object and %s is 32-bit"
|
2003-06-04 00:24:06 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-14 19:18:13 +08:00
|
|
|
#: elf32-sh64.c:226 elf64-sh64.c:2412
|
2003-06-04 00:24:06 +08:00
|
|
|
#, c-format
|
2003-07-14 19:18:13 +08:00
|
|
|
msgid "%s: object size does not match that of target %s"
|
2003-06-04 00:24:06 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-14 19:18:13 +08:00
|
|
|
#: elf32-sh64.c:461 elf64-sh64.c:2990
|
2003-06-04 00:24:06 +08:00
|
|
|
#, c-format
|
2003-07-14 19:18:13 +08:00
|
|
|
msgid "%s: encountered datalabel symbol in input"
|
2003-06-04 00:24:06 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-14 19:18:13 +08:00
|
|
|
#: elf32-sh64.c:544
|
|
|
|
msgid "PTB mismatch: a SHmedia address (bit 0 == 1)"
|
2003-06-04 00:24:06 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-14 19:18:13 +08:00
|
|
|
#: elf32-sh64.c:547
|
|
|
|
msgid "PTA mismatch: a SHcompact address (bit 0 == 0)"
|
2003-06-04 00:24:06 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-14 19:18:13 +08:00
|
|
|
#: elf32-sh64.c:565
|
2003-06-04 00:24:06 +08:00
|
|
|
#, c-format
|
2003-07-14 19:18:13 +08:00
|
|
|
msgid "%s: GAS error: unexpected PTB insn with R_SH_PT_16"
|
2003-06-04 00:24:06 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-14 19:18:13 +08:00
|
|
|
#: elf32-sh64.c:614 elf64-sh64.c:1748
|
2003-06-04 00:24:06 +08:00
|
|
|
#, c-format
|
2003-07-14 19:18:13 +08:00
|
|
|
msgid "%s: error: unaligned relocation type %d at %08x reloc %08x\n"
|
2003-06-04 00:24:06 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-14 19:18:13 +08:00
|
|
|
#: elf32-sh64.c:698
|
|
|
|
#, c-format
|
|
|
|
msgid "%s: could not write out added .cranges entries"
|
2003-06-04 00:24:06 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-14 19:18:13 +08:00
|
|
|
#: elf32-sh64.c:760
|
2003-06-04 00:24:06 +08:00
|
|
|
#, c-format
|
2003-07-14 19:18:13 +08:00
|
|
|
msgid "%s: could not write out sorted .cranges entries"
|
2003-06-04 00:24:06 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-14 19:18:13 +08:00
|
|
|
#: elf32-sh.c:2103
|
2003-06-04 00:24:06 +08:00
|
|
|
#, c-format
|
2003-07-14 19:18:13 +08:00
|
|
|
msgid "%s: 0x%lx: warning: bad R_SH_USES offset"
|
2003-06-04 00:24:06 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-14 19:18:13 +08:00
|
|
|
#: elf32-sh.c:2115
|
2003-06-04 00:24:06 +08:00
|
|
|
#, c-format
|
2003-07-14 19:18:13 +08:00
|
|
|
msgid "%s: 0x%lx: warning: R_SH_USES points to unrecognized insn 0x%x"
|
2003-06-04 00:24:06 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-14 19:18:13 +08:00
|
|
|
#: elf32-sh.c:2132
|
2003-06-04 00:24:06 +08:00
|
|
|
#, c-format
|
2003-07-14 19:18:13 +08:00
|
|
|
msgid "%s: 0x%lx: warning: bad R_SH_USES load offset"
|
2003-06-04 00:24:06 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-14 19:18:13 +08:00
|
|
|
#: elf32-sh.c:2147
|
2003-06-04 00:24:06 +08:00
|
|
|
#, c-format
|
2003-07-14 19:18:13 +08:00
|
|
|
msgid "%s: 0x%lx: warning: could not find expected reloc"
|
2003-06-04 00:24:06 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-14 19:18:13 +08:00
|
|
|
#: elf32-sh.c:2175
|
2003-06-04 00:24:06 +08:00
|
|
|
#, c-format
|
2003-07-14 19:18:13 +08:00
|
|
|
msgid "%s: 0x%lx: warning: symbol in unexpected section"
|
2003-06-04 00:24:06 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-14 19:18:13 +08:00
|
|
|
#: elf32-sh.c:2300
|
2003-06-04 00:24:06 +08:00
|
|
|
#, c-format
|
2003-07-14 19:18:13 +08:00
|
|
|
msgid "%s: 0x%lx: warning: could not find expected COUNT reloc"
|
2003-06-04 00:24:06 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-14 19:18:13 +08:00
|
|
|
#: elf32-sh.c:2309
|
|
|
|
#, c-format
|
|
|
|
msgid "%s: 0x%lx: warning: bad count"
|
2003-06-04 00:24:06 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-14 19:18:13 +08:00
|
|
|
#: elf32-sh.c:2712 elf32-sh.c:3088
|
|
|
|
#, c-format
|
|
|
|
msgid "%s: 0x%lx: fatal: reloc overflow while relaxing"
|
2003-06-04 00:24:06 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-14 19:18:13 +08:00
|
|
|
#: elf32-sh.c:4654 elf64-sh64.c:1585
|
|
|
|
msgid "Unexpected STO_SH5_ISA32 on local symbol is not handled"
|
2003-06-04 00:24:06 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-14 19:18:13 +08:00
|
|
|
#: elf32-sh.c:4809
|
2003-06-04 00:24:06 +08:00
|
|
|
#, c-format
|
2003-07-14 19:18:13 +08:00
|
|
|
msgid "%s: unresolvable relocation against symbol `%s' from %s section"
|
2003-06-04 00:24:06 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-14 19:18:13 +08:00
|
|
|
#: elf32-sh.c:4881
|
2003-06-04 00:24:06 +08:00
|
|
|
#, c-format
|
2003-07-14 19:18:13 +08:00
|
|
|
msgid "%s: 0x%lx: fatal: unaligned branch target for relax-support relocation"
|
2003-06-04 00:24:06 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-14 19:18:13 +08:00
|
|
|
#: elf32-sh.c:6627 elf64-alpha.c:4848
|
2003-06-04 00:24:06 +08:00
|
|
|
#, c-format
|
2003-07-14 19:18:13 +08:00
|
|
|
msgid "%s: TLS local exec code cannot be linked into shared objects"
|
2003-06-04 00:24:06 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: elf32-sparc.c:2521 elf64-sparc.c:2314
|
2003-06-04 00:24:06 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "%s: probably compiled without -fPIC?"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: elf32-sparc.c:3348
|
2003-06-04 00:24:06 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "%s: compiled for a 64 bit system and target is 32 bit"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: elf32-sparc.c:3362
|
2003-06-04 00:24:06 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "%s: linking little endian files with big endian files"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: elf32-v850.c:753
|
2003-06-04 00:24:06 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "Variable `%s' cannot occupy in multiple small data regions"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: elf32-v850.c:756
|
2003-06-04 00:24:06 +08:00
|
|
|
#, c-format
|
|
|
|
msgid ""
|
|
|
|
"Variable `%s' can only be in one of the small, zero, and tiny data regions"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: elf32-v850.c:759
|
2003-06-04 00:24:06 +08:00
|
|
|
#, c-format
|
|
|
|
msgid ""
|
|
|
|
"Variable `%s' cannot be in both small and zero data regions simultaneously"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: elf32-v850.c:762
|
2003-06-04 00:24:06 +08:00
|
|
|
#, c-format
|
|
|
|
msgid ""
|
|
|
|
"Variable `%s' cannot be in both small and tiny data regions simultaneously"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: elf32-v850.c:765
|
2003-06-04 00:24:06 +08:00
|
|
|
#, c-format
|
|
|
|
msgid ""
|
|
|
|
"Variable `%s' cannot be in both zero and tiny data regions simultaneously"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: elf32-v850.c:1144
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid "FAILED to find previous HI16 reloc\n"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: elf32-v850.c:1789
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid "could not locate special linker symbol __gp"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: elf32-v850.c:1793
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid "could not locate special linker symbol __ep"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: elf32-v850.c:1797
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid "could not locate special linker symbol __ctbp"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: elf32-v850.c:1963
|
2003-06-04 00:24:06 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "%s: Architecture mismatch with previous modules"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: elf32-v850.c:1983
|
2003-06-04 00:24:06 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "private flags = %lx: "
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: elf32-v850.c:1988
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid "v850 architecture"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: elf32-v850.c:1989
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid "v850e architecture"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: elf32-vax.c:549
|
|
|
|
msgid " [nonpic]"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: elf32-vax.c:552
|
|
|
|
msgid " [d-float]"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: elf32-vax.c:555
|
|
|
|
msgid " [g-float]"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: elf32-vax.c:663
|
|
|
|
#, c-format
|
|
|
|
msgid ""
|
|
|
|
"%s: warning: GOT addend of %ld to `%s' does not match previous GOT addend of "
|
|
|
|
"%ld"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: elf32-vax.c:1667
|
|
|
|
#, c-format
|
|
|
|
msgid "%s: warning: PLT addend of %d to `%s' from %s section ignored"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: elf32-vax.c:1802
|
|
|
|
#, c-format
|
|
|
|
msgid "%s: warning: %s relocation against symbol `%s' from %s section"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: elf32-vax.c:1808
|
|
|
|
#, c-format
|
|
|
|
msgid "%s: warning: %s relocation to 0x%x from %s section"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-17 22:22:45 +08:00
|
|
|
#: elf32-ia64.c:2326 elf32-xstormy16.c:462 elf64-ia64.c:2326
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid "non-zero addend in @fptr reloc"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: elf64-alpha.c:1108
|
|
|
|
msgid "GPDISP relocation did not find ldah and lda instructions"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: elf64-alpha.c:3731
|
|
|
|
#, c-format
|
|
|
|
msgid "%s: .got subsegment exceeds 64K (size %d)"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: elf64-alpha.c:4602 elf64-alpha.c:4614
|
|
|
|
#, c-format
|
|
|
|
msgid "%s: gp-relative relocation against dynamic symbol %s"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: elf64-alpha.c:4640 elf64-alpha.c:4773
|
|
|
|
#, c-format
|
|
|
|
msgid "%s: pc-relative relocation against dynamic symbol %s"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: elf64-alpha.c:4668
|
|
|
|
#, c-format
|
|
|
|
msgid "%s: change in gp: BRSGP %s"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: elf64-alpha.c:4693
|
|
|
|
msgid "<unknown>"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: elf64-alpha.c:4698
|
|
|
|
#, c-format
|
|
|
|
msgid "%s: !samegp reloc against symbol without .prologue: %s"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: elf64-alpha.c:4749
|
|
|
|
#, c-format
|
|
|
|
msgid "%s: unhandled dynamic relocation against %s"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: elf64-alpha.c:4832
|
|
|
|
#, c-format
|
|
|
|
msgid "%s: dtp-relative relocation against dynamic symbol %s"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: elf64-alpha.c:4855
|
|
|
|
#, c-format
|
|
|
|
msgid "%s: tp-relative relocation against dynamic symbol %s"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: elf64-hppa.c:2086
|
|
|
|
#, c-format
|
|
|
|
msgid "stub entry for %s cannot load .plt, dp offset = %ld"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: elf64-mmix.c:1032
|
|
|
|
#, c-format
|
|
|
|
msgid ""
|
|
|
|
"%s: Internal inconsistency error for value for\n"
|
|
|
|
" linker-allocated global register: linked: 0x%lx%08lx != relaxed: 0x%lx%"
|
|
|
|
"08lx\n"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: elf64-mmix.c:1416
|
|
|
|
#, c-format
|
|
|
|
msgid ""
|
|
|
|
"%s: base-plus-offset relocation against register symbol: (unknown) in %s"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: elf64-mmix.c:1421
|
|
|
|
#, c-format
|
|
|
|
msgid "%s: base-plus-offset relocation against register symbol: %s in %s"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: elf64-mmix.c:1465
|
|
|
|
#, c-format
|
|
|
|
msgid "%s: register relocation against non-register symbol: (unknown) in %s"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: elf64-mmix.c:1470
|
|
|
|
#, c-format
|
|
|
|
msgid "%s: register relocation against non-register symbol: %s in %s"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: elf64-mmix.c:1507
|
|
|
|
#, c-format
|
|
|
|
msgid "%s: directive LOCAL valid only with a register or absolute value"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: elf64-mmix.c:1535
|
|
|
|
#, c-format
|
|
|
|
msgid ""
|
|
|
|
"%s: LOCAL directive: Register $%ld is not a local register. First global "
|
|
|
|
"register is $%ld."
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: elf64-mmix.c:1994
|
|
|
|
#, c-format
|
|
|
|
msgid ""
|
|
|
|
"%s: Error: multiple definition of `%s'; start of %s is set in a earlier "
|
|
|
|
"linked file\n"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: elf64-mmix.c:2053
|
|
|
|
msgid "Register section has contents\n"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: elf64-mmix.c:2216
|
|
|
|
#, c-format
|
|
|
|
msgid ""
|
|
|
|
"Internal inconsistency: remaining %u != max %u.\n"
|
|
|
|
" Please report this bug."
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: elf64-ppc.c:2388 libbfd.c:831
|
2003-06-04 00:24:06 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "%s: compiled for a big endian system and target is little endian"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: elf64-ppc.c:2391 libbfd.c:833
|
2003-06-04 00:24:06 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "%s: compiled for a little endian system and target is big endian"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: elf64-ppc.c:4857
|
2003-06-04 00:24:06 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "%s: unexpected reloc type %u in .opd section"
|
1999-06-03 11:26:53 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: elf64-ppc.c:4877
|
1999-06-03 11:26:53 +08:00
|
|
|
#, c-format
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid "%s: .opd is not a regular array of opd entries"
|
1999-06-03 11:26:53 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: elf64-ppc.c:4897
|
1999-06-03 11:26:53 +08:00
|
|
|
#, c-format
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid "%s: undefined sym `%s' in .opd section"
|
1999-06-03 11:26:53 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: elf64-ppc.c:6136
|
1999-06-03 11:26:53 +08:00
|
|
|
#, c-format
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid "can't find branch stub `%s'"
|
1999-06-03 11:26:53 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: elf64-ppc.c:6175 elf64-ppc.c:6250
|
1999-06-03 11:26:53 +08:00
|
|
|
#, c-format
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid "linkage table error against `%s'"
|
1999-06-03 11:26:53 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: elf64-ppc.c:6340
|
1999-06-03 11:26:53 +08:00
|
|
|
#, c-format
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid "can't build branch stub `%s'"
|
1999-06-03 11:26:53 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: elf64-ppc.c:7047
|
|
|
|
msgid ".glink and .plt too far apart"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: elf64-ppc.c:7135
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid "stubs don't match calculated size"
|
1999-06-03 11:26:53 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: elf64-ppc.c:7147
|
1999-06-03 11:26:53 +08:00
|
|
|
#, c-format
|
2003-07-11 13:10:21 +08:00
|
|
|
msgid ""
|
|
|
|
"linker stubs in %u groups\n"
|
|
|
|
" branch %lu\n"
|
|
|
|
" toc adjust %lu\n"
|
|
|
|
" long branch %lu\n"
|
|
|
|
" long toc adj %lu\n"
|
|
|
|
" plt call %lu"
|
1999-06-03 11:26:53 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: elf64-ppc.c:7723
|
1999-06-03 11:26:53 +08:00
|
|
|
#, c-format
|
2003-07-11 13:10:21 +08:00
|
|
|
msgid ""
|
|
|
|
"%s(%s+0x%lx): automatic multiple TOCs not supported using your crt files; "
|
|
|
|
"recompile with -mminimal-toc or upgrade gcc"
|
1999-06-03 11:26:53 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: elf64-ppc.c:7731
|
1999-06-03 11:26:53 +08:00
|
|
|
#, c-format
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid ""
|
2003-07-11 13:10:21 +08:00
|
|
|
"%s(%s+0x%lx): sibling call optimization to `%s' does not allow automatic "
|
|
|
|
"multiple TOCs; recompile with -mminimal-toc or -fno-optimize-sibling-calls, "
|
|
|
|
"or make `%s' extern"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: elf64-ppc.c:8329
|
|
|
|
#, c-format
|
|
|
|
msgid "%s: relocation %s is not supported for symbol %s."
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: elf64-ppc.c:8408
|
|
|
|
#, c-format
|
|
|
|
msgid "%s: error: relocation %s not a multiple of %d"
|
1999-06-03 11:26:53 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-14 19:18:13 +08:00
|
|
|
#: elf-hppa.h:1458 elf-hppa.h:1491 elf-m10300.c:1628 elf64-sh64.c:1704
|
|
|
|
#, c-format
|
|
|
|
msgid ""
|
|
|
|
"%s: warning: unresolvable relocation against symbol `%s' from %s section"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: elf64-sparc.c:1370
|
1999-06-03 11:26:53 +08:00
|
|
|
#, c-format
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid "%s: check_relocs: unhandled reloc type %d"
|
1999-06-03 11:26:53 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: elf64-sparc.c:1407
|
1999-06-03 11:26:53 +08:00
|
|
|
#, c-format
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid "%s: Only registers %%g[2367] can be declared using STT_REGISTER"
|
1999-06-03 11:26:53 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: elf64-sparc.c:1427
|
1999-06-03 11:26:53 +08:00
|
|
|
#, c-format
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid "Register %%g%d used incompatibly: %s in %s, previously %s in %s"
|
1999-06-03 11:26:53 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: elf64-sparc.c:1450
|
1999-06-03 11:26:53 +08:00
|
|
|
#, c-format
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid "Symbol `%s' has differing types: REGISTER in %s, previously %s in %s"
|
1999-06-03 11:26:53 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: elf64-sparc.c:1496
|
1999-06-03 11:26:53 +08:00
|
|
|
#, c-format
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid "Symbol `%s' has differing types: %s in %s, previously REGISTER in %s"
|
1999-06-03 11:26:53 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: elf64-sparc.c:3053
|
1999-06-03 11:26:53 +08:00
|
|
|
#, c-format
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid "%s: linking UltraSPARC specific with HAL specific code"
|
1999-06-03 11:26:53 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: elf64-x86-64.c:739
|
2003-06-04 00:24:06 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "%s: %s' accessed both as normal and thread local symbol"
|
Contribute sh64-elf.
2002-01-23 Alexandre Oliva <aoliva@redhat.com>
* reloc.c (R_SH_GOTPLT32, R_SH_GOT_LOW16, R_SH_GOT_MEDLOW16,
R_SH_GOT_MEDHI16, R_SH_GOT_HI16, R_SH_GOTPLT_LOW16,
R_SH_GOTPLT_MEDLOW16, R_SH_GOTPLT_MEDHI16, R_SH_GOTPLT_HI16,
R_SH_PLT_LOW16, R_SH_PLT_MEDLOW16, R_SH_PLT_MEDHI16,
R_SH_PLT_HI16, R_SH_GOTOFF_LOW16, R_SH_GOTOFF_MEDLOW16,
R_SH_GOTOFF_MEDHI16, R_SH_GOTOFF_HI16, R_SH_GOTPC_LOW16,
R_SH_GOTPC_MEDLOW16, R_SH_GOTPC_MEDHI16, R_SH_GOTPC_HI16,
R_SH_GOT10BY4, R_SH_GOTPLT10BY4, R_SH_GOT10BY8, R_SH_GOTPLT10BY8,
R_SH_COPY64, R_SH_GLOB_DAT64, R_SH_JMP_SLOT64, R_SH_RELATIVE64):
New relocs.
* libbfd.h, bfd-in2.h: Rebuilt.
* elf32-sh.c (sh_elf_howto_table): Define new relocs.
(sh_reloc_map): Map them.
(PLT_ENTRY_SIZE, elf_sh_plt0_entry_be, elf_sh_plt0_entry_le,
elf_sh_plt_entry_be, elf_sh_plt_entry_le, elf_sh_pic_plt_entry_be,
elf_sh_pic_plt_entry_le, elf_sh_plt0_entry, elf_sh_plt_entry,
elf_sh_pic_plt_entry, elf_sh_sizeof_plt, elf_sh_plt_plt0_offset,
elf_sh_plt0_gotplt_offset, elf_sh_plt_temp_offset,
elf_sh_plt_symbol_offset, elf_sh_plt_reloc_offset,
movi_shori_putval) [INCLUDE_SHMEDIA]: New.
(elf_sh_link_hash_entry) [INCLUDE_SHMEDIA]: Add
datalabel_got_offset.
(sh_elf_link_hash_newfunc): Initialize it.
(sh_elf_relocate_section): Augment the scope of
seen_stt_datalabel. Introduce GOTPLT support. Extend GOTPC, PLT,
GOT and GOTOFF handling to new SHmedia relocation types. Support
GOT_BIAS.
(sh_elf_check_relocs): Likewise.
(sh_elf_finish_dynamic_symbol) [TARGET_SHMEDIA]: Set up values in
PLT entries using movi_shori_putval. Support GOT_BIAS.
(sh_elf_finish_dynamic_sections): Likewise.
* elf32-sh64.c (shmedia_prepare_reloc): Do not add addend to
relocation, it's now done by the caller.
(GOT_BIAS): New.
* elf64-sh64.c (GOT_BIAS, PLT_ENTRY_SIZE, elf_sh64_sizeof_plt,
elf_sh64_plt_plt0_offset, elf_sh64_plt0_gotplt_offset,
elf_sh64_plt_temp_offset, elf_sh64_plt_symbol_offset,
elf_sh64_plt_reloc_offset, ELF_DYNAMIC_INTERPRETER,
elf_sh64_pcrel_relocs_copied, elf_sh64_link_hash_entry,
elf_sh64_link_hash_table, sh64_elf64_link_hash_traverse,
sh64_elf64_hash_table): New.
(sh_elf64_howto_table): Introduce new relocs.
(sh_elf64_info_to_howto): Accept new PIC relocs.
(sh_elf64_relocate_section): Augment the scope of
seen_stt_datalabel. Support new PIC relocs.
(sh_elf64_check_relocs): Support new PIC relocs.
(elf_sh64_plt0_entry_be, elf_sh64_plt0_entry_le,
elf_sh64_plt_entry_be, elf_sh64_plt_entry_le,
elf_sh64_pic_plt_entry_be, elf_sh64_pic_plt_entry_le,
elf_sh64_plt0_entry, elf_sh64_plt_entry, elf_sh64_pic_plt_entry,
sh64_elf64_link_hash_newfunc, sh64_elf64_link_hash_table_create,
movi_shori_putval, movi_3shori_putval,
sh64_elf64_create_dynamic_sections,
sh64_elf64_adjust_dynamic_symbol, sh64_elf64_discard_copies,
sh64_elf64_size_dynamic_sections,
sh64_elf64_finish_dynamic_symbol,
sh64_elf64_finish_dynamic_sections): New.
(elf_backend_create_dynamic-sections,
bfd_elf64_bfd_link_hash_table_create,
elf_backend_adjust_dynamic_symbol,
elf_backend_size_dynamic_sections,
elf_backend_finish_dynamic_symbol,
elf_backend_finish_dynamic_sections, elf_backend_want_got_plt,
elf_backend_plt_readonly, elf_backend_want_plt_sym,
elf_backend_got_header_size, elf_backend_plt_header_size):
Define.
2001-05-16 Alexandre Oliva <aoliva@redhat.com>
* elf32-sh.c: Renumbered and renamed some SH5 relocations to
match official numbers and names; moved unmaching ones to the
range 0xf2-0xff.
* elf32-sh64.c, elf64-sh64.c: Likewise.
2001-03-12 DJ Delorie <dj@redhat.com>
* elf32-sh.c (sh_elf_relax_section): Don't relax SHmedia
sections.
2001-03-12 DJ Delorie <dj@redhat.com>
* elf32-sh64.c (shmedia_prepare_reloc): Validate relocs that must
be aligned.
* elf64-sh64.c (sh_elf64_relocate_section): Ditto.
2001-01-14 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh64.c (bfd_elf32_bfd_copy_private_section_data): Define.
(sh64_elf_fake_sections): Set type to SHT_SH5_CR_SORTED for a
.cranges section with SEC_SORT_ENTRIES set.
(sh64_backend_section_from_shdr): Set SEC_SORT_ENTRIES on an
incoming sorted .cranges section.
(sh64_bfd_elf_copy_private_section_data): New.
(sh64_elf_final_write_processing): Only sort .cranges and modify
start address if called by linker.
2001-01-08 Ben Elliston <bje@redhat.com>
* elf32-sh64.c (sh64_elf_final_write_processing): Activate
Hans-Peter Nilsson's set bit 0 patch from 2001-01-06.
* elf64-sh64.c (sh64_elf64_final_write_processing): Ditto.
2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com>
* elf64-sh64.c (sh_elf64_howto_table): No open brace at start of
line. Add comments before all entries.
<R_SH_PT_16, R_SH_SHMEDIA_CODE>: Correct and clarify describing
comment.
(sh_elf64_reloc): Correct head comment.
(sh_elf64_relocate_section): Correct spacing.
<relocating for a local symbol>: Do not honour STO_SH5_ISA32;
instead call reloc_dangerous callback.
<case R_SH_SHMEDIA_CODE>: New case.
(sh_elf64_gc_mark_hook): Correct spacing.
(sh_elf64_check_relocs): Ditto.
* elf32-sh64.c (shmedia_prepare_reloc) <case R_SH_SHMEDIA_CODE>:
New case.
* elf32-sh.c: Correct #endif comments for #ifndef-wrapped
functions.
(sh_elf_howto_table) <R_SH_PT_16, R_SH_SHMEDIA_CODE>: Correct,
clarify describing comment. Add comments before all entries.
(sh_elf_relocate_section) <relocating for a local symbol>: Do not
honour STO_SH5_ISA32; instead call reloc_dangerous callback.
2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com>
Sort .cranges section in final link. Prepare to set bit 0 on
entry address.
* elf32-sh64.c (struct sh64_find_section_vma_data): New.
(sh64_elf_link_output_symbol_hook): Fix typo in prototype.
(sh64_elf_set_mach_from_flags): Set SEC_DEBUGGING on incoming
.cranges section.
(sh64_backend_section_from_shdr): New, to recognize
SHT_SH5_CR_SORTED on incoming .cranges section.
(elf_backend_section_from_shdr): Define.
(sh64_elf_final_write_processing): Sort outgoing .cranges
section. (New, temporarily disabled:) Set bit 0 on entry address
according to ISA type.
(sh64_find_section_for_address): New.
(crange_qsort_cmpb, crange_qsort_cmpl, crange_bsearch_cmpb,
crange_bsearch_cmpl): Move here from opcodes/sh64-dis.c.
(sh64_address_in_cranges): Move here from opcodes/sh64-dis.c. Use
bfd_malloc, not xmalloc.
(sh64_get_contents_type): Move here from opcodes/sh64-dis.c. Make
global.
* elf32-sh64.c (sh64_elf64_final_write_processing): New, (but
temporarily disabled) setting bit 0 on entry address.
(elf_backend_final_write_processing): Define.
2001-01-05 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh.c (sh_elf_howto_table) <R_SH_PT_16>: Adjust fields to
be a proper relocation for PTA and PTB rather than a marker.
<R_SH_IMMU5, R_SH_IMMS6, R_SH_IMMU6, R_SH_IMMS10, R_SH_IMMS10BY2,
R_SH_IMMS10BY4, R_SH_IMMS10BY8, R_SH_IMMS16, R_SH_IMMU16,
R_SH_IMM_LOW16, R_SH_IMM_LOW16_PCREL, R_SH_IMM_MEDLOW16,
R_SH_IMM_MEDLOW16_PCREL, R_SH_IMM_MEDHI16, R_SH_IMM_MEDHI16_PCREL,
R_SH_IMM_HI16, R_SH_IMM_HI16_PCREL, R_SH_64, R_SH_64_PCREL>:
Zero src_mask.
* elf64-sh64.c: Ditto.
(sh_elf64_relocate_section) <case R_SH_PT_16>: New case.
* elf32-sh64.c: Include opcodes/sh64-opc.h
(shmedia_prepare_reloc): Take a bfd_link_info pointer as first
argument. Drop const qualifiers from "bfd *" and "bfd_byte *"
parameters. No unused parameters. Caller changed.
<case R_SH_PT_16>: New case.
* Makefile.am (elf32-sh64.lo): Add dependency on sh64-opc.h.
* Makefile.in: Regenerate.
2000-12-30 Hans-Peter Nilsson <hpn@cygnus.com>
* elf64-sh64.c (sh64_elf64_fake_sections): Set SHF_SH5_ISA32 for
all code sections.
(sh_elf64_set_mach_from_flags): Change from EF_SH64 to EF_SH5.
(sh64_elf_merge_private_data): Ditto.
* elf32-sh64.c (sh64_elf_fake_sections): Use sh64_elf_section_data
to access stored section flags.
(sh64_elf_final_write_processing): Return immediately unless
called by linker. Use sh64_elf_section_data (cranges) to get size
of linker-generated cranges entries.
(sh64_elf_copy_private_data): Add missing "return true".
(sh64_elf_set_mach_from_flags): Change from EF_SH64 to EF_SH5.
(sh_elf64_merge_private_data): Ditto.
2000-12-19 Hans-Peter Nilsson <hpn@cygnus.com>
* elf64-sh64.c (sh64_elf64_fake_sections): New, copy of
elf64-sh64.c:sh64_elf_fake_sections.
(elf_backend_fake_sections): Define as sh64_elf64_fake_sections.
2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh64.c (sh64_elf_copy_private_data_internal): Delete.
(sh64_elf_final_write_processing): New.
(elf_backend_final_write_processing): Define.
(sh64_elf_fake_sections): Get header flags from tdata field.
(sh64_elf_copy_private_data): Do not call
sh64_elf_copy_private_data_internal, just copy e_flags field.
(sh64_elf_merge_private_data): Do not call
sh64_elf_copy_private_data_internal.
2000-12-12 Hans-Peter Nilsson <hpn@cygnus.com>
Remove EF_SH64_ABI64, let ELF size make difference.
Remove SH64-specific BFD section flag.
* elf32-sh64.c (sh64_elf_fake_sections): Recognize section as
containing SHmedia through elf_section_data (asect)->tdata
non-zero, not using a BFD section flag.
(sh64_elf_set_mach_from_flags): Don't recognize EF_SH64_ABI64.
(sh64_elf_merge_private_data): Similar.
(elf_backend_section_flags): Don't define.
(sh64_elf_backend_section_flags): Delete.
* elf64-sh64.c (sh_elf64_set_mach_from_flags): Recognize EF_SH64,
not EF_SH64_ABI64.
(sh_elf64_merge_private_data): Similar.
* section.c (Section flags definitions): Don't define
SEC_SH_ISA_SHMEDIA.
(bfd-in2.h): Regenerate.
2000-12-09 Hans-Peter Nilsson <hpn@cygnus.com>
Make DataLabel references work with partial linking.
* elf32-sh64.c: Fix formatting.
(sh64_elf_link_output_symbol_hook): New.
(elf_backend_link_output_symbol_hook): Define to
sh64_elf_link_output_symbol_hook.
(sh64_elf_add_symbol_hook): Make DataLabel symbol just global
undefined if partial linking. Adjust sanity check.
* elf64-sh64.c (sh64_elf64_link_output_symbol_hook): New.
(elf_backend_link_output_symbol_hook): Define to
sh64_elf64_link_output_symbol_hook.
(sh64_elf64_add_symbol_hook): Make DataLabel symbol just global
undefined if partial linking. Adjust sanity check.
2000-12-07 Hans-Peter Nilsson <hpn@cygnus.com>
Implement semantics for inter-file DataLabel references.
* elf64-sh64.c (DATALABEL_SUFFIX): Define.
(sh64_elf64_add_symbol_hook): New.
(sh_elf64_relocate_section): If passing an indirect symbol with
st_type STT_DATALABEL on the way to a symbol with st_other
STO_SH5_ISA32, do not bitor 1 to the relocation.
(elf_backend_add_symbol_hook): Define to
sh64_elf64_add_symbol_hook.
* elf64-sh32.c: Tweak comments.
(DATALABEL_SUFFIX): Define.
(sh64_elf_add_symbol_hook): New.
(elf_backend_add_symbol_hook): Define to sh64_elf_add_symbol_hook.
* elf32-sh.c (sh_elf_relocate_section): If passing an indirect
symbol with st_type STT_DATALABEL on the way to a symbol with
st_other STO_SH5_ISA32, do not bitor 1 to the relocation.
2000-12-05 Hans-Peter Nilsson <hpn@cygnus.com>
Pass through STT_DATALABEL.
* elf32-sh64.c (sh64_elf_get_symbol_type): New.
(elf_backend_get_symbol_type): Define.
* elf64-sh64.c (sh64_elf64_get_symbol_type): New.
(elf_backend_get_symbol_type): Define.
2000-11-30 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh64.c: Tweak comments.
(sh64_elf_copy_private_data_internal): Add prototype.
(bfd_elf32_bfd_set_private_flags): Define.
(sh64_elf_copy_private_data_internal): Compare machine name, not
textual BFD target name, to check whether to copy section flag
SHF_SH5_ISA32.
(sh64_elf_merge_private_data): Validize bfd_get_arch_size.
Tweak section-contents-type-mismatch message.
(shmedia_prepare_reloc): Add ATTRIBUTE_UNUSED markers.
Validize reloc-types.
* elf64-sh64.c: New file.
* targets.c (bfd_elf64_sh64_vec, bfd_elf64_sh64l_vec): Declare.
* Makefile.am (BFD64_BACKENDS): Add elf64-sh64.lo.
(BFD64_BACKENDS_CFILES): Add elf64-sh64.c.
Regenerate dependencies.
* Makefile.in: Regenerate.
* config.bfd (sh64-*-elf*): Add bfd_elf64_sh64_vec and
bfd_elf64_sh64l_vec.
* configure.in: Handle bfd_elf64_sh64_vec and
bfd_elf64_sh64l_vec.
* configure: Regenerate.
* po/POTFILES.in: Regenerate.
* po/bfd.pot: Regenerate.
2000-11-29 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh64.c (sh64_elf_set_mach_from_flags): Do not recognize
anything else but EF_SH64 and EF_SH64_ABI64.
(sh64_elf_merge_private_data): Emit error for anything else but
EF_SH64 and EF_SH64_ABI64.
* config.bfd: Remove bfd_elf32_shblin_vec and bfd_elf32_shlin_vec
from targ_selvecs.
* configure.in: Add cofflink.lo to bfd_elf32_sh64_vec and
bfd_elf32_sh64l_vec as a temporary measure.
* configure: Regenerate.
2000-11-27 Hans-Peter Nilsson <hpn@cygnus.com>
* cpu-sh.c (arch_info_struct): Include sh5 item
unconditionalized.
* config.bfd (sh64-*-elf*): Do not set targ_cflags.
Add targ_selvecs bfd_elf32_sh_vec, bfd_elf32_shl_vec,
bfd_elf32_shblin_vec and bfd_elf32_shlin_vec.
* elf32-sh64.c: Tweak comments.
(sh64_elf_set_mach_from_flags): Recognize all machine flags that
are proper subsets of SH64 as bfd_mach_sh5. Add EF_SH64_ABI64.
(sh64_elf_copy_private_data_internal): Wrap long line.
(sh64_elf_merge_private_data): Rewrite to allow objects from
SH64 subsets to be linked together.
(INCLUDE_SHMEDIA): Define.
* elf32-sh.c (sh_elf_relocate_section) <local symbol>:
Parenthesize plus-expression inside or-expression.
<global symbol>: Ditto.
(sh_elf_set_mach_from_flags): Remove code refusing
deleted EF_SH64_32BIT_ABI flag.
2000-11-26 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh.c (sh_elf_howto_table) <R_SH_IMM_LOW16_PCREL,
R_SH_IMM_MEDLOW16_PCREL, R_SH_IMM_MEDHI16_PCREL,
R_SH_IMM_HI16_PCREL, R_SH_64_PCREL>: Set pcrel_offset to true.
(sh_elf_relocate_section) <local symbol>: Or 1 in
calculation of relocation if sym->st_other & STO_SH5_ISA32.
<global symbol>: Ditto if h->other & STO_SH5_ISA32.
* elf32-sh64.c (shmedia_prepare_reloc): Add rel->r_addend to
relocation.
2000-11-24 Hans-Peter Nilsson <hpn@cygnus.com>
* Makefile.am (BFD32_BACKENDS): Add elf32-sh64.lo.
(BFD32_BACKENDS_CFILES): Add elf32-sh64.c.
Regenerate dependencies.
* Makefile.in: Regenerate.
* archures.c: Add bfd_mach_sh5.
* config.bfd: Map targ_cpu sh* to bfd_sh_arch.
Handle sh64-*-elf*. Set targ_cflags to -DINCLUDE_SHMEDIA.
* configure.in: Handle bfd_elf32_sh64_vec and bfd_elf32_sh64l_vec.
* configure: Regenerate.
* reloc.c (BFD_RELOC_SH_SHMEDIA_CODE, BFD_RELOC_SH_IMMU5,
BFD_RELOC_SH_IMMS6, BFD_RELOC_SH_IMMS6BY32, BFD_RELOC_SH_IMMU6,
BFD_RELOC_SH_IMMS10, BFD_RELOC_SH_IMMS10BY2,
BFD_RELOC_SH_IMMS10BY4, BFD_RELOC_SH_IMMS10BY8,
BFD_RELOC_SH_IMMS16, BFD_RELOC_SH_IMMU16, BFD_RELOC_SH_IMM_LOW16,
BFD_RELOC_SH_IMM_LOW16_PCREL, BFD_RELOC_SH_IMM_MEDLOW16,
BFD_RELOC_SH_IMM_MEDLOW16_PCREL, BFD_RELOC_SH_IMM_MEDHI16,
BFD_RELOC_SH_IMM_MEDHI16_PCREL, BFD_RELOC_SH_IMM_HI16,
BFD_RELOC_SH_IMM_HI16_PCREL, BFD_RELOC_SH_PT_16): New relocations.
* cpu-sh.c [INCLUDE_SHMEDIA] (arch_info_struct): Define and link
in item for SH5.
* elf32-sh.c [INCLUDE_SHMEDIA] (sh_elf_howto_table): Add howto items
for SHmedia relocs.
[INCLUDE_SHMEDIA] (sh_rel): Add mappings for SHmedia relocs.
[INCLUDE_SHMEDIA] (sh_elf_relocate_section) [default]: Call
shmedia_prepare_reloc, goto final_link_relocate if it returns
non-zero, else fail as before.
(sh_elf_set_mach_from_flags): Provide function only if not defined
as macro. Do not recognize objects with EF_SH64_32BIT_ABI set.
(sh_elf_set_private_flags): Provide function only if not defined
as a macro.
(sh_elf_copy_private_data): Similar.
(sh_elf_merge_private_data): Similar.
* section.c (SEC_SH_ISA_SHMEDIA): New.
* targets.c (bfd_elf32_sh64_vec, bfd_elf32_sh64l_vec): Declare.
* elf32-sh64.c: New file.
* libbfd.h: Regenerate.
* bfd-in2.h: Regenerate.
* po/POTFILES.in: Regenerate.
* po/bfd.pot: Regenerate.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.
2002-02-08 13:33:27 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-14 19:18:13 +08:00
|
|
|
#: elf.c:372
|
|
|
|
#, c-format
|
|
|
|
msgid "%s: invalid string offset %u >= %lu for section `%s'"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: elf.c:624
|
|
|
|
#, c-format
|
|
|
|
msgid "%s: invalid SHT_GROUP entry"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: elf.c:695
|
|
|
|
#, c-format
|
|
|
|
msgid "%s: no group info for section %s"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: elf.c:1055
|
|
|
|
msgid ""
|
|
|
|
"\n"
|
|
|
|
"Program Header:\n"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: elf.c:1106
|
|
|
|
msgid ""
|
|
|
|
"\n"
|
|
|
|
"Dynamic Section:\n"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: elf.c:1235
|
|
|
|
msgid ""
|
|
|
|
"\n"
|
|
|
|
"Version definitions:\n"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: elf.c:1258
|
|
|
|
msgid ""
|
|
|
|
"\n"
|
|
|
|
"Version References:\n"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: elf.c:1263
|
|
|
|
#, c-format
|
|
|
|
msgid " required from %s:\n"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: elf.c:1944
|
|
|
|
#, c-format
|
|
|
|
msgid "%s: invalid link %lu for reloc section %s (index %u)"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: elf.c:3686
|
|
|
|
#, c-format
|
|
|
|
msgid "%s: Not enough room for program headers (allocated %u, need %u)"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: elf.c:3791
|
|
|
|
#, c-format
|
|
|
|
msgid "%s: Not enough room for program headers, try linking with -N"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: elf.c:3922
|
|
|
|
#, c-format
|
|
|
|
msgid ""
|
|
|
|
"Error: First section in segment (%s) starts at 0x%x whereas the segment "
|
|
|
|
"starts at 0x%x"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: elf.c:4242
|
|
|
|
#, c-format
|
|
|
|
msgid "%s: warning: allocated section `%s' not in segment"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: elf.c:4566
|
|
|
|
#, c-format
|
|
|
|
msgid "%s: symbol `%s' required but not present"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: elf.c:4854
|
|
|
|
#, c-format
|
|
|
|
msgid "%s: warning: Empty loadable segment detected, is this intentional ?\n"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: elf.c:5485
|
|
|
|
#, c-format
|
|
|
|
msgid ""
|
|
|
|
"Unable to find equivalent output section for symbol '%s' from section '%s'"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: elf.c:6298
|
|
|
|
#, c-format
|
|
|
|
msgid "%s: unsupported relocation type %s"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: elfcode.h:1113
|
1999-06-03 11:26:53 +08:00
|
|
|
#, c-format
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid "%s: version count (%ld) does not match symbol count (%ld)"
|
1999-06-03 11:26:53 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: elfcode.h:1342
|
1999-06-03 11:26:53 +08:00
|
|
|
#, c-format
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid "%s(%s): relocation %d has invalid symbol index %ld"
|
1999-06-03 11:26:53 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: elflink.c:1456
|
|
|
|
#, c-format
|
|
|
|
msgid "%s: warning: unexpected redefinition of indirect versioned symbol `%s'"
|
1999-06-03 11:26:53 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: elflink.c:1807
|
|
|
|
#, c-format
|
|
|
|
msgid "%s: undefined versioned symbol name %s"
|
1999-06-03 11:26:53 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: elflink.c:2142
|
2003-06-04 00:24:06 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "%s: relocation size mismatch in %s section %s"
|
1999-06-03 11:26:53 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: elflink.c:2434
|
1999-06-03 11:26:53 +08:00
|
|
|
#, c-format
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid "warning: type and size of dynamic symbol `%s' are not defined"
|
1999-06-03 11:26:53 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: elflink.h:1022
|
1999-06-03 11:26:53 +08:00
|
|
|
#, c-format
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid "%s: %s: invalid version %u (max %d)"
|
1999-06-03 11:26:53 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: elflink.h:1063
|
|
|
|
#, c-format
|
|
|
|
msgid "%s: %s: invalid needed version %d"
|
1999-06-03 11:26:53 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: elflink.h:1238
|
|
|
|
#, c-format
|
|
|
|
msgid "Warning: alignment %u of symbol `%s' in %s is smaller than %u in %s"
|
1999-06-03 11:26:53 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: elflink.h:1252
|
|
|
|
#, c-format
|
|
|
|
msgid "Warning: size of symbol `%s' changed from %lu in %s to %lu in %s"
|
1999-06-03 11:26:53 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: elflink.h:2160
|
2003-06-04 00:24:06 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "%s: undefined version: %s"
|
2002-02-01 01:33:08 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: elflink.h:2226
|
2003-06-04 00:24:06 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "%s: .preinit_array section is not allowed in DSO"
|
1999-06-03 11:26:53 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: elflink.h:3078
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid "Not enough memory to sort relocations"
|
1999-06-03 11:26:53 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: elflink.h:3958 elflink.h:4001
|
2001-10-30 23:20:14 +08:00
|
|
|
#, c-format
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid "%s: could not find output section %s"
|
2001-10-30 23:20:14 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: elflink.h:3964
|
2001-02-07 09:58:26 +08:00
|
|
|
#, c-format
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid "warning: %s section has zero size"
|
2001-02-07 09:58:26 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: elflink.h:4483
|
Contribute sh64-elf.
2002-01-23 Alexandre Oliva <aoliva@redhat.com>
* reloc.c (R_SH_GOTPLT32, R_SH_GOT_LOW16, R_SH_GOT_MEDLOW16,
R_SH_GOT_MEDHI16, R_SH_GOT_HI16, R_SH_GOTPLT_LOW16,
R_SH_GOTPLT_MEDLOW16, R_SH_GOTPLT_MEDHI16, R_SH_GOTPLT_HI16,
R_SH_PLT_LOW16, R_SH_PLT_MEDLOW16, R_SH_PLT_MEDHI16,
R_SH_PLT_HI16, R_SH_GOTOFF_LOW16, R_SH_GOTOFF_MEDLOW16,
R_SH_GOTOFF_MEDHI16, R_SH_GOTOFF_HI16, R_SH_GOTPC_LOW16,
R_SH_GOTPC_MEDLOW16, R_SH_GOTPC_MEDHI16, R_SH_GOTPC_HI16,
R_SH_GOT10BY4, R_SH_GOTPLT10BY4, R_SH_GOT10BY8, R_SH_GOTPLT10BY8,
R_SH_COPY64, R_SH_GLOB_DAT64, R_SH_JMP_SLOT64, R_SH_RELATIVE64):
New relocs.
* libbfd.h, bfd-in2.h: Rebuilt.
* elf32-sh.c (sh_elf_howto_table): Define new relocs.
(sh_reloc_map): Map them.
(PLT_ENTRY_SIZE, elf_sh_plt0_entry_be, elf_sh_plt0_entry_le,
elf_sh_plt_entry_be, elf_sh_plt_entry_le, elf_sh_pic_plt_entry_be,
elf_sh_pic_plt_entry_le, elf_sh_plt0_entry, elf_sh_plt_entry,
elf_sh_pic_plt_entry, elf_sh_sizeof_plt, elf_sh_plt_plt0_offset,
elf_sh_plt0_gotplt_offset, elf_sh_plt_temp_offset,
elf_sh_plt_symbol_offset, elf_sh_plt_reloc_offset,
movi_shori_putval) [INCLUDE_SHMEDIA]: New.
(elf_sh_link_hash_entry) [INCLUDE_SHMEDIA]: Add
datalabel_got_offset.
(sh_elf_link_hash_newfunc): Initialize it.
(sh_elf_relocate_section): Augment the scope of
seen_stt_datalabel. Introduce GOTPLT support. Extend GOTPC, PLT,
GOT and GOTOFF handling to new SHmedia relocation types. Support
GOT_BIAS.
(sh_elf_check_relocs): Likewise.
(sh_elf_finish_dynamic_symbol) [TARGET_SHMEDIA]: Set up values in
PLT entries using movi_shori_putval. Support GOT_BIAS.
(sh_elf_finish_dynamic_sections): Likewise.
* elf32-sh64.c (shmedia_prepare_reloc): Do not add addend to
relocation, it's now done by the caller.
(GOT_BIAS): New.
* elf64-sh64.c (GOT_BIAS, PLT_ENTRY_SIZE, elf_sh64_sizeof_plt,
elf_sh64_plt_plt0_offset, elf_sh64_plt0_gotplt_offset,
elf_sh64_plt_temp_offset, elf_sh64_plt_symbol_offset,
elf_sh64_plt_reloc_offset, ELF_DYNAMIC_INTERPRETER,
elf_sh64_pcrel_relocs_copied, elf_sh64_link_hash_entry,
elf_sh64_link_hash_table, sh64_elf64_link_hash_traverse,
sh64_elf64_hash_table): New.
(sh_elf64_howto_table): Introduce new relocs.
(sh_elf64_info_to_howto): Accept new PIC relocs.
(sh_elf64_relocate_section): Augment the scope of
seen_stt_datalabel. Support new PIC relocs.
(sh_elf64_check_relocs): Support new PIC relocs.
(elf_sh64_plt0_entry_be, elf_sh64_plt0_entry_le,
elf_sh64_plt_entry_be, elf_sh64_plt_entry_le,
elf_sh64_pic_plt_entry_be, elf_sh64_pic_plt_entry_le,
elf_sh64_plt0_entry, elf_sh64_plt_entry, elf_sh64_pic_plt_entry,
sh64_elf64_link_hash_newfunc, sh64_elf64_link_hash_table_create,
movi_shori_putval, movi_3shori_putval,
sh64_elf64_create_dynamic_sections,
sh64_elf64_adjust_dynamic_symbol, sh64_elf64_discard_copies,
sh64_elf64_size_dynamic_sections,
sh64_elf64_finish_dynamic_symbol,
sh64_elf64_finish_dynamic_sections): New.
(elf_backend_create_dynamic-sections,
bfd_elf64_bfd_link_hash_table_create,
elf_backend_adjust_dynamic_symbol,
elf_backend_size_dynamic_sections,
elf_backend_finish_dynamic_symbol,
elf_backend_finish_dynamic_sections, elf_backend_want_got_plt,
elf_backend_plt_readonly, elf_backend_want_plt_sym,
elf_backend_got_header_size, elf_backend_plt_header_size):
Define.
2001-05-16 Alexandre Oliva <aoliva@redhat.com>
* elf32-sh.c: Renumbered and renamed some SH5 relocations to
match official numbers and names; moved unmaching ones to the
range 0xf2-0xff.
* elf32-sh64.c, elf64-sh64.c: Likewise.
2001-03-12 DJ Delorie <dj@redhat.com>
* elf32-sh.c (sh_elf_relax_section): Don't relax SHmedia
sections.
2001-03-12 DJ Delorie <dj@redhat.com>
* elf32-sh64.c (shmedia_prepare_reloc): Validate relocs that must
be aligned.
* elf64-sh64.c (sh_elf64_relocate_section): Ditto.
2001-01-14 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh64.c (bfd_elf32_bfd_copy_private_section_data): Define.
(sh64_elf_fake_sections): Set type to SHT_SH5_CR_SORTED for a
.cranges section with SEC_SORT_ENTRIES set.
(sh64_backend_section_from_shdr): Set SEC_SORT_ENTRIES on an
incoming sorted .cranges section.
(sh64_bfd_elf_copy_private_section_data): New.
(sh64_elf_final_write_processing): Only sort .cranges and modify
start address if called by linker.
2001-01-08 Ben Elliston <bje@redhat.com>
* elf32-sh64.c (sh64_elf_final_write_processing): Activate
Hans-Peter Nilsson's set bit 0 patch from 2001-01-06.
* elf64-sh64.c (sh64_elf64_final_write_processing): Ditto.
2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com>
* elf64-sh64.c (sh_elf64_howto_table): No open brace at start of
line. Add comments before all entries.
<R_SH_PT_16, R_SH_SHMEDIA_CODE>: Correct and clarify describing
comment.
(sh_elf64_reloc): Correct head comment.
(sh_elf64_relocate_section): Correct spacing.
<relocating for a local symbol>: Do not honour STO_SH5_ISA32;
instead call reloc_dangerous callback.
<case R_SH_SHMEDIA_CODE>: New case.
(sh_elf64_gc_mark_hook): Correct spacing.
(sh_elf64_check_relocs): Ditto.
* elf32-sh64.c (shmedia_prepare_reloc) <case R_SH_SHMEDIA_CODE>:
New case.
* elf32-sh.c: Correct #endif comments for #ifndef-wrapped
functions.
(sh_elf_howto_table) <R_SH_PT_16, R_SH_SHMEDIA_CODE>: Correct,
clarify describing comment. Add comments before all entries.
(sh_elf_relocate_section) <relocating for a local symbol>: Do not
honour STO_SH5_ISA32; instead call reloc_dangerous callback.
2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com>
Sort .cranges section in final link. Prepare to set bit 0 on
entry address.
* elf32-sh64.c (struct sh64_find_section_vma_data): New.
(sh64_elf_link_output_symbol_hook): Fix typo in prototype.
(sh64_elf_set_mach_from_flags): Set SEC_DEBUGGING on incoming
.cranges section.
(sh64_backend_section_from_shdr): New, to recognize
SHT_SH5_CR_SORTED on incoming .cranges section.
(elf_backend_section_from_shdr): Define.
(sh64_elf_final_write_processing): Sort outgoing .cranges
section. (New, temporarily disabled:) Set bit 0 on entry address
according to ISA type.
(sh64_find_section_for_address): New.
(crange_qsort_cmpb, crange_qsort_cmpl, crange_bsearch_cmpb,
crange_bsearch_cmpl): Move here from opcodes/sh64-dis.c.
(sh64_address_in_cranges): Move here from opcodes/sh64-dis.c. Use
bfd_malloc, not xmalloc.
(sh64_get_contents_type): Move here from opcodes/sh64-dis.c. Make
global.
* elf32-sh64.c (sh64_elf64_final_write_processing): New, (but
temporarily disabled) setting bit 0 on entry address.
(elf_backend_final_write_processing): Define.
2001-01-05 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh.c (sh_elf_howto_table) <R_SH_PT_16>: Adjust fields to
be a proper relocation for PTA and PTB rather than a marker.
<R_SH_IMMU5, R_SH_IMMS6, R_SH_IMMU6, R_SH_IMMS10, R_SH_IMMS10BY2,
R_SH_IMMS10BY4, R_SH_IMMS10BY8, R_SH_IMMS16, R_SH_IMMU16,
R_SH_IMM_LOW16, R_SH_IMM_LOW16_PCREL, R_SH_IMM_MEDLOW16,
R_SH_IMM_MEDLOW16_PCREL, R_SH_IMM_MEDHI16, R_SH_IMM_MEDHI16_PCREL,
R_SH_IMM_HI16, R_SH_IMM_HI16_PCREL, R_SH_64, R_SH_64_PCREL>:
Zero src_mask.
* elf64-sh64.c: Ditto.
(sh_elf64_relocate_section) <case R_SH_PT_16>: New case.
* elf32-sh64.c: Include opcodes/sh64-opc.h
(shmedia_prepare_reloc): Take a bfd_link_info pointer as first
argument. Drop const qualifiers from "bfd *" and "bfd_byte *"
parameters. No unused parameters. Caller changed.
<case R_SH_PT_16>: New case.
* Makefile.am (elf32-sh64.lo): Add dependency on sh64-opc.h.
* Makefile.in: Regenerate.
2000-12-30 Hans-Peter Nilsson <hpn@cygnus.com>
* elf64-sh64.c (sh64_elf64_fake_sections): Set SHF_SH5_ISA32 for
all code sections.
(sh_elf64_set_mach_from_flags): Change from EF_SH64 to EF_SH5.
(sh64_elf_merge_private_data): Ditto.
* elf32-sh64.c (sh64_elf_fake_sections): Use sh64_elf_section_data
to access stored section flags.
(sh64_elf_final_write_processing): Return immediately unless
called by linker. Use sh64_elf_section_data (cranges) to get size
of linker-generated cranges entries.
(sh64_elf_copy_private_data): Add missing "return true".
(sh64_elf_set_mach_from_flags): Change from EF_SH64 to EF_SH5.
(sh_elf64_merge_private_data): Ditto.
2000-12-19 Hans-Peter Nilsson <hpn@cygnus.com>
* elf64-sh64.c (sh64_elf64_fake_sections): New, copy of
elf64-sh64.c:sh64_elf_fake_sections.
(elf_backend_fake_sections): Define as sh64_elf64_fake_sections.
2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh64.c (sh64_elf_copy_private_data_internal): Delete.
(sh64_elf_final_write_processing): New.
(elf_backend_final_write_processing): Define.
(sh64_elf_fake_sections): Get header flags from tdata field.
(sh64_elf_copy_private_data): Do not call
sh64_elf_copy_private_data_internal, just copy e_flags field.
(sh64_elf_merge_private_data): Do not call
sh64_elf_copy_private_data_internal.
2000-12-12 Hans-Peter Nilsson <hpn@cygnus.com>
Remove EF_SH64_ABI64, let ELF size make difference.
Remove SH64-specific BFD section flag.
* elf32-sh64.c (sh64_elf_fake_sections): Recognize section as
containing SHmedia through elf_section_data (asect)->tdata
non-zero, not using a BFD section flag.
(sh64_elf_set_mach_from_flags): Don't recognize EF_SH64_ABI64.
(sh64_elf_merge_private_data): Similar.
(elf_backend_section_flags): Don't define.
(sh64_elf_backend_section_flags): Delete.
* elf64-sh64.c (sh_elf64_set_mach_from_flags): Recognize EF_SH64,
not EF_SH64_ABI64.
(sh_elf64_merge_private_data): Similar.
* section.c (Section flags definitions): Don't define
SEC_SH_ISA_SHMEDIA.
(bfd-in2.h): Regenerate.
2000-12-09 Hans-Peter Nilsson <hpn@cygnus.com>
Make DataLabel references work with partial linking.
* elf32-sh64.c: Fix formatting.
(sh64_elf_link_output_symbol_hook): New.
(elf_backend_link_output_symbol_hook): Define to
sh64_elf_link_output_symbol_hook.
(sh64_elf_add_symbol_hook): Make DataLabel symbol just global
undefined if partial linking. Adjust sanity check.
* elf64-sh64.c (sh64_elf64_link_output_symbol_hook): New.
(elf_backend_link_output_symbol_hook): Define to
sh64_elf64_link_output_symbol_hook.
(sh64_elf64_add_symbol_hook): Make DataLabel symbol just global
undefined if partial linking. Adjust sanity check.
2000-12-07 Hans-Peter Nilsson <hpn@cygnus.com>
Implement semantics for inter-file DataLabel references.
* elf64-sh64.c (DATALABEL_SUFFIX): Define.
(sh64_elf64_add_symbol_hook): New.
(sh_elf64_relocate_section): If passing an indirect symbol with
st_type STT_DATALABEL on the way to a symbol with st_other
STO_SH5_ISA32, do not bitor 1 to the relocation.
(elf_backend_add_symbol_hook): Define to
sh64_elf64_add_symbol_hook.
* elf64-sh32.c: Tweak comments.
(DATALABEL_SUFFIX): Define.
(sh64_elf_add_symbol_hook): New.
(elf_backend_add_symbol_hook): Define to sh64_elf_add_symbol_hook.
* elf32-sh.c (sh_elf_relocate_section): If passing an indirect
symbol with st_type STT_DATALABEL on the way to a symbol with
st_other STO_SH5_ISA32, do not bitor 1 to the relocation.
2000-12-05 Hans-Peter Nilsson <hpn@cygnus.com>
Pass through STT_DATALABEL.
* elf32-sh64.c (sh64_elf_get_symbol_type): New.
(elf_backend_get_symbol_type): Define.
* elf64-sh64.c (sh64_elf64_get_symbol_type): New.
(elf_backend_get_symbol_type): Define.
2000-11-30 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh64.c: Tweak comments.
(sh64_elf_copy_private_data_internal): Add prototype.
(bfd_elf32_bfd_set_private_flags): Define.
(sh64_elf_copy_private_data_internal): Compare machine name, not
textual BFD target name, to check whether to copy section flag
SHF_SH5_ISA32.
(sh64_elf_merge_private_data): Validize bfd_get_arch_size.
Tweak section-contents-type-mismatch message.
(shmedia_prepare_reloc): Add ATTRIBUTE_UNUSED markers.
Validize reloc-types.
* elf64-sh64.c: New file.
* targets.c (bfd_elf64_sh64_vec, bfd_elf64_sh64l_vec): Declare.
* Makefile.am (BFD64_BACKENDS): Add elf64-sh64.lo.
(BFD64_BACKENDS_CFILES): Add elf64-sh64.c.
Regenerate dependencies.
* Makefile.in: Regenerate.
* config.bfd (sh64-*-elf*): Add bfd_elf64_sh64_vec and
bfd_elf64_sh64l_vec.
* configure.in: Handle bfd_elf64_sh64_vec and
bfd_elf64_sh64l_vec.
* configure: Regenerate.
* po/POTFILES.in: Regenerate.
* po/bfd.pot: Regenerate.
2000-11-29 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh64.c (sh64_elf_set_mach_from_flags): Do not recognize
anything else but EF_SH64 and EF_SH64_ABI64.
(sh64_elf_merge_private_data): Emit error for anything else but
EF_SH64 and EF_SH64_ABI64.
* config.bfd: Remove bfd_elf32_shblin_vec and bfd_elf32_shlin_vec
from targ_selvecs.
* configure.in: Add cofflink.lo to bfd_elf32_sh64_vec and
bfd_elf32_sh64l_vec as a temporary measure.
* configure: Regenerate.
2000-11-27 Hans-Peter Nilsson <hpn@cygnus.com>
* cpu-sh.c (arch_info_struct): Include sh5 item
unconditionalized.
* config.bfd (sh64-*-elf*): Do not set targ_cflags.
Add targ_selvecs bfd_elf32_sh_vec, bfd_elf32_shl_vec,
bfd_elf32_shblin_vec and bfd_elf32_shlin_vec.
* elf32-sh64.c: Tweak comments.
(sh64_elf_set_mach_from_flags): Recognize all machine flags that
are proper subsets of SH64 as bfd_mach_sh5. Add EF_SH64_ABI64.
(sh64_elf_copy_private_data_internal): Wrap long line.
(sh64_elf_merge_private_data): Rewrite to allow objects from
SH64 subsets to be linked together.
(INCLUDE_SHMEDIA): Define.
* elf32-sh.c (sh_elf_relocate_section) <local symbol>:
Parenthesize plus-expression inside or-expression.
<global symbol>: Ditto.
(sh_elf_set_mach_from_flags): Remove code refusing
deleted EF_SH64_32BIT_ABI flag.
2000-11-26 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh.c (sh_elf_howto_table) <R_SH_IMM_LOW16_PCREL,
R_SH_IMM_MEDLOW16_PCREL, R_SH_IMM_MEDHI16_PCREL,
R_SH_IMM_HI16_PCREL, R_SH_64_PCREL>: Set pcrel_offset to true.
(sh_elf_relocate_section) <local symbol>: Or 1 in
calculation of relocation if sym->st_other & STO_SH5_ISA32.
<global symbol>: Ditto if h->other & STO_SH5_ISA32.
* elf32-sh64.c (shmedia_prepare_reloc): Add rel->r_addend to
relocation.
2000-11-24 Hans-Peter Nilsson <hpn@cygnus.com>
* Makefile.am (BFD32_BACKENDS): Add elf32-sh64.lo.
(BFD32_BACKENDS_CFILES): Add elf32-sh64.c.
Regenerate dependencies.
* Makefile.in: Regenerate.
* archures.c: Add bfd_mach_sh5.
* config.bfd: Map targ_cpu sh* to bfd_sh_arch.
Handle sh64-*-elf*. Set targ_cflags to -DINCLUDE_SHMEDIA.
* configure.in: Handle bfd_elf32_sh64_vec and bfd_elf32_sh64l_vec.
* configure: Regenerate.
* reloc.c (BFD_RELOC_SH_SHMEDIA_CODE, BFD_RELOC_SH_IMMU5,
BFD_RELOC_SH_IMMS6, BFD_RELOC_SH_IMMS6BY32, BFD_RELOC_SH_IMMU6,
BFD_RELOC_SH_IMMS10, BFD_RELOC_SH_IMMS10BY2,
BFD_RELOC_SH_IMMS10BY4, BFD_RELOC_SH_IMMS10BY8,
BFD_RELOC_SH_IMMS16, BFD_RELOC_SH_IMMU16, BFD_RELOC_SH_IMM_LOW16,
BFD_RELOC_SH_IMM_LOW16_PCREL, BFD_RELOC_SH_IMM_MEDLOW16,
BFD_RELOC_SH_IMM_MEDLOW16_PCREL, BFD_RELOC_SH_IMM_MEDHI16,
BFD_RELOC_SH_IMM_MEDHI16_PCREL, BFD_RELOC_SH_IMM_HI16,
BFD_RELOC_SH_IMM_HI16_PCREL, BFD_RELOC_SH_PT_16): New relocations.
* cpu-sh.c [INCLUDE_SHMEDIA] (arch_info_struct): Define and link
in item for SH5.
* elf32-sh.c [INCLUDE_SHMEDIA] (sh_elf_howto_table): Add howto items
for SHmedia relocs.
[INCLUDE_SHMEDIA] (sh_rel): Add mappings for SHmedia relocs.
[INCLUDE_SHMEDIA] (sh_elf_relocate_section) [default]: Call
shmedia_prepare_reloc, goto final_link_relocate if it returns
non-zero, else fail as before.
(sh_elf_set_mach_from_flags): Provide function only if not defined
as macro. Do not recognize objects with EF_SH64_32BIT_ABI set.
(sh_elf_set_private_flags): Provide function only if not defined
as a macro.
(sh_elf_copy_private_data): Similar.
(sh_elf_merge_private_data): Similar.
* section.c (SEC_SH_ISA_SHMEDIA): New.
* targets.c (bfd_elf32_sh64_vec, bfd_elf32_sh64l_vec): Declare.
* elf32-sh64.c: New file.
* libbfd.h: Regenerate.
* bfd-in2.h: Regenerate.
* po/POTFILES.in: Regenerate.
* po/bfd.pot: Regenerate.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.
2002-02-08 13:33:27 +08:00
|
|
|
#, c-format
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid "%s: %s symbol `%s' in %s is referenced by DSO"
|
Contribute sh64-elf.
2002-01-23 Alexandre Oliva <aoliva@redhat.com>
* reloc.c (R_SH_GOTPLT32, R_SH_GOT_LOW16, R_SH_GOT_MEDLOW16,
R_SH_GOT_MEDHI16, R_SH_GOT_HI16, R_SH_GOTPLT_LOW16,
R_SH_GOTPLT_MEDLOW16, R_SH_GOTPLT_MEDHI16, R_SH_GOTPLT_HI16,
R_SH_PLT_LOW16, R_SH_PLT_MEDLOW16, R_SH_PLT_MEDHI16,
R_SH_PLT_HI16, R_SH_GOTOFF_LOW16, R_SH_GOTOFF_MEDLOW16,
R_SH_GOTOFF_MEDHI16, R_SH_GOTOFF_HI16, R_SH_GOTPC_LOW16,
R_SH_GOTPC_MEDLOW16, R_SH_GOTPC_MEDHI16, R_SH_GOTPC_HI16,
R_SH_GOT10BY4, R_SH_GOTPLT10BY4, R_SH_GOT10BY8, R_SH_GOTPLT10BY8,
R_SH_COPY64, R_SH_GLOB_DAT64, R_SH_JMP_SLOT64, R_SH_RELATIVE64):
New relocs.
* libbfd.h, bfd-in2.h: Rebuilt.
* elf32-sh.c (sh_elf_howto_table): Define new relocs.
(sh_reloc_map): Map them.
(PLT_ENTRY_SIZE, elf_sh_plt0_entry_be, elf_sh_plt0_entry_le,
elf_sh_plt_entry_be, elf_sh_plt_entry_le, elf_sh_pic_plt_entry_be,
elf_sh_pic_plt_entry_le, elf_sh_plt0_entry, elf_sh_plt_entry,
elf_sh_pic_plt_entry, elf_sh_sizeof_plt, elf_sh_plt_plt0_offset,
elf_sh_plt0_gotplt_offset, elf_sh_plt_temp_offset,
elf_sh_plt_symbol_offset, elf_sh_plt_reloc_offset,
movi_shori_putval) [INCLUDE_SHMEDIA]: New.
(elf_sh_link_hash_entry) [INCLUDE_SHMEDIA]: Add
datalabel_got_offset.
(sh_elf_link_hash_newfunc): Initialize it.
(sh_elf_relocate_section): Augment the scope of
seen_stt_datalabel. Introduce GOTPLT support. Extend GOTPC, PLT,
GOT and GOTOFF handling to new SHmedia relocation types. Support
GOT_BIAS.
(sh_elf_check_relocs): Likewise.
(sh_elf_finish_dynamic_symbol) [TARGET_SHMEDIA]: Set up values in
PLT entries using movi_shori_putval. Support GOT_BIAS.
(sh_elf_finish_dynamic_sections): Likewise.
* elf32-sh64.c (shmedia_prepare_reloc): Do not add addend to
relocation, it's now done by the caller.
(GOT_BIAS): New.
* elf64-sh64.c (GOT_BIAS, PLT_ENTRY_SIZE, elf_sh64_sizeof_plt,
elf_sh64_plt_plt0_offset, elf_sh64_plt0_gotplt_offset,
elf_sh64_plt_temp_offset, elf_sh64_plt_symbol_offset,
elf_sh64_plt_reloc_offset, ELF_DYNAMIC_INTERPRETER,
elf_sh64_pcrel_relocs_copied, elf_sh64_link_hash_entry,
elf_sh64_link_hash_table, sh64_elf64_link_hash_traverse,
sh64_elf64_hash_table): New.
(sh_elf64_howto_table): Introduce new relocs.
(sh_elf64_info_to_howto): Accept new PIC relocs.
(sh_elf64_relocate_section): Augment the scope of
seen_stt_datalabel. Support new PIC relocs.
(sh_elf64_check_relocs): Support new PIC relocs.
(elf_sh64_plt0_entry_be, elf_sh64_plt0_entry_le,
elf_sh64_plt_entry_be, elf_sh64_plt_entry_le,
elf_sh64_pic_plt_entry_be, elf_sh64_pic_plt_entry_le,
elf_sh64_plt0_entry, elf_sh64_plt_entry, elf_sh64_pic_plt_entry,
sh64_elf64_link_hash_newfunc, sh64_elf64_link_hash_table_create,
movi_shori_putval, movi_3shori_putval,
sh64_elf64_create_dynamic_sections,
sh64_elf64_adjust_dynamic_symbol, sh64_elf64_discard_copies,
sh64_elf64_size_dynamic_sections,
sh64_elf64_finish_dynamic_symbol,
sh64_elf64_finish_dynamic_sections): New.
(elf_backend_create_dynamic-sections,
bfd_elf64_bfd_link_hash_table_create,
elf_backend_adjust_dynamic_symbol,
elf_backend_size_dynamic_sections,
elf_backend_finish_dynamic_symbol,
elf_backend_finish_dynamic_sections, elf_backend_want_got_plt,
elf_backend_plt_readonly, elf_backend_want_plt_sym,
elf_backend_got_header_size, elf_backend_plt_header_size):
Define.
2001-05-16 Alexandre Oliva <aoliva@redhat.com>
* elf32-sh.c: Renumbered and renamed some SH5 relocations to
match official numbers and names; moved unmaching ones to the
range 0xf2-0xff.
* elf32-sh64.c, elf64-sh64.c: Likewise.
2001-03-12 DJ Delorie <dj@redhat.com>
* elf32-sh.c (sh_elf_relax_section): Don't relax SHmedia
sections.
2001-03-12 DJ Delorie <dj@redhat.com>
* elf32-sh64.c (shmedia_prepare_reloc): Validate relocs that must
be aligned.
* elf64-sh64.c (sh_elf64_relocate_section): Ditto.
2001-01-14 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh64.c (bfd_elf32_bfd_copy_private_section_data): Define.
(sh64_elf_fake_sections): Set type to SHT_SH5_CR_SORTED for a
.cranges section with SEC_SORT_ENTRIES set.
(sh64_backend_section_from_shdr): Set SEC_SORT_ENTRIES on an
incoming sorted .cranges section.
(sh64_bfd_elf_copy_private_section_data): New.
(sh64_elf_final_write_processing): Only sort .cranges and modify
start address if called by linker.
2001-01-08 Ben Elliston <bje@redhat.com>
* elf32-sh64.c (sh64_elf_final_write_processing): Activate
Hans-Peter Nilsson's set bit 0 patch from 2001-01-06.
* elf64-sh64.c (sh64_elf64_final_write_processing): Ditto.
2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com>
* elf64-sh64.c (sh_elf64_howto_table): No open brace at start of
line. Add comments before all entries.
<R_SH_PT_16, R_SH_SHMEDIA_CODE>: Correct and clarify describing
comment.
(sh_elf64_reloc): Correct head comment.
(sh_elf64_relocate_section): Correct spacing.
<relocating for a local symbol>: Do not honour STO_SH5_ISA32;
instead call reloc_dangerous callback.
<case R_SH_SHMEDIA_CODE>: New case.
(sh_elf64_gc_mark_hook): Correct spacing.
(sh_elf64_check_relocs): Ditto.
* elf32-sh64.c (shmedia_prepare_reloc) <case R_SH_SHMEDIA_CODE>:
New case.
* elf32-sh.c: Correct #endif comments for #ifndef-wrapped
functions.
(sh_elf_howto_table) <R_SH_PT_16, R_SH_SHMEDIA_CODE>: Correct,
clarify describing comment. Add comments before all entries.
(sh_elf_relocate_section) <relocating for a local symbol>: Do not
honour STO_SH5_ISA32; instead call reloc_dangerous callback.
2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com>
Sort .cranges section in final link. Prepare to set bit 0 on
entry address.
* elf32-sh64.c (struct sh64_find_section_vma_data): New.
(sh64_elf_link_output_symbol_hook): Fix typo in prototype.
(sh64_elf_set_mach_from_flags): Set SEC_DEBUGGING on incoming
.cranges section.
(sh64_backend_section_from_shdr): New, to recognize
SHT_SH5_CR_SORTED on incoming .cranges section.
(elf_backend_section_from_shdr): Define.
(sh64_elf_final_write_processing): Sort outgoing .cranges
section. (New, temporarily disabled:) Set bit 0 on entry address
according to ISA type.
(sh64_find_section_for_address): New.
(crange_qsort_cmpb, crange_qsort_cmpl, crange_bsearch_cmpb,
crange_bsearch_cmpl): Move here from opcodes/sh64-dis.c.
(sh64_address_in_cranges): Move here from opcodes/sh64-dis.c. Use
bfd_malloc, not xmalloc.
(sh64_get_contents_type): Move here from opcodes/sh64-dis.c. Make
global.
* elf32-sh64.c (sh64_elf64_final_write_processing): New, (but
temporarily disabled) setting bit 0 on entry address.
(elf_backend_final_write_processing): Define.
2001-01-05 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh.c (sh_elf_howto_table) <R_SH_PT_16>: Adjust fields to
be a proper relocation for PTA and PTB rather than a marker.
<R_SH_IMMU5, R_SH_IMMS6, R_SH_IMMU6, R_SH_IMMS10, R_SH_IMMS10BY2,
R_SH_IMMS10BY4, R_SH_IMMS10BY8, R_SH_IMMS16, R_SH_IMMU16,
R_SH_IMM_LOW16, R_SH_IMM_LOW16_PCREL, R_SH_IMM_MEDLOW16,
R_SH_IMM_MEDLOW16_PCREL, R_SH_IMM_MEDHI16, R_SH_IMM_MEDHI16_PCREL,
R_SH_IMM_HI16, R_SH_IMM_HI16_PCREL, R_SH_64, R_SH_64_PCREL>:
Zero src_mask.
* elf64-sh64.c: Ditto.
(sh_elf64_relocate_section) <case R_SH_PT_16>: New case.
* elf32-sh64.c: Include opcodes/sh64-opc.h
(shmedia_prepare_reloc): Take a bfd_link_info pointer as first
argument. Drop const qualifiers from "bfd *" and "bfd_byte *"
parameters. No unused parameters. Caller changed.
<case R_SH_PT_16>: New case.
* Makefile.am (elf32-sh64.lo): Add dependency on sh64-opc.h.
* Makefile.in: Regenerate.
2000-12-30 Hans-Peter Nilsson <hpn@cygnus.com>
* elf64-sh64.c (sh64_elf64_fake_sections): Set SHF_SH5_ISA32 for
all code sections.
(sh_elf64_set_mach_from_flags): Change from EF_SH64 to EF_SH5.
(sh64_elf_merge_private_data): Ditto.
* elf32-sh64.c (sh64_elf_fake_sections): Use sh64_elf_section_data
to access stored section flags.
(sh64_elf_final_write_processing): Return immediately unless
called by linker. Use sh64_elf_section_data (cranges) to get size
of linker-generated cranges entries.
(sh64_elf_copy_private_data): Add missing "return true".
(sh64_elf_set_mach_from_flags): Change from EF_SH64 to EF_SH5.
(sh_elf64_merge_private_data): Ditto.
2000-12-19 Hans-Peter Nilsson <hpn@cygnus.com>
* elf64-sh64.c (sh64_elf64_fake_sections): New, copy of
elf64-sh64.c:sh64_elf_fake_sections.
(elf_backend_fake_sections): Define as sh64_elf64_fake_sections.
2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh64.c (sh64_elf_copy_private_data_internal): Delete.
(sh64_elf_final_write_processing): New.
(elf_backend_final_write_processing): Define.
(sh64_elf_fake_sections): Get header flags from tdata field.
(sh64_elf_copy_private_data): Do not call
sh64_elf_copy_private_data_internal, just copy e_flags field.
(sh64_elf_merge_private_data): Do not call
sh64_elf_copy_private_data_internal.
2000-12-12 Hans-Peter Nilsson <hpn@cygnus.com>
Remove EF_SH64_ABI64, let ELF size make difference.
Remove SH64-specific BFD section flag.
* elf32-sh64.c (sh64_elf_fake_sections): Recognize section as
containing SHmedia through elf_section_data (asect)->tdata
non-zero, not using a BFD section flag.
(sh64_elf_set_mach_from_flags): Don't recognize EF_SH64_ABI64.
(sh64_elf_merge_private_data): Similar.
(elf_backend_section_flags): Don't define.
(sh64_elf_backend_section_flags): Delete.
* elf64-sh64.c (sh_elf64_set_mach_from_flags): Recognize EF_SH64,
not EF_SH64_ABI64.
(sh_elf64_merge_private_data): Similar.
* section.c (Section flags definitions): Don't define
SEC_SH_ISA_SHMEDIA.
(bfd-in2.h): Regenerate.
2000-12-09 Hans-Peter Nilsson <hpn@cygnus.com>
Make DataLabel references work with partial linking.
* elf32-sh64.c: Fix formatting.
(sh64_elf_link_output_symbol_hook): New.
(elf_backend_link_output_symbol_hook): Define to
sh64_elf_link_output_symbol_hook.
(sh64_elf_add_symbol_hook): Make DataLabel symbol just global
undefined if partial linking. Adjust sanity check.
* elf64-sh64.c (sh64_elf64_link_output_symbol_hook): New.
(elf_backend_link_output_symbol_hook): Define to
sh64_elf64_link_output_symbol_hook.
(sh64_elf64_add_symbol_hook): Make DataLabel symbol just global
undefined if partial linking. Adjust sanity check.
2000-12-07 Hans-Peter Nilsson <hpn@cygnus.com>
Implement semantics for inter-file DataLabel references.
* elf64-sh64.c (DATALABEL_SUFFIX): Define.
(sh64_elf64_add_symbol_hook): New.
(sh_elf64_relocate_section): If passing an indirect symbol with
st_type STT_DATALABEL on the way to a symbol with st_other
STO_SH5_ISA32, do not bitor 1 to the relocation.
(elf_backend_add_symbol_hook): Define to
sh64_elf64_add_symbol_hook.
* elf64-sh32.c: Tweak comments.
(DATALABEL_SUFFIX): Define.
(sh64_elf_add_symbol_hook): New.
(elf_backend_add_symbol_hook): Define to sh64_elf_add_symbol_hook.
* elf32-sh.c (sh_elf_relocate_section): If passing an indirect
symbol with st_type STT_DATALABEL on the way to a symbol with
st_other STO_SH5_ISA32, do not bitor 1 to the relocation.
2000-12-05 Hans-Peter Nilsson <hpn@cygnus.com>
Pass through STT_DATALABEL.
* elf32-sh64.c (sh64_elf_get_symbol_type): New.
(elf_backend_get_symbol_type): Define.
* elf64-sh64.c (sh64_elf64_get_symbol_type): New.
(elf_backend_get_symbol_type): Define.
2000-11-30 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh64.c: Tweak comments.
(sh64_elf_copy_private_data_internal): Add prototype.
(bfd_elf32_bfd_set_private_flags): Define.
(sh64_elf_copy_private_data_internal): Compare machine name, not
textual BFD target name, to check whether to copy section flag
SHF_SH5_ISA32.
(sh64_elf_merge_private_data): Validize bfd_get_arch_size.
Tweak section-contents-type-mismatch message.
(shmedia_prepare_reloc): Add ATTRIBUTE_UNUSED markers.
Validize reloc-types.
* elf64-sh64.c: New file.
* targets.c (bfd_elf64_sh64_vec, bfd_elf64_sh64l_vec): Declare.
* Makefile.am (BFD64_BACKENDS): Add elf64-sh64.lo.
(BFD64_BACKENDS_CFILES): Add elf64-sh64.c.
Regenerate dependencies.
* Makefile.in: Regenerate.
* config.bfd (sh64-*-elf*): Add bfd_elf64_sh64_vec and
bfd_elf64_sh64l_vec.
* configure.in: Handle bfd_elf64_sh64_vec and
bfd_elf64_sh64l_vec.
* configure: Regenerate.
* po/POTFILES.in: Regenerate.
* po/bfd.pot: Regenerate.
2000-11-29 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh64.c (sh64_elf_set_mach_from_flags): Do not recognize
anything else but EF_SH64 and EF_SH64_ABI64.
(sh64_elf_merge_private_data): Emit error for anything else but
EF_SH64 and EF_SH64_ABI64.
* config.bfd: Remove bfd_elf32_shblin_vec and bfd_elf32_shlin_vec
from targ_selvecs.
* configure.in: Add cofflink.lo to bfd_elf32_sh64_vec and
bfd_elf32_sh64l_vec as a temporary measure.
* configure: Regenerate.
2000-11-27 Hans-Peter Nilsson <hpn@cygnus.com>
* cpu-sh.c (arch_info_struct): Include sh5 item
unconditionalized.
* config.bfd (sh64-*-elf*): Do not set targ_cflags.
Add targ_selvecs bfd_elf32_sh_vec, bfd_elf32_shl_vec,
bfd_elf32_shblin_vec and bfd_elf32_shlin_vec.
* elf32-sh64.c: Tweak comments.
(sh64_elf_set_mach_from_flags): Recognize all machine flags that
are proper subsets of SH64 as bfd_mach_sh5. Add EF_SH64_ABI64.
(sh64_elf_copy_private_data_internal): Wrap long line.
(sh64_elf_merge_private_data): Rewrite to allow objects from
SH64 subsets to be linked together.
(INCLUDE_SHMEDIA): Define.
* elf32-sh.c (sh_elf_relocate_section) <local symbol>:
Parenthesize plus-expression inside or-expression.
<global symbol>: Ditto.
(sh_elf_set_mach_from_flags): Remove code refusing
deleted EF_SH64_32BIT_ABI flag.
2000-11-26 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh.c (sh_elf_howto_table) <R_SH_IMM_LOW16_PCREL,
R_SH_IMM_MEDLOW16_PCREL, R_SH_IMM_MEDHI16_PCREL,
R_SH_IMM_HI16_PCREL, R_SH_64_PCREL>: Set pcrel_offset to true.
(sh_elf_relocate_section) <local symbol>: Or 1 in
calculation of relocation if sym->st_other & STO_SH5_ISA32.
<global symbol>: Ditto if h->other & STO_SH5_ISA32.
* elf32-sh64.c (shmedia_prepare_reloc): Add rel->r_addend to
relocation.
2000-11-24 Hans-Peter Nilsson <hpn@cygnus.com>
* Makefile.am (BFD32_BACKENDS): Add elf32-sh64.lo.
(BFD32_BACKENDS_CFILES): Add elf32-sh64.c.
Regenerate dependencies.
* Makefile.in: Regenerate.
* archures.c: Add bfd_mach_sh5.
* config.bfd: Map targ_cpu sh* to bfd_sh_arch.
Handle sh64-*-elf*. Set targ_cflags to -DINCLUDE_SHMEDIA.
* configure.in: Handle bfd_elf32_sh64_vec and bfd_elf32_sh64l_vec.
* configure: Regenerate.
* reloc.c (BFD_RELOC_SH_SHMEDIA_CODE, BFD_RELOC_SH_IMMU5,
BFD_RELOC_SH_IMMS6, BFD_RELOC_SH_IMMS6BY32, BFD_RELOC_SH_IMMU6,
BFD_RELOC_SH_IMMS10, BFD_RELOC_SH_IMMS10BY2,
BFD_RELOC_SH_IMMS10BY4, BFD_RELOC_SH_IMMS10BY8,
BFD_RELOC_SH_IMMS16, BFD_RELOC_SH_IMMU16, BFD_RELOC_SH_IMM_LOW16,
BFD_RELOC_SH_IMM_LOW16_PCREL, BFD_RELOC_SH_IMM_MEDLOW16,
BFD_RELOC_SH_IMM_MEDLOW16_PCREL, BFD_RELOC_SH_IMM_MEDHI16,
BFD_RELOC_SH_IMM_MEDHI16_PCREL, BFD_RELOC_SH_IMM_HI16,
BFD_RELOC_SH_IMM_HI16_PCREL, BFD_RELOC_SH_PT_16): New relocations.
* cpu-sh.c [INCLUDE_SHMEDIA] (arch_info_struct): Define and link
in item for SH5.
* elf32-sh.c [INCLUDE_SHMEDIA] (sh_elf_howto_table): Add howto items
for SHmedia relocs.
[INCLUDE_SHMEDIA] (sh_rel): Add mappings for SHmedia relocs.
[INCLUDE_SHMEDIA] (sh_elf_relocate_section) [default]: Call
shmedia_prepare_reloc, goto final_link_relocate if it returns
non-zero, else fail as before.
(sh_elf_set_mach_from_flags): Provide function only if not defined
as macro. Do not recognize objects with EF_SH64_32BIT_ABI set.
(sh_elf_set_private_flags): Provide function only if not defined
as a macro.
(sh_elf_copy_private_data): Similar.
(sh_elf_merge_private_data): Similar.
* section.c (SEC_SH_ISA_SHMEDIA): New.
* targets.c (bfd_elf32_sh64_vec, bfd_elf32_sh64l_vec): Declare.
* elf32-sh64.c: New file.
* libbfd.h: Regenerate.
* bfd-in2.h: Regenerate.
* po/POTFILES.in: Regenerate.
* po/bfd.pot: Regenerate.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.
2002-02-08 13:33:27 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: elflink.h:4564
|
Contribute sh64-elf.
2002-01-23 Alexandre Oliva <aoliva@redhat.com>
* reloc.c (R_SH_GOTPLT32, R_SH_GOT_LOW16, R_SH_GOT_MEDLOW16,
R_SH_GOT_MEDHI16, R_SH_GOT_HI16, R_SH_GOTPLT_LOW16,
R_SH_GOTPLT_MEDLOW16, R_SH_GOTPLT_MEDHI16, R_SH_GOTPLT_HI16,
R_SH_PLT_LOW16, R_SH_PLT_MEDLOW16, R_SH_PLT_MEDHI16,
R_SH_PLT_HI16, R_SH_GOTOFF_LOW16, R_SH_GOTOFF_MEDLOW16,
R_SH_GOTOFF_MEDHI16, R_SH_GOTOFF_HI16, R_SH_GOTPC_LOW16,
R_SH_GOTPC_MEDLOW16, R_SH_GOTPC_MEDHI16, R_SH_GOTPC_HI16,
R_SH_GOT10BY4, R_SH_GOTPLT10BY4, R_SH_GOT10BY8, R_SH_GOTPLT10BY8,
R_SH_COPY64, R_SH_GLOB_DAT64, R_SH_JMP_SLOT64, R_SH_RELATIVE64):
New relocs.
* libbfd.h, bfd-in2.h: Rebuilt.
* elf32-sh.c (sh_elf_howto_table): Define new relocs.
(sh_reloc_map): Map them.
(PLT_ENTRY_SIZE, elf_sh_plt0_entry_be, elf_sh_plt0_entry_le,
elf_sh_plt_entry_be, elf_sh_plt_entry_le, elf_sh_pic_plt_entry_be,
elf_sh_pic_plt_entry_le, elf_sh_plt0_entry, elf_sh_plt_entry,
elf_sh_pic_plt_entry, elf_sh_sizeof_plt, elf_sh_plt_plt0_offset,
elf_sh_plt0_gotplt_offset, elf_sh_plt_temp_offset,
elf_sh_plt_symbol_offset, elf_sh_plt_reloc_offset,
movi_shori_putval) [INCLUDE_SHMEDIA]: New.
(elf_sh_link_hash_entry) [INCLUDE_SHMEDIA]: Add
datalabel_got_offset.
(sh_elf_link_hash_newfunc): Initialize it.
(sh_elf_relocate_section): Augment the scope of
seen_stt_datalabel. Introduce GOTPLT support. Extend GOTPC, PLT,
GOT and GOTOFF handling to new SHmedia relocation types. Support
GOT_BIAS.
(sh_elf_check_relocs): Likewise.
(sh_elf_finish_dynamic_symbol) [TARGET_SHMEDIA]: Set up values in
PLT entries using movi_shori_putval. Support GOT_BIAS.
(sh_elf_finish_dynamic_sections): Likewise.
* elf32-sh64.c (shmedia_prepare_reloc): Do not add addend to
relocation, it's now done by the caller.
(GOT_BIAS): New.
* elf64-sh64.c (GOT_BIAS, PLT_ENTRY_SIZE, elf_sh64_sizeof_plt,
elf_sh64_plt_plt0_offset, elf_sh64_plt0_gotplt_offset,
elf_sh64_plt_temp_offset, elf_sh64_plt_symbol_offset,
elf_sh64_plt_reloc_offset, ELF_DYNAMIC_INTERPRETER,
elf_sh64_pcrel_relocs_copied, elf_sh64_link_hash_entry,
elf_sh64_link_hash_table, sh64_elf64_link_hash_traverse,
sh64_elf64_hash_table): New.
(sh_elf64_howto_table): Introduce new relocs.
(sh_elf64_info_to_howto): Accept new PIC relocs.
(sh_elf64_relocate_section): Augment the scope of
seen_stt_datalabel. Support new PIC relocs.
(sh_elf64_check_relocs): Support new PIC relocs.
(elf_sh64_plt0_entry_be, elf_sh64_plt0_entry_le,
elf_sh64_plt_entry_be, elf_sh64_plt_entry_le,
elf_sh64_pic_plt_entry_be, elf_sh64_pic_plt_entry_le,
elf_sh64_plt0_entry, elf_sh64_plt_entry, elf_sh64_pic_plt_entry,
sh64_elf64_link_hash_newfunc, sh64_elf64_link_hash_table_create,
movi_shori_putval, movi_3shori_putval,
sh64_elf64_create_dynamic_sections,
sh64_elf64_adjust_dynamic_symbol, sh64_elf64_discard_copies,
sh64_elf64_size_dynamic_sections,
sh64_elf64_finish_dynamic_symbol,
sh64_elf64_finish_dynamic_sections): New.
(elf_backend_create_dynamic-sections,
bfd_elf64_bfd_link_hash_table_create,
elf_backend_adjust_dynamic_symbol,
elf_backend_size_dynamic_sections,
elf_backend_finish_dynamic_symbol,
elf_backend_finish_dynamic_sections, elf_backend_want_got_plt,
elf_backend_plt_readonly, elf_backend_want_plt_sym,
elf_backend_got_header_size, elf_backend_plt_header_size):
Define.
2001-05-16 Alexandre Oliva <aoliva@redhat.com>
* elf32-sh.c: Renumbered and renamed some SH5 relocations to
match official numbers and names; moved unmaching ones to the
range 0xf2-0xff.
* elf32-sh64.c, elf64-sh64.c: Likewise.
2001-03-12 DJ Delorie <dj@redhat.com>
* elf32-sh.c (sh_elf_relax_section): Don't relax SHmedia
sections.
2001-03-12 DJ Delorie <dj@redhat.com>
* elf32-sh64.c (shmedia_prepare_reloc): Validate relocs that must
be aligned.
* elf64-sh64.c (sh_elf64_relocate_section): Ditto.
2001-01-14 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh64.c (bfd_elf32_bfd_copy_private_section_data): Define.
(sh64_elf_fake_sections): Set type to SHT_SH5_CR_SORTED for a
.cranges section with SEC_SORT_ENTRIES set.
(sh64_backend_section_from_shdr): Set SEC_SORT_ENTRIES on an
incoming sorted .cranges section.
(sh64_bfd_elf_copy_private_section_data): New.
(sh64_elf_final_write_processing): Only sort .cranges and modify
start address if called by linker.
2001-01-08 Ben Elliston <bje@redhat.com>
* elf32-sh64.c (sh64_elf_final_write_processing): Activate
Hans-Peter Nilsson's set bit 0 patch from 2001-01-06.
* elf64-sh64.c (sh64_elf64_final_write_processing): Ditto.
2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com>
* elf64-sh64.c (sh_elf64_howto_table): No open brace at start of
line. Add comments before all entries.
<R_SH_PT_16, R_SH_SHMEDIA_CODE>: Correct and clarify describing
comment.
(sh_elf64_reloc): Correct head comment.
(sh_elf64_relocate_section): Correct spacing.
<relocating for a local symbol>: Do not honour STO_SH5_ISA32;
instead call reloc_dangerous callback.
<case R_SH_SHMEDIA_CODE>: New case.
(sh_elf64_gc_mark_hook): Correct spacing.
(sh_elf64_check_relocs): Ditto.
* elf32-sh64.c (shmedia_prepare_reloc) <case R_SH_SHMEDIA_CODE>:
New case.
* elf32-sh.c: Correct #endif comments for #ifndef-wrapped
functions.
(sh_elf_howto_table) <R_SH_PT_16, R_SH_SHMEDIA_CODE>: Correct,
clarify describing comment. Add comments before all entries.
(sh_elf_relocate_section) <relocating for a local symbol>: Do not
honour STO_SH5_ISA32; instead call reloc_dangerous callback.
2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com>
Sort .cranges section in final link. Prepare to set bit 0 on
entry address.
* elf32-sh64.c (struct sh64_find_section_vma_data): New.
(sh64_elf_link_output_symbol_hook): Fix typo in prototype.
(sh64_elf_set_mach_from_flags): Set SEC_DEBUGGING on incoming
.cranges section.
(sh64_backend_section_from_shdr): New, to recognize
SHT_SH5_CR_SORTED on incoming .cranges section.
(elf_backend_section_from_shdr): Define.
(sh64_elf_final_write_processing): Sort outgoing .cranges
section. (New, temporarily disabled:) Set bit 0 on entry address
according to ISA type.
(sh64_find_section_for_address): New.
(crange_qsort_cmpb, crange_qsort_cmpl, crange_bsearch_cmpb,
crange_bsearch_cmpl): Move here from opcodes/sh64-dis.c.
(sh64_address_in_cranges): Move here from opcodes/sh64-dis.c. Use
bfd_malloc, not xmalloc.
(sh64_get_contents_type): Move here from opcodes/sh64-dis.c. Make
global.
* elf32-sh64.c (sh64_elf64_final_write_processing): New, (but
temporarily disabled) setting bit 0 on entry address.
(elf_backend_final_write_processing): Define.
2001-01-05 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh.c (sh_elf_howto_table) <R_SH_PT_16>: Adjust fields to
be a proper relocation for PTA and PTB rather than a marker.
<R_SH_IMMU5, R_SH_IMMS6, R_SH_IMMU6, R_SH_IMMS10, R_SH_IMMS10BY2,
R_SH_IMMS10BY4, R_SH_IMMS10BY8, R_SH_IMMS16, R_SH_IMMU16,
R_SH_IMM_LOW16, R_SH_IMM_LOW16_PCREL, R_SH_IMM_MEDLOW16,
R_SH_IMM_MEDLOW16_PCREL, R_SH_IMM_MEDHI16, R_SH_IMM_MEDHI16_PCREL,
R_SH_IMM_HI16, R_SH_IMM_HI16_PCREL, R_SH_64, R_SH_64_PCREL>:
Zero src_mask.
* elf64-sh64.c: Ditto.
(sh_elf64_relocate_section) <case R_SH_PT_16>: New case.
* elf32-sh64.c: Include opcodes/sh64-opc.h
(shmedia_prepare_reloc): Take a bfd_link_info pointer as first
argument. Drop const qualifiers from "bfd *" and "bfd_byte *"
parameters. No unused parameters. Caller changed.
<case R_SH_PT_16>: New case.
* Makefile.am (elf32-sh64.lo): Add dependency on sh64-opc.h.
* Makefile.in: Regenerate.
2000-12-30 Hans-Peter Nilsson <hpn@cygnus.com>
* elf64-sh64.c (sh64_elf64_fake_sections): Set SHF_SH5_ISA32 for
all code sections.
(sh_elf64_set_mach_from_flags): Change from EF_SH64 to EF_SH5.
(sh64_elf_merge_private_data): Ditto.
* elf32-sh64.c (sh64_elf_fake_sections): Use sh64_elf_section_data
to access stored section flags.
(sh64_elf_final_write_processing): Return immediately unless
called by linker. Use sh64_elf_section_data (cranges) to get size
of linker-generated cranges entries.
(sh64_elf_copy_private_data): Add missing "return true".
(sh64_elf_set_mach_from_flags): Change from EF_SH64 to EF_SH5.
(sh_elf64_merge_private_data): Ditto.
2000-12-19 Hans-Peter Nilsson <hpn@cygnus.com>
* elf64-sh64.c (sh64_elf64_fake_sections): New, copy of
elf64-sh64.c:sh64_elf_fake_sections.
(elf_backend_fake_sections): Define as sh64_elf64_fake_sections.
2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh64.c (sh64_elf_copy_private_data_internal): Delete.
(sh64_elf_final_write_processing): New.
(elf_backend_final_write_processing): Define.
(sh64_elf_fake_sections): Get header flags from tdata field.
(sh64_elf_copy_private_data): Do not call
sh64_elf_copy_private_data_internal, just copy e_flags field.
(sh64_elf_merge_private_data): Do not call
sh64_elf_copy_private_data_internal.
2000-12-12 Hans-Peter Nilsson <hpn@cygnus.com>
Remove EF_SH64_ABI64, let ELF size make difference.
Remove SH64-specific BFD section flag.
* elf32-sh64.c (sh64_elf_fake_sections): Recognize section as
containing SHmedia through elf_section_data (asect)->tdata
non-zero, not using a BFD section flag.
(sh64_elf_set_mach_from_flags): Don't recognize EF_SH64_ABI64.
(sh64_elf_merge_private_data): Similar.
(elf_backend_section_flags): Don't define.
(sh64_elf_backend_section_flags): Delete.
* elf64-sh64.c (sh_elf64_set_mach_from_flags): Recognize EF_SH64,
not EF_SH64_ABI64.
(sh_elf64_merge_private_data): Similar.
* section.c (Section flags definitions): Don't define
SEC_SH_ISA_SHMEDIA.
(bfd-in2.h): Regenerate.
2000-12-09 Hans-Peter Nilsson <hpn@cygnus.com>
Make DataLabel references work with partial linking.
* elf32-sh64.c: Fix formatting.
(sh64_elf_link_output_symbol_hook): New.
(elf_backend_link_output_symbol_hook): Define to
sh64_elf_link_output_symbol_hook.
(sh64_elf_add_symbol_hook): Make DataLabel symbol just global
undefined if partial linking. Adjust sanity check.
* elf64-sh64.c (sh64_elf64_link_output_symbol_hook): New.
(elf_backend_link_output_symbol_hook): Define to
sh64_elf64_link_output_symbol_hook.
(sh64_elf64_add_symbol_hook): Make DataLabel symbol just global
undefined if partial linking. Adjust sanity check.
2000-12-07 Hans-Peter Nilsson <hpn@cygnus.com>
Implement semantics for inter-file DataLabel references.
* elf64-sh64.c (DATALABEL_SUFFIX): Define.
(sh64_elf64_add_symbol_hook): New.
(sh_elf64_relocate_section): If passing an indirect symbol with
st_type STT_DATALABEL on the way to a symbol with st_other
STO_SH5_ISA32, do not bitor 1 to the relocation.
(elf_backend_add_symbol_hook): Define to
sh64_elf64_add_symbol_hook.
* elf64-sh32.c: Tweak comments.
(DATALABEL_SUFFIX): Define.
(sh64_elf_add_symbol_hook): New.
(elf_backend_add_symbol_hook): Define to sh64_elf_add_symbol_hook.
* elf32-sh.c (sh_elf_relocate_section): If passing an indirect
symbol with st_type STT_DATALABEL on the way to a symbol with
st_other STO_SH5_ISA32, do not bitor 1 to the relocation.
2000-12-05 Hans-Peter Nilsson <hpn@cygnus.com>
Pass through STT_DATALABEL.
* elf32-sh64.c (sh64_elf_get_symbol_type): New.
(elf_backend_get_symbol_type): Define.
* elf64-sh64.c (sh64_elf64_get_symbol_type): New.
(elf_backend_get_symbol_type): Define.
2000-11-30 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh64.c: Tweak comments.
(sh64_elf_copy_private_data_internal): Add prototype.
(bfd_elf32_bfd_set_private_flags): Define.
(sh64_elf_copy_private_data_internal): Compare machine name, not
textual BFD target name, to check whether to copy section flag
SHF_SH5_ISA32.
(sh64_elf_merge_private_data): Validize bfd_get_arch_size.
Tweak section-contents-type-mismatch message.
(shmedia_prepare_reloc): Add ATTRIBUTE_UNUSED markers.
Validize reloc-types.
* elf64-sh64.c: New file.
* targets.c (bfd_elf64_sh64_vec, bfd_elf64_sh64l_vec): Declare.
* Makefile.am (BFD64_BACKENDS): Add elf64-sh64.lo.
(BFD64_BACKENDS_CFILES): Add elf64-sh64.c.
Regenerate dependencies.
* Makefile.in: Regenerate.
* config.bfd (sh64-*-elf*): Add bfd_elf64_sh64_vec and
bfd_elf64_sh64l_vec.
* configure.in: Handle bfd_elf64_sh64_vec and
bfd_elf64_sh64l_vec.
* configure: Regenerate.
* po/POTFILES.in: Regenerate.
* po/bfd.pot: Regenerate.
2000-11-29 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh64.c (sh64_elf_set_mach_from_flags): Do not recognize
anything else but EF_SH64 and EF_SH64_ABI64.
(sh64_elf_merge_private_data): Emit error for anything else but
EF_SH64 and EF_SH64_ABI64.
* config.bfd: Remove bfd_elf32_shblin_vec and bfd_elf32_shlin_vec
from targ_selvecs.
* configure.in: Add cofflink.lo to bfd_elf32_sh64_vec and
bfd_elf32_sh64l_vec as a temporary measure.
* configure: Regenerate.
2000-11-27 Hans-Peter Nilsson <hpn@cygnus.com>
* cpu-sh.c (arch_info_struct): Include sh5 item
unconditionalized.
* config.bfd (sh64-*-elf*): Do not set targ_cflags.
Add targ_selvecs bfd_elf32_sh_vec, bfd_elf32_shl_vec,
bfd_elf32_shblin_vec and bfd_elf32_shlin_vec.
* elf32-sh64.c: Tweak comments.
(sh64_elf_set_mach_from_flags): Recognize all machine flags that
are proper subsets of SH64 as bfd_mach_sh5. Add EF_SH64_ABI64.
(sh64_elf_copy_private_data_internal): Wrap long line.
(sh64_elf_merge_private_data): Rewrite to allow objects from
SH64 subsets to be linked together.
(INCLUDE_SHMEDIA): Define.
* elf32-sh.c (sh_elf_relocate_section) <local symbol>:
Parenthesize plus-expression inside or-expression.
<global symbol>: Ditto.
(sh_elf_set_mach_from_flags): Remove code refusing
deleted EF_SH64_32BIT_ABI flag.
2000-11-26 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh.c (sh_elf_howto_table) <R_SH_IMM_LOW16_PCREL,
R_SH_IMM_MEDLOW16_PCREL, R_SH_IMM_MEDHI16_PCREL,
R_SH_IMM_HI16_PCREL, R_SH_64_PCREL>: Set pcrel_offset to true.
(sh_elf_relocate_section) <local symbol>: Or 1 in
calculation of relocation if sym->st_other & STO_SH5_ISA32.
<global symbol>: Ditto if h->other & STO_SH5_ISA32.
* elf32-sh64.c (shmedia_prepare_reloc): Add rel->r_addend to
relocation.
2000-11-24 Hans-Peter Nilsson <hpn@cygnus.com>
* Makefile.am (BFD32_BACKENDS): Add elf32-sh64.lo.
(BFD32_BACKENDS_CFILES): Add elf32-sh64.c.
Regenerate dependencies.
* Makefile.in: Regenerate.
* archures.c: Add bfd_mach_sh5.
* config.bfd: Map targ_cpu sh* to bfd_sh_arch.
Handle sh64-*-elf*. Set targ_cflags to -DINCLUDE_SHMEDIA.
* configure.in: Handle bfd_elf32_sh64_vec and bfd_elf32_sh64l_vec.
* configure: Regenerate.
* reloc.c (BFD_RELOC_SH_SHMEDIA_CODE, BFD_RELOC_SH_IMMU5,
BFD_RELOC_SH_IMMS6, BFD_RELOC_SH_IMMS6BY32, BFD_RELOC_SH_IMMU6,
BFD_RELOC_SH_IMMS10, BFD_RELOC_SH_IMMS10BY2,
BFD_RELOC_SH_IMMS10BY4, BFD_RELOC_SH_IMMS10BY8,
BFD_RELOC_SH_IMMS16, BFD_RELOC_SH_IMMU16, BFD_RELOC_SH_IMM_LOW16,
BFD_RELOC_SH_IMM_LOW16_PCREL, BFD_RELOC_SH_IMM_MEDLOW16,
BFD_RELOC_SH_IMM_MEDLOW16_PCREL, BFD_RELOC_SH_IMM_MEDHI16,
BFD_RELOC_SH_IMM_MEDHI16_PCREL, BFD_RELOC_SH_IMM_HI16,
BFD_RELOC_SH_IMM_HI16_PCREL, BFD_RELOC_SH_PT_16): New relocations.
* cpu-sh.c [INCLUDE_SHMEDIA] (arch_info_struct): Define and link
in item for SH5.
* elf32-sh.c [INCLUDE_SHMEDIA] (sh_elf_howto_table): Add howto items
for SHmedia relocs.
[INCLUDE_SHMEDIA] (sh_rel): Add mappings for SHmedia relocs.
[INCLUDE_SHMEDIA] (sh_elf_relocate_section) [default]: Call
shmedia_prepare_reloc, goto final_link_relocate if it returns
non-zero, else fail as before.
(sh_elf_set_mach_from_flags): Provide function only if not defined
as macro. Do not recognize objects with EF_SH64_32BIT_ABI set.
(sh_elf_set_private_flags): Provide function only if not defined
as a macro.
(sh_elf_copy_private_data): Similar.
(sh_elf_merge_private_data): Similar.
* section.c (SEC_SH_ISA_SHMEDIA): New.
* targets.c (bfd_elf32_sh64_vec, bfd_elf32_sh64l_vec): Declare.
* elf32-sh64.c: New file.
* libbfd.h: Regenerate.
* bfd-in2.h: Regenerate.
* po/POTFILES.in: Regenerate.
* po/bfd.pot: Regenerate.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.
2002-02-08 13:33:27 +08:00
|
|
|
#, c-format
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid "%s: could not find output section %s for input section %s"
|
Contribute sh64-elf.
2002-01-23 Alexandre Oliva <aoliva@redhat.com>
* reloc.c (R_SH_GOTPLT32, R_SH_GOT_LOW16, R_SH_GOT_MEDLOW16,
R_SH_GOT_MEDHI16, R_SH_GOT_HI16, R_SH_GOTPLT_LOW16,
R_SH_GOTPLT_MEDLOW16, R_SH_GOTPLT_MEDHI16, R_SH_GOTPLT_HI16,
R_SH_PLT_LOW16, R_SH_PLT_MEDLOW16, R_SH_PLT_MEDHI16,
R_SH_PLT_HI16, R_SH_GOTOFF_LOW16, R_SH_GOTOFF_MEDLOW16,
R_SH_GOTOFF_MEDHI16, R_SH_GOTOFF_HI16, R_SH_GOTPC_LOW16,
R_SH_GOTPC_MEDLOW16, R_SH_GOTPC_MEDHI16, R_SH_GOTPC_HI16,
R_SH_GOT10BY4, R_SH_GOTPLT10BY4, R_SH_GOT10BY8, R_SH_GOTPLT10BY8,
R_SH_COPY64, R_SH_GLOB_DAT64, R_SH_JMP_SLOT64, R_SH_RELATIVE64):
New relocs.
* libbfd.h, bfd-in2.h: Rebuilt.
* elf32-sh.c (sh_elf_howto_table): Define new relocs.
(sh_reloc_map): Map them.
(PLT_ENTRY_SIZE, elf_sh_plt0_entry_be, elf_sh_plt0_entry_le,
elf_sh_plt_entry_be, elf_sh_plt_entry_le, elf_sh_pic_plt_entry_be,
elf_sh_pic_plt_entry_le, elf_sh_plt0_entry, elf_sh_plt_entry,
elf_sh_pic_plt_entry, elf_sh_sizeof_plt, elf_sh_plt_plt0_offset,
elf_sh_plt0_gotplt_offset, elf_sh_plt_temp_offset,
elf_sh_plt_symbol_offset, elf_sh_plt_reloc_offset,
movi_shori_putval) [INCLUDE_SHMEDIA]: New.
(elf_sh_link_hash_entry) [INCLUDE_SHMEDIA]: Add
datalabel_got_offset.
(sh_elf_link_hash_newfunc): Initialize it.
(sh_elf_relocate_section): Augment the scope of
seen_stt_datalabel. Introduce GOTPLT support. Extend GOTPC, PLT,
GOT and GOTOFF handling to new SHmedia relocation types. Support
GOT_BIAS.
(sh_elf_check_relocs): Likewise.
(sh_elf_finish_dynamic_symbol) [TARGET_SHMEDIA]: Set up values in
PLT entries using movi_shori_putval. Support GOT_BIAS.
(sh_elf_finish_dynamic_sections): Likewise.
* elf32-sh64.c (shmedia_prepare_reloc): Do not add addend to
relocation, it's now done by the caller.
(GOT_BIAS): New.
* elf64-sh64.c (GOT_BIAS, PLT_ENTRY_SIZE, elf_sh64_sizeof_plt,
elf_sh64_plt_plt0_offset, elf_sh64_plt0_gotplt_offset,
elf_sh64_plt_temp_offset, elf_sh64_plt_symbol_offset,
elf_sh64_plt_reloc_offset, ELF_DYNAMIC_INTERPRETER,
elf_sh64_pcrel_relocs_copied, elf_sh64_link_hash_entry,
elf_sh64_link_hash_table, sh64_elf64_link_hash_traverse,
sh64_elf64_hash_table): New.
(sh_elf64_howto_table): Introduce new relocs.
(sh_elf64_info_to_howto): Accept new PIC relocs.
(sh_elf64_relocate_section): Augment the scope of
seen_stt_datalabel. Support new PIC relocs.
(sh_elf64_check_relocs): Support new PIC relocs.
(elf_sh64_plt0_entry_be, elf_sh64_plt0_entry_le,
elf_sh64_plt_entry_be, elf_sh64_plt_entry_le,
elf_sh64_pic_plt_entry_be, elf_sh64_pic_plt_entry_le,
elf_sh64_plt0_entry, elf_sh64_plt_entry, elf_sh64_pic_plt_entry,
sh64_elf64_link_hash_newfunc, sh64_elf64_link_hash_table_create,
movi_shori_putval, movi_3shori_putval,
sh64_elf64_create_dynamic_sections,
sh64_elf64_adjust_dynamic_symbol, sh64_elf64_discard_copies,
sh64_elf64_size_dynamic_sections,
sh64_elf64_finish_dynamic_symbol,
sh64_elf64_finish_dynamic_sections): New.
(elf_backend_create_dynamic-sections,
bfd_elf64_bfd_link_hash_table_create,
elf_backend_adjust_dynamic_symbol,
elf_backend_size_dynamic_sections,
elf_backend_finish_dynamic_symbol,
elf_backend_finish_dynamic_sections, elf_backend_want_got_plt,
elf_backend_plt_readonly, elf_backend_want_plt_sym,
elf_backend_got_header_size, elf_backend_plt_header_size):
Define.
2001-05-16 Alexandre Oliva <aoliva@redhat.com>
* elf32-sh.c: Renumbered and renamed some SH5 relocations to
match official numbers and names; moved unmaching ones to the
range 0xf2-0xff.
* elf32-sh64.c, elf64-sh64.c: Likewise.
2001-03-12 DJ Delorie <dj@redhat.com>
* elf32-sh.c (sh_elf_relax_section): Don't relax SHmedia
sections.
2001-03-12 DJ Delorie <dj@redhat.com>
* elf32-sh64.c (shmedia_prepare_reloc): Validate relocs that must
be aligned.
* elf64-sh64.c (sh_elf64_relocate_section): Ditto.
2001-01-14 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh64.c (bfd_elf32_bfd_copy_private_section_data): Define.
(sh64_elf_fake_sections): Set type to SHT_SH5_CR_SORTED for a
.cranges section with SEC_SORT_ENTRIES set.
(sh64_backend_section_from_shdr): Set SEC_SORT_ENTRIES on an
incoming sorted .cranges section.
(sh64_bfd_elf_copy_private_section_data): New.
(sh64_elf_final_write_processing): Only sort .cranges and modify
start address if called by linker.
2001-01-08 Ben Elliston <bje@redhat.com>
* elf32-sh64.c (sh64_elf_final_write_processing): Activate
Hans-Peter Nilsson's set bit 0 patch from 2001-01-06.
* elf64-sh64.c (sh64_elf64_final_write_processing): Ditto.
2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com>
* elf64-sh64.c (sh_elf64_howto_table): No open brace at start of
line. Add comments before all entries.
<R_SH_PT_16, R_SH_SHMEDIA_CODE>: Correct and clarify describing
comment.
(sh_elf64_reloc): Correct head comment.
(sh_elf64_relocate_section): Correct spacing.
<relocating for a local symbol>: Do not honour STO_SH5_ISA32;
instead call reloc_dangerous callback.
<case R_SH_SHMEDIA_CODE>: New case.
(sh_elf64_gc_mark_hook): Correct spacing.
(sh_elf64_check_relocs): Ditto.
* elf32-sh64.c (shmedia_prepare_reloc) <case R_SH_SHMEDIA_CODE>:
New case.
* elf32-sh.c: Correct #endif comments for #ifndef-wrapped
functions.
(sh_elf_howto_table) <R_SH_PT_16, R_SH_SHMEDIA_CODE>: Correct,
clarify describing comment. Add comments before all entries.
(sh_elf_relocate_section) <relocating for a local symbol>: Do not
honour STO_SH5_ISA32; instead call reloc_dangerous callback.
2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com>
Sort .cranges section in final link. Prepare to set bit 0 on
entry address.
* elf32-sh64.c (struct sh64_find_section_vma_data): New.
(sh64_elf_link_output_symbol_hook): Fix typo in prototype.
(sh64_elf_set_mach_from_flags): Set SEC_DEBUGGING on incoming
.cranges section.
(sh64_backend_section_from_shdr): New, to recognize
SHT_SH5_CR_SORTED on incoming .cranges section.
(elf_backend_section_from_shdr): Define.
(sh64_elf_final_write_processing): Sort outgoing .cranges
section. (New, temporarily disabled:) Set bit 0 on entry address
according to ISA type.
(sh64_find_section_for_address): New.
(crange_qsort_cmpb, crange_qsort_cmpl, crange_bsearch_cmpb,
crange_bsearch_cmpl): Move here from opcodes/sh64-dis.c.
(sh64_address_in_cranges): Move here from opcodes/sh64-dis.c. Use
bfd_malloc, not xmalloc.
(sh64_get_contents_type): Move here from opcodes/sh64-dis.c. Make
global.
* elf32-sh64.c (sh64_elf64_final_write_processing): New, (but
temporarily disabled) setting bit 0 on entry address.
(elf_backend_final_write_processing): Define.
2001-01-05 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh.c (sh_elf_howto_table) <R_SH_PT_16>: Adjust fields to
be a proper relocation for PTA and PTB rather than a marker.
<R_SH_IMMU5, R_SH_IMMS6, R_SH_IMMU6, R_SH_IMMS10, R_SH_IMMS10BY2,
R_SH_IMMS10BY4, R_SH_IMMS10BY8, R_SH_IMMS16, R_SH_IMMU16,
R_SH_IMM_LOW16, R_SH_IMM_LOW16_PCREL, R_SH_IMM_MEDLOW16,
R_SH_IMM_MEDLOW16_PCREL, R_SH_IMM_MEDHI16, R_SH_IMM_MEDHI16_PCREL,
R_SH_IMM_HI16, R_SH_IMM_HI16_PCREL, R_SH_64, R_SH_64_PCREL>:
Zero src_mask.
* elf64-sh64.c: Ditto.
(sh_elf64_relocate_section) <case R_SH_PT_16>: New case.
* elf32-sh64.c: Include opcodes/sh64-opc.h
(shmedia_prepare_reloc): Take a bfd_link_info pointer as first
argument. Drop const qualifiers from "bfd *" and "bfd_byte *"
parameters. No unused parameters. Caller changed.
<case R_SH_PT_16>: New case.
* Makefile.am (elf32-sh64.lo): Add dependency on sh64-opc.h.
* Makefile.in: Regenerate.
2000-12-30 Hans-Peter Nilsson <hpn@cygnus.com>
* elf64-sh64.c (sh64_elf64_fake_sections): Set SHF_SH5_ISA32 for
all code sections.
(sh_elf64_set_mach_from_flags): Change from EF_SH64 to EF_SH5.
(sh64_elf_merge_private_data): Ditto.
* elf32-sh64.c (sh64_elf_fake_sections): Use sh64_elf_section_data
to access stored section flags.
(sh64_elf_final_write_processing): Return immediately unless
called by linker. Use sh64_elf_section_data (cranges) to get size
of linker-generated cranges entries.
(sh64_elf_copy_private_data): Add missing "return true".
(sh64_elf_set_mach_from_flags): Change from EF_SH64 to EF_SH5.
(sh_elf64_merge_private_data): Ditto.
2000-12-19 Hans-Peter Nilsson <hpn@cygnus.com>
* elf64-sh64.c (sh64_elf64_fake_sections): New, copy of
elf64-sh64.c:sh64_elf_fake_sections.
(elf_backend_fake_sections): Define as sh64_elf64_fake_sections.
2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh64.c (sh64_elf_copy_private_data_internal): Delete.
(sh64_elf_final_write_processing): New.
(elf_backend_final_write_processing): Define.
(sh64_elf_fake_sections): Get header flags from tdata field.
(sh64_elf_copy_private_data): Do not call
sh64_elf_copy_private_data_internal, just copy e_flags field.
(sh64_elf_merge_private_data): Do not call
sh64_elf_copy_private_data_internal.
2000-12-12 Hans-Peter Nilsson <hpn@cygnus.com>
Remove EF_SH64_ABI64, let ELF size make difference.
Remove SH64-specific BFD section flag.
* elf32-sh64.c (sh64_elf_fake_sections): Recognize section as
containing SHmedia through elf_section_data (asect)->tdata
non-zero, not using a BFD section flag.
(sh64_elf_set_mach_from_flags): Don't recognize EF_SH64_ABI64.
(sh64_elf_merge_private_data): Similar.
(elf_backend_section_flags): Don't define.
(sh64_elf_backend_section_flags): Delete.
* elf64-sh64.c (sh_elf64_set_mach_from_flags): Recognize EF_SH64,
not EF_SH64_ABI64.
(sh_elf64_merge_private_data): Similar.
* section.c (Section flags definitions): Don't define
SEC_SH_ISA_SHMEDIA.
(bfd-in2.h): Regenerate.
2000-12-09 Hans-Peter Nilsson <hpn@cygnus.com>
Make DataLabel references work with partial linking.
* elf32-sh64.c: Fix formatting.
(sh64_elf_link_output_symbol_hook): New.
(elf_backend_link_output_symbol_hook): Define to
sh64_elf_link_output_symbol_hook.
(sh64_elf_add_symbol_hook): Make DataLabel symbol just global
undefined if partial linking. Adjust sanity check.
* elf64-sh64.c (sh64_elf64_link_output_symbol_hook): New.
(elf_backend_link_output_symbol_hook): Define to
sh64_elf64_link_output_symbol_hook.
(sh64_elf64_add_symbol_hook): Make DataLabel symbol just global
undefined if partial linking. Adjust sanity check.
2000-12-07 Hans-Peter Nilsson <hpn@cygnus.com>
Implement semantics for inter-file DataLabel references.
* elf64-sh64.c (DATALABEL_SUFFIX): Define.
(sh64_elf64_add_symbol_hook): New.
(sh_elf64_relocate_section): If passing an indirect symbol with
st_type STT_DATALABEL on the way to a symbol with st_other
STO_SH5_ISA32, do not bitor 1 to the relocation.
(elf_backend_add_symbol_hook): Define to
sh64_elf64_add_symbol_hook.
* elf64-sh32.c: Tweak comments.
(DATALABEL_SUFFIX): Define.
(sh64_elf_add_symbol_hook): New.
(elf_backend_add_symbol_hook): Define to sh64_elf_add_symbol_hook.
* elf32-sh.c (sh_elf_relocate_section): If passing an indirect
symbol with st_type STT_DATALABEL on the way to a symbol with
st_other STO_SH5_ISA32, do not bitor 1 to the relocation.
2000-12-05 Hans-Peter Nilsson <hpn@cygnus.com>
Pass through STT_DATALABEL.
* elf32-sh64.c (sh64_elf_get_symbol_type): New.
(elf_backend_get_symbol_type): Define.
* elf64-sh64.c (sh64_elf64_get_symbol_type): New.
(elf_backend_get_symbol_type): Define.
2000-11-30 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh64.c: Tweak comments.
(sh64_elf_copy_private_data_internal): Add prototype.
(bfd_elf32_bfd_set_private_flags): Define.
(sh64_elf_copy_private_data_internal): Compare machine name, not
textual BFD target name, to check whether to copy section flag
SHF_SH5_ISA32.
(sh64_elf_merge_private_data): Validize bfd_get_arch_size.
Tweak section-contents-type-mismatch message.
(shmedia_prepare_reloc): Add ATTRIBUTE_UNUSED markers.
Validize reloc-types.
* elf64-sh64.c: New file.
* targets.c (bfd_elf64_sh64_vec, bfd_elf64_sh64l_vec): Declare.
* Makefile.am (BFD64_BACKENDS): Add elf64-sh64.lo.
(BFD64_BACKENDS_CFILES): Add elf64-sh64.c.
Regenerate dependencies.
* Makefile.in: Regenerate.
* config.bfd (sh64-*-elf*): Add bfd_elf64_sh64_vec and
bfd_elf64_sh64l_vec.
* configure.in: Handle bfd_elf64_sh64_vec and
bfd_elf64_sh64l_vec.
* configure: Regenerate.
* po/POTFILES.in: Regenerate.
* po/bfd.pot: Regenerate.
2000-11-29 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh64.c (sh64_elf_set_mach_from_flags): Do not recognize
anything else but EF_SH64 and EF_SH64_ABI64.
(sh64_elf_merge_private_data): Emit error for anything else but
EF_SH64 and EF_SH64_ABI64.
* config.bfd: Remove bfd_elf32_shblin_vec and bfd_elf32_shlin_vec
from targ_selvecs.
* configure.in: Add cofflink.lo to bfd_elf32_sh64_vec and
bfd_elf32_sh64l_vec as a temporary measure.
* configure: Regenerate.
2000-11-27 Hans-Peter Nilsson <hpn@cygnus.com>
* cpu-sh.c (arch_info_struct): Include sh5 item
unconditionalized.
* config.bfd (sh64-*-elf*): Do not set targ_cflags.
Add targ_selvecs bfd_elf32_sh_vec, bfd_elf32_shl_vec,
bfd_elf32_shblin_vec and bfd_elf32_shlin_vec.
* elf32-sh64.c: Tweak comments.
(sh64_elf_set_mach_from_flags): Recognize all machine flags that
are proper subsets of SH64 as bfd_mach_sh5. Add EF_SH64_ABI64.
(sh64_elf_copy_private_data_internal): Wrap long line.
(sh64_elf_merge_private_data): Rewrite to allow objects from
SH64 subsets to be linked together.
(INCLUDE_SHMEDIA): Define.
* elf32-sh.c (sh_elf_relocate_section) <local symbol>:
Parenthesize plus-expression inside or-expression.
<global symbol>: Ditto.
(sh_elf_set_mach_from_flags): Remove code refusing
deleted EF_SH64_32BIT_ABI flag.
2000-11-26 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh.c (sh_elf_howto_table) <R_SH_IMM_LOW16_PCREL,
R_SH_IMM_MEDLOW16_PCREL, R_SH_IMM_MEDHI16_PCREL,
R_SH_IMM_HI16_PCREL, R_SH_64_PCREL>: Set pcrel_offset to true.
(sh_elf_relocate_section) <local symbol>: Or 1 in
calculation of relocation if sym->st_other & STO_SH5_ISA32.
<global symbol>: Ditto if h->other & STO_SH5_ISA32.
* elf32-sh64.c (shmedia_prepare_reloc): Add rel->r_addend to
relocation.
2000-11-24 Hans-Peter Nilsson <hpn@cygnus.com>
* Makefile.am (BFD32_BACKENDS): Add elf32-sh64.lo.
(BFD32_BACKENDS_CFILES): Add elf32-sh64.c.
Regenerate dependencies.
* Makefile.in: Regenerate.
* archures.c: Add bfd_mach_sh5.
* config.bfd: Map targ_cpu sh* to bfd_sh_arch.
Handle sh64-*-elf*. Set targ_cflags to -DINCLUDE_SHMEDIA.
* configure.in: Handle bfd_elf32_sh64_vec and bfd_elf32_sh64l_vec.
* configure: Regenerate.
* reloc.c (BFD_RELOC_SH_SHMEDIA_CODE, BFD_RELOC_SH_IMMU5,
BFD_RELOC_SH_IMMS6, BFD_RELOC_SH_IMMS6BY32, BFD_RELOC_SH_IMMU6,
BFD_RELOC_SH_IMMS10, BFD_RELOC_SH_IMMS10BY2,
BFD_RELOC_SH_IMMS10BY4, BFD_RELOC_SH_IMMS10BY8,
BFD_RELOC_SH_IMMS16, BFD_RELOC_SH_IMMU16, BFD_RELOC_SH_IMM_LOW16,
BFD_RELOC_SH_IMM_LOW16_PCREL, BFD_RELOC_SH_IMM_MEDLOW16,
BFD_RELOC_SH_IMM_MEDLOW16_PCREL, BFD_RELOC_SH_IMM_MEDHI16,
BFD_RELOC_SH_IMM_MEDHI16_PCREL, BFD_RELOC_SH_IMM_HI16,
BFD_RELOC_SH_IMM_HI16_PCREL, BFD_RELOC_SH_PT_16): New relocations.
* cpu-sh.c [INCLUDE_SHMEDIA] (arch_info_struct): Define and link
in item for SH5.
* elf32-sh.c [INCLUDE_SHMEDIA] (sh_elf_howto_table): Add howto items
for SHmedia relocs.
[INCLUDE_SHMEDIA] (sh_rel): Add mappings for SHmedia relocs.
[INCLUDE_SHMEDIA] (sh_elf_relocate_section) [default]: Call
shmedia_prepare_reloc, goto final_link_relocate if it returns
non-zero, else fail as before.
(sh_elf_set_mach_from_flags): Provide function only if not defined
as macro. Do not recognize objects with EF_SH64_32BIT_ABI set.
(sh_elf_set_private_flags): Provide function only if not defined
as a macro.
(sh_elf_copy_private_data): Similar.
(sh_elf_merge_private_data): Similar.
* section.c (SEC_SH_ISA_SHMEDIA): New.
* targets.c (bfd_elf32_sh64_vec, bfd_elf32_sh64l_vec): Declare.
* elf32-sh64.c: New file.
* libbfd.h: Regenerate.
* bfd-in2.h: Regenerate.
* po/POTFILES.in: Regenerate.
* po/bfd.pot: Regenerate.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.
2002-02-08 13:33:27 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: elflink.h:4666
|
Contribute sh64-elf.
2002-01-23 Alexandre Oliva <aoliva@redhat.com>
* reloc.c (R_SH_GOTPLT32, R_SH_GOT_LOW16, R_SH_GOT_MEDLOW16,
R_SH_GOT_MEDHI16, R_SH_GOT_HI16, R_SH_GOTPLT_LOW16,
R_SH_GOTPLT_MEDLOW16, R_SH_GOTPLT_MEDHI16, R_SH_GOTPLT_HI16,
R_SH_PLT_LOW16, R_SH_PLT_MEDLOW16, R_SH_PLT_MEDHI16,
R_SH_PLT_HI16, R_SH_GOTOFF_LOW16, R_SH_GOTOFF_MEDLOW16,
R_SH_GOTOFF_MEDHI16, R_SH_GOTOFF_HI16, R_SH_GOTPC_LOW16,
R_SH_GOTPC_MEDLOW16, R_SH_GOTPC_MEDHI16, R_SH_GOTPC_HI16,
R_SH_GOT10BY4, R_SH_GOTPLT10BY4, R_SH_GOT10BY8, R_SH_GOTPLT10BY8,
R_SH_COPY64, R_SH_GLOB_DAT64, R_SH_JMP_SLOT64, R_SH_RELATIVE64):
New relocs.
* libbfd.h, bfd-in2.h: Rebuilt.
* elf32-sh.c (sh_elf_howto_table): Define new relocs.
(sh_reloc_map): Map them.
(PLT_ENTRY_SIZE, elf_sh_plt0_entry_be, elf_sh_plt0_entry_le,
elf_sh_plt_entry_be, elf_sh_plt_entry_le, elf_sh_pic_plt_entry_be,
elf_sh_pic_plt_entry_le, elf_sh_plt0_entry, elf_sh_plt_entry,
elf_sh_pic_plt_entry, elf_sh_sizeof_plt, elf_sh_plt_plt0_offset,
elf_sh_plt0_gotplt_offset, elf_sh_plt_temp_offset,
elf_sh_plt_symbol_offset, elf_sh_plt_reloc_offset,
movi_shori_putval) [INCLUDE_SHMEDIA]: New.
(elf_sh_link_hash_entry) [INCLUDE_SHMEDIA]: Add
datalabel_got_offset.
(sh_elf_link_hash_newfunc): Initialize it.
(sh_elf_relocate_section): Augment the scope of
seen_stt_datalabel. Introduce GOTPLT support. Extend GOTPC, PLT,
GOT and GOTOFF handling to new SHmedia relocation types. Support
GOT_BIAS.
(sh_elf_check_relocs): Likewise.
(sh_elf_finish_dynamic_symbol) [TARGET_SHMEDIA]: Set up values in
PLT entries using movi_shori_putval. Support GOT_BIAS.
(sh_elf_finish_dynamic_sections): Likewise.
* elf32-sh64.c (shmedia_prepare_reloc): Do not add addend to
relocation, it's now done by the caller.
(GOT_BIAS): New.
* elf64-sh64.c (GOT_BIAS, PLT_ENTRY_SIZE, elf_sh64_sizeof_plt,
elf_sh64_plt_plt0_offset, elf_sh64_plt0_gotplt_offset,
elf_sh64_plt_temp_offset, elf_sh64_plt_symbol_offset,
elf_sh64_plt_reloc_offset, ELF_DYNAMIC_INTERPRETER,
elf_sh64_pcrel_relocs_copied, elf_sh64_link_hash_entry,
elf_sh64_link_hash_table, sh64_elf64_link_hash_traverse,
sh64_elf64_hash_table): New.
(sh_elf64_howto_table): Introduce new relocs.
(sh_elf64_info_to_howto): Accept new PIC relocs.
(sh_elf64_relocate_section): Augment the scope of
seen_stt_datalabel. Support new PIC relocs.
(sh_elf64_check_relocs): Support new PIC relocs.
(elf_sh64_plt0_entry_be, elf_sh64_plt0_entry_le,
elf_sh64_plt_entry_be, elf_sh64_plt_entry_le,
elf_sh64_pic_plt_entry_be, elf_sh64_pic_plt_entry_le,
elf_sh64_plt0_entry, elf_sh64_plt_entry, elf_sh64_pic_plt_entry,
sh64_elf64_link_hash_newfunc, sh64_elf64_link_hash_table_create,
movi_shori_putval, movi_3shori_putval,
sh64_elf64_create_dynamic_sections,
sh64_elf64_adjust_dynamic_symbol, sh64_elf64_discard_copies,
sh64_elf64_size_dynamic_sections,
sh64_elf64_finish_dynamic_symbol,
sh64_elf64_finish_dynamic_sections): New.
(elf_backend_create_dynamic-sections,
bfd_elf64_bfd_link_hash_table_create,
elf_backend_adjust_dynamic_symbol,
elf_backend_size_dynamic_sections,
elf_backend_finish_dynamic_symbol,
elf_backend_finish_dynamic_sections, elf_backend_want_got_plt,
elf_backend_plt_readonly, elf_backend_want_plt_sym,
elf_backend_got_header_size, elf_backend_plt_header_size):
Define.
2001-05-16 Alexandre Oliva <aoliva@redhat.com>
* elf32-sh.c: Renumbered and renamed some SH5 relocations to
match official numbers and names; moved unmaching ones to the
range 0xf2-0xff.
* elf32-sh64.c, elf64-sh64.c: Likewise.
2001-03-12 DJ Delorie <dj@redhat.com>
* elf32-sh.c (sh_elf_relax_section): Don't relax SHmedia
sections.
2001-03-12 DJ Delorie <dj@redhat.com>
* elf32-sh64.c (shmedia_prepare_reloc): Validate relocs that must
be aligned.
* elf64-sh64.c (sh_elf64_relocate_section): Ditto.
2001-01-14 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh64.c (bfd_elf32_bfd_copy_private_section_data): Define.
(sh64_elf_fake_sections): Set type to SHT_SH5_CR_SORTED for a
.cranges section with SEC_SORT_ENTRIES set.
(sh64_backend_section_from_shdr): Set SEC_SORT_ENTRIES on an
incoming sorted .cranges section.
(sh64_bfd_elf_copy_private_section_data): New.
(sh64_elf_final_write_processing): Only sort .cranges and modify
start address if called by linker.
2001-01-08 Ben Elliston <bje@redhat.com>
* elf32-sh64.c (sh64_elf_final_write_processing): Activate
Hans-Peter Nilsson's set bit 0 patch from 2001-01-06.
* elf64-sh64.c (sh64_elf64_final_write_processing): Ditto.
2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com>
* elf64-sh64.c (sh_elf64_howto_table): No open brace at start of
line. Add comments before all entries.
<R_SH_PT_16, R_SH_SHMEDIA_CODE>: Correct and clarify describing
comment.
(sh_elf64_reloc): Correct head comment.
(sh_elf64_relocate_section): Correct spacing.
<relocating for a local symbol>: Do not honour STO_SH5_ISA32;
instead call reloc_dangerous callback.
<case R_SH_SHMEDIA_CODE>: New case.
(sh_elf64_gc_mark_hook): Correct spacing.
(sh_elf64_check_relocs): Ditto.
* elf32-sh64.c (shmedia_prepare_reloc) <case R_SH_SHMEDIA_CODE>:
New case.
* elf32-sh.c: Correct #endif comments for #ifndef-wrapped
functions.
(sh_elf_howto_table) <R_SH_PT_16, R_SH_SHMEDIA_CODE>: Correct,
clarify describing comment. Add comments before all entries.
(sh_elf_relocate_section) <relocating for a local symbol>: Do not
honour STO_SH5_ISA32; instead call reloc_dangerous callback.
2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com>
Sort .cranges section in final link. Prepare to set bit 0 on
entry address.
* elf32-sh64.c (struct sh64_find_section_vma_data): New.
(sh64_elf_link_output_symbol_hook): Fix typo in prototype.
(sh64_elf_set_mach_from_flags): Set SEC_DEBUGGING on incoming
.cranges section.
(sh64_backend_section_from_shdr): New, to recognize
SHT_SH5_CR_SORTED on incoming .cranges section.
(elf_backend_section_from_shdr): Define.
(sh64_elf_final_write_processing): Sort outgoing .cranges
section. (New, temporarily disabled:) Set bit 0 on entry address
according to ISA type.
(sh64_find_section_for_address): New.
(crange_qsort_cmpb, crange_qsort_cmpl, crange_bsearch_cmpb,
crange_bsearch_cmpl): Move here from opcodes/sh64-dis.c.
(sh64_address_in_cranges): Move here from opcodes/sh64-dis.c. Use
bfd_malloc, not xmalloc.
(sh64_get_contents_type): Move here from opcodes/sh64-dis.c. Make
global.
* elf32-sh64.c (sh64_elf64_final_write_processing): New, (but
temporarily disabled) setting bit 0 on entry address.
(elf_backend_final_write_processing): Define.
2001-01-05 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh.c (sh_elf_howto_table) <R_SH_PT_16>: Adjust fields to
be a proper relocation for PTA and PTB rather than a marker.
<R_SH_IMMU5, R_SH_IMMS6, R_SH_IMMU6, R_SH_IMMS10, R_SH_IMMS10BY2,
R_SH_IMMS10BY4, R_SH_IMMS10BY8, R_SH_IMMS16, R_SH_IMMU16,
R_SH_IMM_LOW16, R_SH_IMM_LOW16_PCREL, R_SH_IMM_MEDLOW16,
R_SH_IMM_MEDLOW16_PCREL, R_SH_IMM_MEDHI16, R_SH_IMM_MEDHI16_PCREL,
R_SH_IMM_HI16, R_SH_IMM_HI16_PCREL, R_SH_64, R_SH_64_PCREL>:
Zero src_mask.
* elf64-sh64.c: Ditto.
(sh_elf64_relocate_section) <case R_SH_PT_16>: New case.
* elf32-sh64.c: Include opcodes/sh64-opc.h
(shmedia_prepare_reloc): Take a bfd_link_info pointer as first
argument. Drop const qualifiers from "bfd *" and "bfd_byte *"
parameters. No unused parameters. Caller changed.
<case R_SH_PT_16>: New case.
* Makefile.am (elf32-sh64.lo): Add dependency on sh64-opc.h.
* Makefile.in: Regenerate.
2000-12-30 Hans-Peter Nilsson <hpn@cygnus.com>
* elf64-sh64.c (sh64_elf64_fake_sections): Set SHF_SH5_ISA32 for
all code sections.
(sh_elf64_set_mach_from_flags): Change from EF_SH64 to EF_SH5.
(sh64_elf_merge_private_data): Ditto.
* elf32-sh64.c (sh64_elf_fake_sections): Use sh64_elf_section_data
to access stored section flags.
(sh64_elf_final_write_processing): Return immediately unless
called by linker. Use sh64_elf_section_data (cranges) to get size
of linker-generated cranges entries.
(sh64_elf_copy_private_data): Add missing "return true".
(sh64_elf_set_mach_from_flags): Change from EF_SH64 to EF_SH5.
(sh_elf64_merge_private_data): Ditto.
2000-12-19 Hans-Peter Nilsson <hpn@cygnus.com>
* elf64-sh64.c (sh64_elf64_fake_sections): New, copy of
elf64-sh64.c:sh64_elf_fake_sections.
(elf_backend_fake_sections): Define as sh64_elf64_fake_sections.
2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh64.c (sh64_elf_copy_private_data_internal): Delete.
(sh64_elf_final_write_processing): New.
(elf_backend_final_write_processing): Define.
(sh64_elf_fake_sections): Get header flags from tdata field.
(sh64_elf_copy_private_data): Do not call
sh64_elf_copy_private_data_internal, just copy e_flags field.
(sh64_elf_merge_private_data): Do not call
sh64_elf_copy_private_data_internal.
2000-12-12 Hans-Peter Nilsson <hpn@cygnus.com>
Remove EF_SH64_ABI64, let ELF size make difference.
Remove SH64-specific BFD section flag.
* elf32-sh64.c (sh64_elf_fake_sections): Recognize section as
containing SHmedia through elf_section_data (asect)->tdata
non-zero, not using a BFD section flag.
(sh64_elf_set_mach_from_flags): Don't recognize EF_SH64_ABI64.
(sh64_elf_merge_private_data): Similar.
(elf_backend_section_flags): Don't define.
(sh64_elf_backend_section_flags): Delete.
* elf64-sh64.c (sh_elf64_set_mach_from_flags): Recognize EF_SH64,
not EF_SH64_ABI64.
(sh_elf64_merge_private_data): Similar.
* section.c (Section flags definitions): Don't define
SEC_SH_ISA_SHMEDIA.
(bfd-in2.h): Regenerate.
2000-12-09 Hans-Peter Nilsson <hpn@cygnus.com>
Make DataLabel references work with partial linking.
* elf32-sh64.c: Fix formatting.
(sh64_elf_link_output_symbol_hook): New.
(elf_backend_link_output_symbol_hook): Define to
sh64_elf_link_output_symbol_hook.
(sh64_elf_add_symbol_hook): Make DataLabel symbol just global
undefined if partial linking. Adjust sanity check.
* elf64-sh64.c (sh64_elf64_link_output_symbol_hook): New.
(elf_backend_link_output_symbol_hook): Define to
sh64_elf64_link_output_symbol_hook.
(sh64_elf64_add_symbol_hook): Make DataLabel symbol just global
undefined if partial linking. Adjust sanity check.
2000-12-07 Hans-Peter Nilsson <hpn@cygnus.com>
Implement semantics for inter-file DataLabel references.
* elf64-sh64.c (DATALABEL_SUFFIX): Define.
(sh64_elf64_add_symbol_hook): New.
(sh_elf64_relocate_section): If passing an indirect symbol with
st_type STT_DATALABEL on the way to a symbol with st_other
STO_SH5_ISA32, do not bitor 1 to the relocation.
(elf_backend_add_symbol_hook): Define to
sh64_elf64_add_symbol_hook.
* elf64-sh32.c: Tweak comments.
(DATALABEL_SUFFIX): Define.
(sh64_elf_add_symbol_hook): New.
(elf_backend_add_symbol_hook): Define to sh64_elf_add_symbol_hook.
* elf32-sh.c (sh_elf_relocate_section): If passing an indirect
symbol with st_type STT_DATALABEL on the way to a symbol with
st_other STO_SH5_ISA32, do not bitor 1 to the relocation.
2000-12-05 Hans-Peter Nilsson <hpn@cygnus.com>
Pass through STT_DATALABEL.
* elf32-sh64.c (sh64_elf_get_symbol_type): New.
(elf_backend_get_symbol_type): Define.
* elf64-sh64.c (sh64_elf64_get_symbol_type): New.
(elf_backend_get_symbol_type): Define.
2000-11-30 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh64.c: Tweak comments.
(sh64_elf_copy_private_data_internal): Add prototype.
(bfd_elf32_bfd_set_private_flags): Define.
(sh64_elf_copy_private_data_internal): Compare machine name, not
textual BFD target name, to check whether to copy section flag
SHF_SH5_ISA32.
(sh64_elf_merge_private_data): Validize bfd_get_arch_size.
Tweak section-contents-type-mismatch message.
(shmedia_prepare_reloc): Add ATTRIBUTE_UNUSED markers.
Validize reloc-types.
* elf64-sh64.c: New file.
* targets.c (bfd_elf64_sh64_vec, bfd_elf64_sh64l_vec): Declare.
* Makefile.am (BFD64_BACKENDS): Add elf64-sh64.lo.
(BFD64_BACKENDS_CFILES): Add elf64-sh64.c.
Regenerate dependencies.
* Makefile.in: Regenerate.
* config.bfd (sh64-*-elf*): Add bfd_elf64_sh64_vec and
bfd_elf64_sh64l_vec.
* configure.in: Handle bfd_elf64_sh64_vec and
bfd_elf64_sh64l_vec.
* configure: Regenerate.
* po/POTFILES.in: Regenerate.
* po/bfd.pot: Regenerate.
2000-11-29 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh64.c (sh64_elf_set_mach_from_flags): Do not recognize
anything else but EF_SH64 and EF_SH64_ABI64.
(sh64_elf_merge_private_data): Emit error for anything else but
EF_SH64 and EF_SH64_ABI64.
* config.bfd: Remove bfd_elf32_shblin_vec and bfd_elf32_shlin_vec
from targ_selvecs.
* configure.in: Add cofflink.lo to bfd_elf32_sh64_vec and
bfd_elf32_sh64l_vec as a temporary measure.
* configure: Regenerate.
2000-11-27 Hans-Peter Nilsson <hpn@cygnus.com>
* cpu-sh.c (arch_info_struct): Include sh5 item
unconditionalized.
* config.bfd (sh64-*-elf*): Do not set targ_cflags.
Add targ_selvecs bfd_elf32_sh_vec, bfd_elf32_shl_vec,
bfd_elf32_shblin_vec and bfd_elf32_shlin_vec.
* elf32-sh64.c: Tweak comments.
(sh64_elf_set_mach_from_flags): Recognize all machine flags that
are proper subsets of SH64 as bfd_mach_sh5. Add EF_SH64_ABI64.
(sh64_elf_copy_private_data_internal): Wrap long line.
(sh64_elf_merge_private_data): Rewrite to allow objects from
SH64 subsets to be linked together.
(INCLUDE_SHMEDIA): Define.
* elf32-sh.c (sh_elf_relocate_section) <local symbol>:
Parenthesize plus-expression inside or-expression.
<global symbol>: Ditto.
(sh_elf_set_mach_from_flags): Remove code refusing
deleted EF_SH64_32BIT_ABI flag.
2000-11-26 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh.c (sh_elf_howto_table) <R_SH_IMM_LOW16_PCREL,
R_SH_IMM_MEDLOW16_PCREL, R_SH_IMM_MEDHI16_PCREL,
R_SH_IMM_HI16_PCREL, R_SH_64_PCREL>: Set pcrel_offset to true.
(sh_elf_relocate_section) <local symbol>: Or 1 in
calculation of relocation if sym->st_other & STO_SH5_ISA32.
<global symbol>: Ditto if h->other & STO_SH5_ISA32.
* elf32-sh64.c (shmedia_prepare_reloc): Add rel->r_addend to
relocation.
2000-11-24 Hans-Peter Nilsson <hpn@cygnus.com>
* Makefile.am (BFD32_BACKENDS): Add elf32-sh64.lo.
(BFD32_BACKENDS_CFILES): Add elf32-sh64.c.
Regenerate dependencies.
* Makefile.in: Regenerate.
* archures.c: Add bfd_mach_sh5.
* config.bfd: Map targ_cpu sh* to bfd_sh_arch.
Handle sh64-*-elf*. Set targ_cflags to -DINCLUDE_SHMEDIA.
* configure.in: Handle bfd_elf32_sh64_vec and bfd_elf32_sh64l_vec.
* configure: Regenerate.
* reloc.c (BFD_RELOC_SH_SHMEDIA_CODE, BFD_RELOC_SH_IMMU5,
BFD_RELOC_SH_IMMS6, BFD_RELOC_SH_IMMS6BY32, BFD_RELOC_SH_IMMU6,
BFD_RELOC_SH_IMMS10, BFD_RELOC_SH_IMMS10BY2,
BFD_RELOC_SH_IMMS10BY4, BFD_RELOC_SH_IMMS10BY8,
BFD_RELOC_SH_IMMS16, BFD_RELOC_SH_IMMU16, BFD_RELOC_SH_IMM_LOW16,
BFD_RELOC_SH_IMM_LOW16_PCREL, BFD_RELOC_SH_IMM_MEDLOW16,
BFD_RELOC_SH_IMM_MEDLOW16_PCREL, BFD_RELOC_SH_IMM_MEDHI16,
BFD_RELOC_SH_IMM_MEDHI16_PCREL, BFD_RELOC_SH_IMM_HI16,
BFD_RELOC_SH_IMM_HI16_PCREL, BFD_RELOC_SH_PT_16): New relocations.
* cpu-sh.c [INCLUDE_SHMEDIA] (arch_info_struct): Define and link
in item for SH5.
* elf32-sh.c [INCLUDE_SHMEDIA] (sh_elf_howto_table): Add howto items
for SHmedia relocs.
[INCLUDE_SHMEDIA] (sh_rel): Add mappings for SHmedia relocs.
[INCLUDE_SHMEDIA] (sh_elf_relocate_section) [default]: Call
shmedia_prepare_reloc, goto final_link_relocate if it returns
non-zero, else fail as before.
(sh_elf_set_mach_from_flags): Provide function only if not defined
as macro. Do not recognize objects with EF_SH64_32BIT_ABI set.
(sh_elf_set_private_flags): Provide function only if not defined
as a macro.
(sh_elf_copy_private_data): Similar.
(sh_elf_merge_private_data): Similar.
* section.c (SEC_SH_ISA_SHMEDIA): New.
* targets.c (bfd_elf32_sh64_vec, bfd_elf32_sh64l_vec): Declare.
* elf32-sh64.c: New file.
* libbfd.h: Regenerate.
* bfd-in2.h: Regenerate.
* po/POTFILES.in: Regenerate.
* po/bfd.pot: Regenerate.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.
2002-02-08 13:33:27 +08:00
|
|
|
#, c-format
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid "%s: %s symbol `%s' isn't defined"
|
Contribute sh64-elf.
2002-01-23 Alexandre Oliva <aoliva@redhat.com>
* reloc.c (R_SH_GOTPLT32, R_SH_GOT_LOW16, R_SH_GOT_MEDLOW16,
R_SH_GOT_MEDHI16, R_SH_GOT_HI16, R_SH_GOTPLT_LOW16,
R_SH_GOTPLT_MEDLOW16, R_SH_GOTPLT_MEDHI16, R_SH_GOTPLT_HI16,
R_SH_PLT_LOW16, R_SH_PLT_MEDLOW16, R_SH_PLT_MEDHI16,
R_SH_PLT_HI16, R_SH_GOTOFF_LOW16, R_SH_GOTOFF_MEDLOW16,
R_SH_GOTOFF_MEDHI16, R_SH_GOTOFF_HI16, R_SH_GOTPC_LOW16,
R_SH_GOTPC_MEDLOW16, R_SH_GOTPC_MEDHI16, R_SH_GOTPC_HI16,
R_SH_GOT10BY4, R_SH_GOTPLT10BY4, R_SH_GOT10BY8, R_SH_GOTPLT10BY8,
R_SH_COPY64, R_SH_GLOB_DAT64, R_SH_JMP_SLOT64, R_SH_RELATIVE64):
New relocs.
* libbfd.h, bfd-in2.h: Rebuilt.
* elf32-sh.c (sh_elf_howto_table): Define new relocs.
(sh_reloc_map): Map them.
(PLT_ENTRY_SIZE, elf_sh_plt0_entry_be, elf_sh_plt0_entry_le,
elf_sh_plt_entry_be, elf_sh_plt_entry_le, elf_sh_pic_plt_entry_be,
elf_sh_pic_plt_entry_le, elf_sh_plt0_entry, elf_sh_plt_entry,
elf_sh_pic_plt_entry, elf_sh_sizeof_plt, elf_sh_plt_plt0_offset,
elf_sh_plt0_gotplt_offset, elf_sh_plt_temp_offset,
elf_sh_plt_symbol_offset, elf_sh_plt_reloc_offset,
movi_shori_putval) [INCLUDE_SHMEDIA]: New.
(elf_sh_link_hash_entry) [INCLUDE_SHMEDIA]: Add
datalabel_got_offset.
(sh_elf_link_hash_newfunc): Initialize it.
(sh_elf_relocate_section): Augment the scope of
seen_stt_datalabel. Introduce GOTPLT support. Extend GOTPC, PLT,
GOT and GOTOFF handling to new SHmedia relocation types. Support
GOT_BIAS.
(sh_elf_check_relocs): Likewise.
(sh_elf_finish_dynamic_symbol) [TARGET_SHMEDIA]: Set up values in
PLT entries using movi_shori_putval. Support GOT_BIAS.
(sh_elf_finish_dynamic_sections): Likewise.
* elf32-sh64.c (shmedia_prepare_reloc): Do not add addend to
relocation, it's now done by the caller.
(GOT_BIAS): New.
* elf64-sh64.c (GOT_BIAS, PLT_ENTRY_SIZE, elf_sh64_sizeof_plt,
elf_sh64_plt_plt0_offset, elf_sh64_plt0_gotplt_offset,
elf_sh64_plt_temp_offset, elf_sh64_plt_symbol_offset,
elf_sh64_plt_reloc_offset, ELF_DYNAMIC_INTERPRETER,
elf_sh64_pcrel_relocs_copied, elf_sh64_link_hash_entry,
elf_sh64_link_hash_table, sh64_elf64_link_hash_traverse,
sh64_elf64_hash_table): New.
(sh_elf64_howto_table): Introduce new relocs.
(sh_elf64_info_to_howto): Accept new PIC relocs.
(sh_elf64_relocate_section): Augment the scope of
seen_stt_datalabel. Support new PIC relocs.
(sh_elf64_check_relocs): Support new PIC relocs.
(elf_sh64_plt0_entry_be, elf_sh64_plt0_entry_le,
elf_sh64_plt_entry_be, elf_sh64_plt_entry_le,
elf_sh64_pic_plt_entry_be, elf_sh64_pic_plt_entry_le,
elf_sh64_plt0_entry, elf_sh64_plt_entry, elf_sh64_pic_plt_entry,
sh64_elf64_link_hash_newfunc, sh64_elf64_link_hash_table_create,
movi_shori_putval, movi_3shori_putval,
sh64_elf64_create_dynamic_sections,
sh64_elf64_adjust_dynamic_symbol, sh64_elf64_discard_copies,
sh64_elf64_size_dynamic_sections,
sh64_elf64_finish_dynamic_symbol,
sh64_elf64_finish_dynamic_sections): New.
(elf_backend_create_dynamic-sections,
bfd_elf64_bfd_link_hash_table_create,
elf_backend_adjust_dynamic_symbol,
elf_backend_size_dynamic_sections,
elf_backend_finish_dynamic_symbol,
elf_backend_finish_dynamic_sections, elf_backend_want_got_plt,
elf_backend_plt_readonly, elf_backend_want_plt_sym,
elf_backend_got_header_size, elf_backend_plt_header_size):
Define.
2001-05-16 Alexandre Oliva <aoliva@redhat.com>
* elf32-sh.c: Renumbered and renamed some SH5 relocations to
match official numbers and names; moved unmaching ones to the
range 0xf2-0xff.
* elf32-sh64.c, elf64-sh64.c: Likewise.
2001-03-12 DJ Delorie <dj@redhat.com>
* elf32-sh.c (sh_elf_relax_section): Don't relax SHmedia
sections.
2001-03-12 DJ Delorie <dj@redhat.com>
* elf32-sh64.c (shmedia_prepare_reloc): Validate relocs that must
be aligned.
* elf64-sh64.c (sh_elf64_relocate_section): Ditto.
2001-01-14 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh64.c (bfd_elf32_bfd_copy_private_section_data): Define.
(sh64_elf_fake_sections): Set type to SHT_SH5_CR_SORTED for a
.cranges section with SEC_SORT_ENTRIES set.
(sh64_backend_section_from_shdr): Set SEC_SORT_ENTRIES on an
incoming sorted .cranges section.
(sh64_bfd_elf_copy_private_section_data): New.
(sh64_elf_final_write_processing): Only sort .cranges and modify
start address if called by linker.
2001-01-08 Ben Elliston <bje@redhat.com>
* elf32-sh64.c (sh64_elf_final_write_processing): Activate
Hans-Peter Nilsson's set bit 0 patch from 2001-01-06.
* elf64-sh64.c (sh64_elf64_final_write_processing): Ditto.
2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com>
* elf64-sh64.c (sh_elf64_howto_table): No open brace at start of
line. Add comments before all entries.
<R_SH_PT_16, R_SH_SHMEDIA_CODE>: Correct and clarify describing
comment.
(sh_elf64_reloc): Correct head comment.
(sh_elf64_relocate_section): Correct spacing.
<relocating for a local symbol>: Do not honour STO_SH5_ISA32;
instead call reloc_dangerous callback.
<case R_SH_SHMEDIA_CODE>: New case.
(sh_elf64_gc_mark_hook): Correct spacing.
(sh_elf64_check_relocs): Ditto.
* elf32-sh64.c (shmedia_prepare_reloc) <case R_SH_SHMEDIA_CODE>:
New case.
* elf32-sh.c: Correct #endif comments for #ifndef-wrapped
functions.
(sh_elf_howto_table) <R_SH_PT_16, R_SH_SHMEDIA_CODE>: Correct,
clarify describing comment. Add comments before all entries.
(sh_elf_relocate_section) <relocating for a local symbol>: Do not
honour STO_SH5_ISA32; instead call reloc_dangerous callback.
2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com>
Sort .cranges section in final link. Prepare to set bit 0 on
entry address.
* elf32-sh64.c (struct sh64_find_section_vma_data): New.
(sh64_elf_link_output_symbol_hook): Fix typo in prototype.
(sh64_elf_set_mach_from_flags): Set SEC_DEBUGGING on incoming
.cranges section.
(sh64_backend_section_from_shdr): New, to recognize
SHT_SH5_CR_SORTED on incoming .cranges section.
(elf_backend_section_from_shdr): Define.
(sh64_elf_final_write_processing): Sort outgoing .cranges
section. (New, temporarily disabled:) Set bit 0 on entry address
according to ISA type.
(sh64_find_section_for_address): New.
(crange_qsort_cmpb, crange_qsort_cmpl, crange_bsearch_cmpb,
crange_bsearch_cmpl): Move here from opcodes/sh64-dis.c.
(sh64_address_in_cranges): Move here from opcodes/sh64-dis.c. Use
bfd_malloc, not xmalloc.
(sh64_get_contents_type): Move here from opcodes/sh64-dis.c. Make
global.
* elf32-sh64.c (sh64_elf64_final_write_processing): New, (but
temporarily disabled) setting bit 0 on entry address.
(elf_backend_final_write_processing): Define.
2001-01-05 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh.c (sh_elf_howto_table) <R_SH_PT_16>: Adjust fields to
be a proper relocation for PTA and PTB rather than a marker.
<R_SH_IMMU5, R_SH_IMMS6, R_SH_IMMU6, R_SH_IMMS10, R_SH_IMMS10BY2,
R_SH_IMMS10BY4, R_SH_IMMS10BY8, R_SH_IMMS16, R_SH_IMMU16,
R_SH_IMM_LOW16, R_SH_IMM_LOW16_PCREL, R_SH_IMM_MEDLOW16,
R_SH_IMM_MEDLOW16_PCREL, R_SH_IMM_MEDHI16, R_SH_IMM_MEDHI16_PCREL,
R_SH_IMM_HI16, R_SH_IMM_HI16_PCREL, R_SH_64, R_SH_64_PCREL>:
Zero src_mask.
* elf64-sh64.c: Ditto.
(sh_elf64_relocate_section) <case R_SH_PT_16>: New case.
* elf32-sh64.c: Include opcodes/sh64-opc.h
(shmedia_prepare_reloc): Take a bfd_link_info pointer as first
argument. Drop const qualifiers from "bfd *" and "bfd_byte *"
parameters. No unused parameters. Caller changed.
<case R_SH_PT_16>: New case.
* Makefile.am (elf32-sh64.lo): Add dependency on sh64-opc.h.
* Makefile.in: Regenerate.
2000-12-30 Hans-Peter Nilsson <hpn@cygnus.com>
* elf64-sh64.c (sh64_elf64_fake_sections): Set SHF_SH5_ISA32 for
all code sections.
(sh_elf64_set_mach_from_flags): Change from EF_SH64 to EF_SH5.
(sh64_elf_merge_private_data): Ditto.
* elf32-sh64.c (sh64_elf_fake_sections): Use sh64_elf_section_data
to access stored section flags.
(sh64_elf_final_write_processing): Return immediately unless
called by linker. Use sh64_elf_section_data (cranges) to get size
of linker-generated cranges entries.
(sh64_elf_copy_private_data): Add missing "return true".
(sh64_elf_set_mach_from_flags): Change from EF_SH64 to EF_SH5.
(sh_elf64_merge_private_data): Ditto.
2000-12-19 Hans-Peter Nilsson <hpn@cygnus.com>
* elf64-sh64.c (sh64_elf64_fake_sections): New, copy of
elf64-sh64.c:sh64_elf_fake_sections.
(elf_backend_fake_sections): Define as sh64_elf64_fake_sections.
2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh64.c (sh64_elf_copy_private_data_internal): Delete.
(sh64_elf_final_write_processing): New.
(elf_backend_final_write_processing): Define.
(sh64_elf_fake_sections): Get header flags from tdata field.
(sh64_elf_copy_private_data): Do not call
sh64_elf_copy_private_data_internal, just copy e_flags field.
(sh64_elf_merge_private_data): Do not call
sh64_elf_copy_private_data_internal.
2000-12-12 Hans-Peter Nilsson <hpn@cygnus.com>
Remove EF_SH64_ABI64, let ELF size make difference.
Remove SH64-specific BFD section flag.
* elf32-sh64.c (sh64_elf_fake_sections): Recognize section as
containing SHmedia through elf_section_data (asect)->tdata
non-zero, not using a BFD section flag.
(sh64_elf_set_mach_from_flags): Don't recognize EF_SH64_ABI64.
(sh64_elf_merge_private_data): Similar.
(elf_backend_section_flags): Don't define.
(sh64_elf_backend_section_flags): Delete.
* elf64-sh64.c (sh_elf64_set_mach_from_flags): Recognize EF_SH64,
not EF_SH64_ABI64.
(sh_elf64_merge_private_data): Similar.
* section.c (Section flags definitions): Don't define
SEC_SH_ISA_SHMEDIA.
(bfd-in2.h): Regenerate.
2000-12-09 Hans-Peter Nilsson <hpn@cygnus.com>
Make DataLabel references work with partial linking.
* elf32-sh64.c: Fix formatting.
(sh64_elf_link_output_symbol_hook): New.
(elf_backend_link_output_symbol_hook): Define to
sh64_elf_link_output_symbol_hook.
(sh64_elf_add_symbol_hook): Make DataLabel symbol just global
undefined if partial linking. Adjust sanity check.
* elf64-sh64.c (sh64_elf64_link_output_symbol_hook): New.
(elf_backend_link_output_symbol_hook): Define to
sh64_elf64_link_output_symbol_hook.
(sh64_elf64_add_symbol_hook): Make DataLabel symbol just global
undefined if partial linking. Adjust sanity check.
2000-12-07 Hans-Peter Nilsson <hpn@cygnus.com>
Implement semantics for inter-file DataLabel references.
* elf64-sh64.c (DATALABEL_SUFFIX): Define.
(sh64_elf64_add_symbol_hook): New.
(sh_elf64_relocate_section): If passing an indirect symbol with
st_type STT_DATALABEL on the way to a symbol with st_other
STO_SH5_ISA32, do not bitor 1 to the relocation.
(elf_backend_add_symbol_hook): Define to
sh64_elf64_add_symbol_hook.
* elf64-sh32.c: Tweak comments.
(DATALABEL_SUFFIX): Define.
(sh64_elf_add_symbol_hook): New.
(elf_backend_add_symbol_hook): Define to sh64_elf_add_symbol_hook.
* elf32-sh.c (sh_elf_relocate_section): If passing an indirect
symbol with st_type STT_DATALABEL on the way to a symbol with
st_other STO_SH5_ISA32, do not bitor 1 to the relocation.
2000-12-05 Hans-Peter Nilsson <hpn@cygnus.com>
Pass through STT_DATALABEL.
* elf32-sh64.c (sh64_elf_get_symbol_type): New.
(elf_backend_get_symbol_type): Define.
* elf64-sh64.c (sh64_elf64_get_symbol_type): New.
(elf_backend_get_symbol_type): Define.
2000-11-30 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh64.c: Tweak comments.
(sh64_elf_copy_private_data_internal): Add prototype.
(bfd_elf32_bfd_set_private_flags): Define.
(sh64_elf_copy_private_data_internal): Compare machine name, not
textual BFD target name, to check whether to copy section flag
SHF_SH5_ISA32.
(sh64_elf_merge_private_data): Validize bfd_get_arch_size.
Tweak section-contents-type-mismatch message.
(shmedia_prepare_reloc): Add ATTRIBUTE_UNUSED markers.
Validize reloc-types.
* elf64-sh64.c: New file.
* targets.c (bfd_elf64_sh64_vec, bfd_elf64_sh64l_vec): Declare.
* Makefile.am (BFD64_BACKENDS): Add elf64-sh64.lo.
(BFD64_BACKENDS_CFILES): Add elf64-sh64.c.
Regenerate dependencies.
* Makefile.in: Regenerate.
* config.bfd (sh64-*-elf*): Add bfd_elf64_sh64_vec and
bfd_elf64_sh64l_vec.
* configure.in: Handle bfd_elf64_sh64_vec and
bfd_elf64_sh64l_vec.
* configure: Regenerate.
* po/POTFILES.in: Regenerate.
* po/bfd.pot: Regenerate.
2000-11-29 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh64.c (sh64_elf_set_mach_from_flags): Do not recognize
anything else but EF_SH64 and EF_SH64_ABI64.
(sh64_elf_merge_private_data): Emit error for anything else but
EF_SH64 and EF_SH64_ABI64.
* config.bfd: Remove bfd_elf32_shblin_vec and bfd_elf32_shlin_vec
from targ_selvecs.
* configure.in: Add cofflink.lo to bfd_elf32_sh64_vec and
bfd_elf32_sh64l_vec as a temporary measure.
* configure: Regenerate.
2000-11-27 Hans-Peter Nilsson <hpn@cygnus.com>
* cpu-sh.c (arch_info_struct): Include sh5 item
unconditionalized.
* config.bfd (sh64-*-elf*): Do not set targ_cflags.
Add targ_selvecs bfd_elf32_sh_vec, bfd_elf32_shl_vec,
bfd_elf32_shblin_vec and bfd_elf32_shlin_vec.
* elf32-sh64.c: Tweak comments.
(sh64_elf_set_mach_from_flags): Recognize all machine flags that
are proper subsets of SH64 as bfd_mach_sh5. Add EF_SH64_ABI64.
(sh64_elf_copy_private_data_internal): Wrap long line.
(sh64_elf_merge_private_data): Rewrite to allow objects from
SH64 subsets to be linked together.
(INCLUDE_SHMEDIA): Define.
* elf32-sh.c (sh_elf_relocate_section) <local symbol>:
Parenthesize plus-expression inside or-expression.
<global symbol>: Ditto.
(sh_elf_set_mach_from_flags): Remove code refusing
deleted EF_SH64_32BIT_ABI flag.
2000-11-26 Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh.c (sh_elf_howto_table) <R_SH_IMM_LOW16_PCREL,
R_SH_IMM_MEDLOW16_PCREL, R_SH_IMM_MEDHI16_PCREL,
R_SH_IMM_HI16_PCREL, R_SH_64_PCREL>: Set pcrel_offset to true.
(sh_elf_relocate_section) <local symbol>: Or 1 in
calculation of relocation if sym->st_other & STO_SH5_ISA32.
<global symbol>: Ditto if h->other & STO_SH5_ISA32.
* elf32-sh64.c (shmedia_prepare_reloc): Add rel->r_addend to
relocation.
2000-11-24 Hans-Peter Nilsson <hpn@cygnus.com>
* Makefile.am (BFD32_BACKENDS): Add elf32-sh64.lo.
(BFD32_BACKENDS_CFILES): Add elf32-sh64.c.
Regenerate dependencies.
* Makefile.in: Regenerate.
* archures.c: Add bfd_mach_sh5.
* config.bfd: Map targ_cpu sh* to bfd_sh_arch.
Handle sh64-*-elf*. Set targ_cflags to -DINCLUDE_SHMEDIA.
* configure.in: Handle bfd_elf32_sh64_vec and bfd_elf32_sh64l_vec.
* configure: Regenerate.
* reloc.c (BFD_RELOC_SH_SHMEDIA_CODE, BFD_RELOC_SH_IMMU5,
BFD_RELOC_SH_IMMS6, BFD_RELOC_SH_IMMS6BY32, BFD_RELOC_SH_IMMU6,
BFD_RELOC_SH_IMMS10, BFD_RELOC_SH_IMMS10BY2,
BFD_RELOC_SH_IMMS10BY4, BFD_RELOC_SH_IMMS10BY8,
BFD_RELOC_SH_IMMS16, BFD_RELOC_SH_IMMU16, BFD_RELOC_SH_IMM_LOW16,
BFD_RELOC_SH_IMM_LOW16_PCREL, BFD_RELOC_SH_IMM_MEDLOW16,
BFD_RELOC_SH_IMM_MEDLOW16_PCREL, BFD_RELOC_SH_IMM_MEDHI16,
BFD_RELOC_SH_IMM_MEDHI16_PCREL, BFD_RELOC_SH_IMM_HI16,
BFD_RELOC_SH_IMM_HI16_PCREL, BFD_RELOC_SH_PT_16): New relocations.
* cpu-sh.c [INCLUDE_SHMEDIA] (arch_info_struct): Define and link
in item for SH5.
* elf32-sh.c [INCLUDE_SHMEDIA] (sh_elf_howto_table): Add howto items
for SHmedia relocs.
[INCLUDE_SHMEDIA] (sh_rel): Add mappings for SHmedia relocs.
[INCLUDE_SHMEDIA] (sh_elf_relocate_section) [default]: Call
shmedia_prepare_reloc, goto final_link_relocate if it returns
non-zero, else fail as before.
(sh_elf_set_mach_from_flags): Provide function only if not defined
as macro. Do not recognize objects with EF_SH64_32BIT_ABI set.
(sh_elf_set_private_flags): Provide function only if not defined
as a macro.
(sh_elf_copy_private_data): Similar.
(sh_elf_merge_private_data): Similar.
* section.c (SEC_SH_ISA_SHMEDIA): New.
* targets.c (bfd_elf32_sh64_vec, bfd_elf32_sh64l_vec): Declare.
* elf32-sh64.c: New file.
* libbfd.h: Regenerate.
* bfd-in2.h: Regenerate.
* po/POTFILES.in: Regenerate.
* po/bfd.pot: Regenerate.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.
2002-02-08 13:33:27 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: elflink.h:5053 elflink.h:5095
|
|
|
|
msgid "%T: discarded in section `%s' from %s\n"
|
2001-10-30 23:20:14 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: elfxx-mips.c:887
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid "static procedure (no name)"
|
2001-10-30 23:20:14 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: elfxx-mips.c:1897
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid "not enough GOT space for local GOT entries"
|
2001-10-30 23:20:14 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: elfxx-mips.c:3691
|
1999-06-03 11:26:53 +08:00
|
|
|
#, c-format
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid "%s: %s+0x%lx: jump to stub routine which is not jal"
|
2000-11-03 07:03:24 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: elfxx-mips.c:5192
|
2002-01-17 22:12:08 +08:00
|
|
|
#, c-format
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid "%s: Malformed reloc detected for section %s"
|
2000-11-03 07:03:24 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: elfxx-mips.c:5266
|
2003-06-04 00:24:06 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "%s: CALL16 reloc at 0x%lx not against global symbol"
|
2000-11-03 07:03:24 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-17 22:22:45 +08:00
|
|
|
#: elfxx-mips.c:8693
|
2002-01-17 22:12:08 +08:00
|
|
|
#, c-format
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid "%s: illegal section name `%s'"
|
2000-11-03 07:03:24 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-17 22:22:45 +08:00
|
|
|
#: elfxx-mips.c:9027
|
2000-11-03 07:03:24 +08:00
|
|
|
#, c-format
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid "%s: endianness incompatible with that of the selected emulation"
|
2000-11-03 07:03:24 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-17 22:22:45 +08:00
|
|
|
#: elfxx-mips.c:9039
|
2000-11-03 07:03:24 +08:00
|
|
|
#, c-format
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid "%s: ABI is incompatible with that of the selected emulation"
|
2000-11-03 07:03:24 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-17 22:22:45 +08:00
|
|
|
#: elfxx-mips.c:9106
|
2003-06-04 00:24:06 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "%s: warning: linking PIC files with non-PIC files"
|
2000-11-03 07:03:24 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-17 22:22:45 +08:00
|
|
|
#: elfxx-mips.c:9123
|
2000-11-03 07:03:24 +08:00
|
|
|
#, c-format
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid "%s: linking 32-bit code with 64-bit code"
|
2000-11-03 07:03:24 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-17 22:22:45 +08:00
|
|
|
#: elfxx-mips.c:9151
|
2000-11-03 07:03:24 +08:00
|
|
|
#, c-format
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid "%s: linking %s module with previous %s modules"
|
2000-11-03 07:03:24 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-17 22:22:45 +08:00
|
|
|
#: elfxx-mips.c:9174
|
2000-11-03 07:03:24 +08:00
|
|
|
#, c-format
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid "%s: ABI mismatch: linking %s module with previous %s modules"
|
2000-11-03 07:03:24 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-17 22:22:45 +08:00
|
|
|
#: elfxx-mips.c:9243
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid " [abi=O32]"
|
2000-11-03 07:03:24 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-17 22:22:45 +08:00
|
|
|
#: elfxx-mips.c:9245
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid " [abi=O64]"
|
2000-11-03 07:03:24 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-17 22:22:45 +08:00
|
|
|
#: elfxx-mips.c:9247
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid " [abi=EABI32]"
|
2000-11-03 07:03:24 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-17 22:22:45 +08:00
|
|
|
#: elfxx-mips.c:9249
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid " [abi=EABI64]"
|
2000-11-03 07:03:24 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-17 22:22:45 +08:00
|
|
|
#: elfxx-mips.c:9251
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid " [abi unknown]"
|
2000-11-03 07:03:24 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-17 22:22:45 +08:00
|
|
|
#: elfxx-mips.c:9253
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid " [abi=N32]"
|
1999-06-03 11:26:53 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-17 22:22:45 +08:00
|
|
|
#: elfxx-mips.c:9255
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid " [abi=64]"
|
1999-06-03 11:26:53 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-17 22:22:45 +08:00
|
|
|
#: elfxx-mips.c:9257
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid " [no abi set]"
|
2000-02-28 00:55:52 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-17 22:22:45 +08:00
|
|
|
#: elfxx-mips.c:9260
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid " [mips1]"
|
2000-02-28 00:55:52 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-17 22:22:45 +08:00
|
|
|
#: elfxx-mips.c:9262
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid " [mips2]"
|
2000-02-28 00:55:52 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-17 22:22:45 +08:00
|
|
|
#: elfxx-mips.c:9264
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid " [mips3]"
|
2000-02-28 00:55:52 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-17 22:22:45 +08:00
|
|
|
#: elfxx-mips.c:9266
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid " [mips4]"
|
2000-02-28 00:55:52 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-17 22:22:45 +08:00
|
|
|
#: elfxx-mips.c:9268
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid " [mips5]"
|
2000-02-28 00:55:52 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-17 22:22:45 +08:00
|
|
|
#: elfxx-mips.c:9270
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid " [mips32]"
|
2001-06-15 17:03:14 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-17 22:22:45 +08:00
|
|
|
#: elfxx-mips.c:9272
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid " [mips64]"
|
2001-10-30 23:20:14 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-17 22:22:45 +08:00
|
|
|
#: elfxx-mips.c:9274
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid " [mips32r2]"
|
2000-02-28 00:55:52 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-17 22:22:45 +08:00
|
|
|
#: elfxx-mips.c:9276
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid " [unknown ISA]"
|
2001-02-19 07:33:11 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-17 22:22:45 +08:00
|
|
|
#: elfxx-mips.c:9279
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid " [mdmx]"
|
2002-01-17 22:12:08 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-17 22:22:45 +08:00
|
|
|
#: elfxx-mips.c:9282
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid " [mips16]"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-17 22:22:45 +08:00
|
|
|
#: elfxx-mips.c:9285
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid " [32bitmode]"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-17 22:22:45 +08:00
|
|
|
#: elfxx-mips.c:9287
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid " [not 32bitmode]"
|
2002-01-17 22:12:08 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: i386linux.c:457 m68klinux.c:461 sparclinux.c:458
|
1999-06-03 11:26:53 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "Output file requires shared library `%s'\n"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: i386linux.c:465 m68klinux.c:469 sparclinux.c:466
|
1999-06-03 11:26:53 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "Output file requires shared library `%s.so.%s'\n"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: i386linux.c:654 i386linux.c:704 m68klinux.c:661 m68klinux.c:709
|
|
|
|
#: sparclinux.c:656 sparclinux.c:706
|
1999-06-03 11:26:53 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "Symbol %s not defined for fixups\n"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: i386linux.c:728 m68klinux.c:733 sparclinux.c:730
|
1999-06-03 11:26:53 +08:00
|
|
|
msgid "Warning: fixup count mismatch\n"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: ieee.c:293
|
1999-06-03 11:26:53 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "%s: string too long (%d chars, max 65535)"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: ieee.c:428
|
1999-06-03 11:26:53 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "%s: unrecognized symbol `%s' flags 0x%x"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: ieee.c:938
|
1999-06-03 11:26:53 +08:00
|
|
|
#, c-format
|
2002-02-01 01:33:08 +08:00
|
|
|
msgid "%s: unimplemented ATI record %u for symbol %u"
|
1999-06-03 11:26:53 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: ieee.c:963
|
1999-06-03 11:26:53 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "%s: unexpected ATN type %d in external part"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: ieee.c:985
|
1999-06-03 11:26:53 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "%s: unexpected type after ATN"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: ihex.c:264
|
1999-06-03 11:26:53 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "%s:%d: unexpected character `%s' in Intel Hex file\n"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: ihex.c:372
|
1999-06-03 11:26:53 +08:00
|
|
|
#, c-format
|
2001-10-30 23:20:14 +08:00
|
|
|
msgid "%s:%u: bad checksum in Intel Hex file (expected %u, found %u)"
|
1999-06-03 11:26:53 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: ihex.c:426
|
1999-06-03 11:26:53 +08:00
|
|
|
#, c-format
|
2001-10-30 23:20:14 +08:00
|
|
|
msgid "%s:%u: bad extended address record length in Intel Hex file"
|
1999-06-03 11:26:53 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: ihex.c:443
|
1999-06-03 11:26:53 +08:00
|
|
|
#, c-format
|
2001-10-30 23:20:14 +08:00
|
|
|
msgid "%s:%u: bad extended start address length in Intel Hex file"
|
1999-06-03 11:26:53 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: ihex.c:460
|
1999-06-03 11:26:53 +08:00
|
|
|
#, c-format
|
2001-10-30 23:20:14 +08:00
|
|
|
msgid "%s:%u: bad extended linear address record length in Intel Hex file"
|
1999-06-03 11:26:53 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: ihex.c:477
|
1999-06-03 11:26:53 +08:00
|
|
|
#, c-format
|
2001-10-30 23:20:14 +08:00
|
|
|
msgid "%s:%u: bad extended linear start address length in Intel Hex file"
|
1999-06-03 11:26:53 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: ihex.c:494
|
1999-06-03 11:26:53 +08:00
|
|
|
#, c-format
|
2001-10-30 23:20:14 +08:00
|
|
|
msgid "%s:%u: unrecognized ihex type %u in Intel Hex file\n"
|
1999-06-03 11:26:53 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: ihex.c:619
|
1999-06-03 11:26:53 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "%s: internal error in ihex_read_section"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: ihex.c:654
|
1999-06-03 11:26:53 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "%s: bad section length in ihex_read_section"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: ihex.c:872
|
1999-06-03 11:26:53 +08:00
|
|
|
#, c-format
|
2002-02-01 01:33:08 +08:00
|
|
|
msgid "%s: address 0x%s out of range for Intel Hex file"
|
1999-06-03 11:26:53 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: libbfd.c:861
|
2000-06-19 09:22:44 +08:00
|
|
|
#, c-format
|
2002-02-01 01:33:08 +08:00
|
|
|
msgid "Deprecated %s called at %s line %d in %s\n"
|
2000-06-19 09:22:44 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: libbfd.c:864
|
2000-06-19 09:22:44 +08:00
|
|
|
#, c-format
|
2002-02-01 01:33:08 +08:00
|
|
|
msgid "Deprecated %s called\n"
|
2000-06-19 09:22:44 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: linker.c:1829
|
2001-05-24 01:26:40 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "%s: indirect symbol `%s' to `%s' is a loop"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: linker.c:2697
|
1999-06-03 11:26:53 +08:00
|
|
|
#, c-format
|
2003-07-11 13:10:21 +08:00
|
|
|
msgid "Attempt to do relocatable link with %s input and %s output"
|
1999-06-03 11:26:53 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: merge.c:896
|
2001-04-24 23:08:16 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "%s: access beyond end of merged section (%ld + %ld)"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: mmo.c:503
|
2002-01-17 22:12:08 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "%s: No core to allocate section name %s\n"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: mmo.c:579
|
2002-01-17 22:12:08 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "%s: No core to allocate a symbol %d bytes long\n"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: mmo.c:1287
|
2002-01-17 22:12:08 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "%s: invalid mmo file: initialization value for $255 is not `Main'\n"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: mmo.c:1433
|
2002-01-17 22:12:08 +08:00
|
|
|
#, c-format
|
|
|
|
msgid ""
|
|
|
|
"%s: unsupported wide character sequence 0x%02X 0x%02X after symbol name "
|
|
|
|
"starting with `%s'\n"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: mmo.c:1674
|
2002-01-17 22:12:08 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "%s: invalid mmo file: unsupported lopcode `%d'\n"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: mmo.c:1684
|
2002-01-17 22:12:08 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "%s: invalid mmo file: expected YZ = 1 got YZ = %d for lop_quote\n"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: mmo.c:1720
|
2002-01-17 22:12:08 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "%s: invalid mmo file: expected z = 1 or z = 2, got z = %d for lop_loc\n"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: mmo.c:1766
|
2002-01-17 22:12:08 +08:00
|
|
|
#, c-format
|
|
|
|
msgid ""
|
|
|
|
"%s: invalid mmo file: expected z = 1 or z = 2, got z = %d for lop_fixo\n"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: mmo.c:1805
|
2002-01-17 22:12:08 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "%s: invalid mmo file: expected y = 0, got y = %d for lop_fixrx\n"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: mmo.c:1814
|
2002-01-17 22:12:08 +08:00
|
|
|
#, c-format
|
|
|
|
msgid ""
|
|
|
|
"%s: invalid mmo file: expected z = 16 or z = 24, got z = %d for lop_fixrx\n"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: mmo.c:1837
|
2002-01-17 22:12:08 +08:00
|
|
|
#, c-format
|
|
|
|
msgid ""
|
|
|
|
"%s: invalid mmo file: leading byte of operand word must be 0 or 1, got %d "
|
|
|
|
"for lop_fixrx\n"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: mmo.c:1860
|
2002-01-17 22:12:08 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "%s: cannot allocate file name for file number %d, %d bytes\n"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: mmo.c:1880
|
2002-01-17 22:12:08 +08:00
|
|
|
#, c-format
|
|
|
|
msgid ""
|
|
|
|
"%s: invalid mmo file: file number %d `%s', was already entered as `%s'\n"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: mmo.c:1893
|
2002-01-17 22:12:08 +08:00
|
|
|
#, c-format
|
|
|
|
msgid ""
|
|
|
|
"%s: invalid mmo file: file name for number %d was not specified before use\n"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: mmo.c:1999
|
2002-01-17 22:12:08 +08:00
|
|
|
#, c-format
|
|
|
|
msgid ""
|
|
|
|
"%s: invalid mmo file: fields y and z of lop_stab non-zero, y: %d, z: %d\n"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: mmo.c:2035
|
2002-01-17 22:12:08 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "%s: invalid mmo file: lop_end not last item in file\n"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: mmo.c:2048
|
2002-01-17 22:12:08 +08:00
|
|
|
#, c-format
|
|
|
|
msgid ""
|
|
|
|
"%s: invalid mmo file: YZ of lop_end (%ld) not equal to the number of tetras "
|
|
|
|
"to the preceding lop_stab (%ld)\n"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: mmo.c:2698
|
2002-01-17 22:12:08 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "%s: invalid symbol table: duplicate symbol `%s'\n"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: mmo.c:2949
|
2002-01-17 22:12:08 +08:00
|
|
|
#, c-format
|
|
|
|
msgid ""
|
|
|
|
"%s: Bad symbol definition: `Main' set to %s rather than the start address %"
|
|
|
|
"s\n"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: mmo.c:3039
|
2002-01-17 22:12:08 +08:00
|
|
|
#, c-format
|
|
|
|
msgid ""
|
|
|
|
"%s: warning: symbol table too large for mmo, larger than 65535 32-bit words: "
|
|
|
|
"%d. Only `Main' will be emitted.\n"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: mmo.c:3084
|
2002-01-17 22:12:08 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "%s: internal error, symbol table changed size from %d to %d words\n"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: mmo.c:3139
|
2002-01-17 22:12:08 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "%s: internal error, internal register section %s had contents\n"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: mmo.c:3191
|
2002-01-17 22:12:08 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "%s: no initialized registers; section length 0\n"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: mmo.c:3197
|
2002-01-17 22:12:08 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "%s: too many initialized registers; section length %ld\n"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: mmo.c:3202
|
2002-01-17 22:12:08 +08:00
|
|
|
#, c-format
|
|
|
|
msgid ""
|
|
|
|
"%s: invalid start address for initialized registers of length %ld: 0x%lx%"
|
|
|
|
"08lx\n"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: oasys.c:1052
|
1999-06-03 11:26:53 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "%s: can not represent section `%s' in oasys"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: osf-core.c:137
|
1999-06-03 11:26:53 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "Unhandled OSF/1 core file section type %d\n"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#. XXX code yet to be written.
|
|
|
|
#: peicode.h:787
|
2002-01-17 22:12:08 +08:00
|
|
|
#, c-format
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid "%s: Unhandled import type; %x"
|
2002-01-17 22:12:08 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: peicode.h:792
|
2002-01-17 22:12:08 +08:00
|
|
|
#, c-format
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid "%s: Unrecognised import type; %x"
|
2002-01-17 22:12:08 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: peicode.h:806
|
2002-01-17 22:12:08 +08:00
|
|
|
#, c-format
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid "%s: Unrecognised import name type; %x"
|
2002-01-17 22:12:08 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: peicode.h:1164
|
2002-01-17 22:12:08 +08:00
|
|
|
#, c-format
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid "%s: Unrecognised machine type (0x%x) in Import Library Format archive"
|
2002-01-17 22:12:08 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: peicode.h:1176
|
2000-04-04 22:32:35 +08:00
|
|
|
#, c-format
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid ""
|
|
|
|
"%s: Recognised but unhandled machine type (0x%x) in Import Library Format "
|
|
|
|
"archive"
|
2000-04-04 22:32:35 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: peicode.h:1193
|
2000-04-04 22:32:35 +08:00
|
|
|
#, c-format
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid "%s: size field is zero in Import Library Format header"
|
2000-04-04 22:32:35 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: peicode.h:1224
|
2000-04-04 22:32:35 +08:00
|
|
|
#, c-format
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid "%s: string not null terminated in ILF object file."
|
2000-04-04 22:32:35 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-14 19:18:13 +08:00
|
|
|
#: pe-mips.c:659
|
|
|
|
#, c-format
|
|
|
|
msgid "%s: `ld -r' not supported with PE MIPS objects\n"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#. OK, at this point the following variables are set up:
|
|
|
|
#. src = VMA of the memory we're fixing up
|
|
|
|
#. mem = pointer to memory we're fixing up
|
|
|
|
#. val = VMA of what we need to refer to
|
|
|
|
#.
|
|
|
|
#: pe-mips.c:795
|
|
|
|
#, c-format
|
|
|
|
msgid "%s: unimplemented %s\n"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: pe-mips.c:821
|
|
|
|
#, c-format
|
|
|
|
msgid "%s: jump too far away\n"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: pe-mips.c:848
|
|
|
|
#, c-format
|
|
|
|
msgid "%s: bad pair/reflo after refhi\n"
|
|
|
|
msgstr ""
|
|
|
|
|
2002-01-17 22:12:08 +08:00
|
|
|
#: ppcboot.c:416
|
1999-06-03 11:26:53 +08:00
|
|
|
msgid ""
|
|
|
|
"\n"
|
|
|
|
"ppcboot header:\n"
|
|
|
|
msgstr ""
|
|
|
|
|
2002-01-17 22:12:08 +08:00
|
|
|
#: ppcboot.c:417
|
1999-06-03 11:26:53 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "Entry offset = 0x%.8lx (%ld)\n"
|
|
|
|
msgstr ""
|
|
|
|
|
2002-01-17 22:12:08 +08:00
|
|
|
#: ppcboot.c:418
|
1999-06-03 11:26:53 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "Length = 0x%.8lx (%ld)\n"
|
|
|
|
msgstr ""
|
|
|
|
|
2002-01-17 22:12:08 +08:00
|
|
|
#: ppcboot.c:421
|
1999-06-03 11:26:53 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "Flag field = 0x%.2x\n"
|
|
|
|
msgstr ""
|
|
|
|
|
2002-01-17 22:12:08 +08:00
|
|
|
#: ppcboot.c:427
|
1999-06-03 11:26:53 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "Partition name = \"%s\"\n"
|
|
|
|
msgstr ""
|
|
|
|
|
2002-01-17 22:12:08 +08:00
|
|
|
#: ppcboot.c:446
|
1999-06-03 11:26:53 +08:00
|
|
|
#, c-format
|
|
|
|
msgid ""
|
|
|
|
"\n"
|
|
|
|
"Partition[%d] start = { 0x%.2x, 0x%.2x, 0x%.2x, 0x%.2x }\n"
|
|
|
|
msgstr ""
|
|
|
|
|
2002-01-17 22:12:08 +08:00
|
|
|
#: ppcboot.c:452
|
1999-06-03 11:26:53 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "Partition[%d] end = { 0x%.2x, 0x%.2x, 0x%.2x, 0x%.2x }\n"
|
|
|
|
msgstr ""
|
|
|
|
|
2002-01-17 22:12:08 +08:00
|
|
|
#: ppcboot.c:458
|
1999-06-03 11:26:53 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "Partition[%d] sector = 0x%.8lx (%ld)\n"
|
|
|
|
msgstr ""
|
|
|
|
|
2002-01-17 22:12:08 +08:00
|
|
|
#: ppcboot.c:459
|
1999-06-03 11:26:53 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "Partition[%d] length = 0x%.8lx (%ld)\n"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: som.c:5422
|
1999-06-03 11:26:53 +08:00
|
|
|
msgid "som_sizeof_headers unimplemented"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: srec.c:302
|
1999-06-03 11:26:53 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "%s:%d: Unexpected character `%s' in S-record file\n"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: stabs.c:319
|
|
|
|
#, c-format
|
|
|
|
msgid "%s(%s+0x%lx): Stabs entry has invalid string index."
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-11 13:10:21 +08:00
|
|
|
#: syms.c:1019
|
1999-06-03 11:26:53 +08:00
|
|
|
msgid "Unsupported .stab relocation"
|
|
|
|
msgstr ""
|
|
|
|
|
2002-01-17 22:12:08 +08:00
|
|
|
#: vms-gsd.c:356
|
2000-02-28 00:55:52 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "bfd_make_section (%s) failed"
|
|
|
|
msgstr ""
|
|
|
|
|
2002-01-17 22:12:08 +08:00
|
|
|
#: vms-gsd.c:371
|
2000-02-28 00:55:52 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "bfd_set_section_flags (%s, %x) failed"
|
|
|
|
msgstr ""
|
|
|
|
|
2002-01-17 22:12:08 +08:00
|
|
|
#: vms-gsd.c:407
|
2000-02-28 00:55:52 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "Size mismatch section %s=%lx, %s=%lx"
|
|
|
|
msgstr ""
|
|
|
|
|
2002-01-17 22:12:08 +08:00
|
|
|
#: vms-gsd.c:704
|
1999-06-03 11:26:53 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "unknown gsd/egsd subtype %d"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: vms-hdr.c:408
|
1999-06-03 11:26:53 +08:00
|
|
|
msgid "Object module NOT error-free !\n"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: vms-misc.c:541
|
1999-06-03 11:26:53 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "Stack overflow (%d) in _bfd_vms_push"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: vms-misc.c:559
|
1999-06-03 11:26:53 +08:00
|
|
|
msgid "Stack underflow in _bfd_vms_pop"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: vms-misc.c:918
|
1999-06-03 11:26:53 +08:00
|
|
|
msgid "_bfd_vms_output_counted called with zero bytes"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: vms-misc.c:923
|
1999-06-03 11:26:53 +08:00
|
|
|
msgid "_bfd_vms_output_counted called with too many bytes"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: vms-misc.c:1054
|
1999-06-03 11:26:53 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "Symbol %s replaced by %s\n"
|
|
|
|
msgstr ""
|
|
|
|
|
2001-10-30 23:20:14 +08:00
|
|
|
#: vms-misc.c:1117
|
1999-06-03 11:26:53 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "failed to enter %s"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: vms-tir.c:102
|
1999-06-03 11:26:53 +08:00
|
|
|
msgid "No Mem !"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: vms-tir.c:383
|
1999-06-03 11:26:53 +08:00
|
|
|
#, c-format
|
2002-02-01 01:33:08 +08:00
|
|
|
msgid "bad section index in %s"
|
1999-06-03 11:26:53 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: vms-tir.c:396
|
1999-06-03 11:26:53 +08:00
|
|
|
#, c-format
|
2002-02-01 01:33:08 +08:00
|
|
|
msgid "unsupported STA cmd %s"
|
1999-06-03 11:26:53 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: vms-tir.c:401 vms-tir.c:1261
|
1999-06-03 11:26:53 +08:00
|
|
|
#, c-format
|
2002-02-01 01:33:08 +08:00
|
|
|
msgid "reserved STA cmd %d"
|
1999-06-03 11:26:53 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: vms-tir.c:512 vms-tir.c:535
|
1999-06-03 11:26:53 +08:00
|
|
|
#, c-format
|
2002-02-01 01:33:08 +08:00
|
|
|
msgid "%s: no symbol \"%s\""
|
1999-06-03 11:26:53 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2002-02-01 01:33:08 +08:00
|
|
|
#. unsigned shift
|
|
|
|
#. rotate
|
|
|
|
#. Redefine symbol to current location.
|
|
|
|
#. Define a literal.
|
2003-06-04 00:24:06 +08:00
|
|
|
#: vms-tir.c:602 vms-tir.c:714 vms-tir.c:824 vms-tir.c:842 vms-tir.c:850
|
|
|
|
#: vms-tir.c:859 vms-tir.c:1584
|
1999-06-03 11:26:53 +08:00
|
|
|
#, c-format
|
2002-02-01 01:33:08 +08:00
|
|
|
msgid "%s: not supported"
|
1999-06-03 11:26:53 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: vms-tir.c:607 vms-tir.c:1439
|
1999-06-03 11:26:53 +08:00
|
|
|
#, c-format
|
2002-02-01 01:33:08 +08:00
|
|
|
msgid "%s: not implemented"
|
1999-06-03 11:26:53 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: vms-tir.c:611 vms-tir.c:1443
|
1999-06-03 11:26:53 +08:00
|
|
|
#, c-format
|
2002-02-01 01:33:08 +08:00
|
|
|
msgid "reserved STO cmd %d"
|
1999-06-03 11:26:53 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: vms-tir.c:729 vms-tir.c:1589
|
2002-02-01 01:33:08 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "reserved OPR cmd %d"
|
1999-06-03 11:26:53 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: vms-tir.c:797 vms-tir.c:1653
|
2002-02-01 01:33:08 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "reserved CTL cmd %d"
|
1999-06-03 11:26:53 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2002-02-01 01:33:08 +08:00
|
|
|
#. stack byte from image
|
|
|
|
#. arg: none.
|
2003-06-04 00:24:06 +08:00
|
|
|
#: vms-tir.c:1169
|
2002-02-01 01:33:08 +08:00
|
|
|
msgid "stack-from-image not implemented"
|
1999-06-03 11:26:53 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: vms-tir.c:1187
|
2002-02-01 01:33:08 +08:00
|
|
|
msgid "stack-entry-mask not fully implemented"
|
1999-06-03 11:26:53 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2002-02-01 01:33:08 +08:00
|
|
|
#. compare procedure argument
|
|
|
|
#. arg: cs symbol name
|
|
|
|
#. by argument index
|
|
|
|
#. da argument descriptor
|
1999-06-03 11:26:53 +08:00
|
|
|
#.
|
2002-02-01 01:33:08 +08:00
|
|
|
#. compare argument descriptor with symbol argument (ARG$V_PASSMECH)
|
|
|
|
#. and stack TRUE (args match) or FALSE (args dont match) value.
|
2003-06-04 00:24:06 +08:00
|
|
|
#: vms-tir.c:1201
|
1999-06-03 11:26:53 +08:00
|
|
|
msgid "PASSMECH not fully implemented"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: vms-tir.c:1220
|
2002-02-01 01:33:08 +08:00
|
|
|
msgid "stack-local-symbol not fully implemented"
|
1999-06-03 11:26:53 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: vms-tir.c:1233
|
2002-02-01 01:33:08 +08:00
|
|
|
msgid "stack-literal not fully implemented"
|
1999-06-03 11:26:53 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: vms-tir.c:1254
|
2002-02-01 01:33:08 +08:00
|
|
|
msgid "stack-local-symbol-entry-point-mask not fully implemented"
|
1999-06-03 11:26:53 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: vms-tir.c:1531 vms-tir.c:1543 vms-tir.c:1555 vms-tir.c:1567 vms-tir.c:1632
|
|
|
|
#: vms-tir.c:1640 vms-tir.c:1648
|
1999-06-03 11:26:53 +08:00
|
|
|
#, c-format
|
2002-02-01 01:33:08 +08:00
|
|
|
msgid "%s: not fully implemented"
|
1999-06-03 11:26:53 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: vms-tir.c:1705
|
1999-06-03 11:26:53 +08:00
|
|
|
#, c-format
|
2002-02-01 01:33:08 +08:00
|
|
|
msgid "obj code %d not found"
|
1999-06-03 11:26:53 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: vms-tir.c:2043
|
1999-06-03 11:26:53 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "SEC_RELOC with no relocs in section %s"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: vms-tir.c:2331
|
1999-06-03 11:26:53 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "Unhandled relocation %s"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: xcofflink.c:1244
|
1999-06-03 11:26:53 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "%s: `%s' has line numbers but no enclosing section"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: xcofflink.c:1297
|
1999-06-03 11:26:53 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "%s: class %d symbol `%s' has no aux entries"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: xcofflink.c:1320
|
1999-06-03 11:26:53 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "%s: symbol `%s' has unrecognized csect type %d"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: xcofflink.c:1332
|
1999-06-03 11:26:53 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "%s: bad XTY_ER symbol `%s': class %d scnum %d scnlen %d"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: xcofflink.c:1368
|
1999-06-03 11:26:53 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "%s: XMC_TC0 symbol `%s' is class %d scnlen %d"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: xcofflink.c:1520
|
1999-06-03 11:26:53 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "%s: csect `%s' not in enclosing section"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: xcofflink.c:1627
|
1999-06-03 11:26:53 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "%s: misplaced XTY_LD `%s'"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: xcofflink.c:1958
|
1999-06-03 11:26:53 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "%s: reloc %s:%d not in csect"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: xcofflink.c:2095
|
1999-06-03 11:26:53 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "%s: XCOFF shared object when not producing XCOFF output"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: xcofflink.c:2116
|
1999-06-03 11:26:53 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "%s: dynamic object with no .loader section"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: xcofflink.c:2761
|
1999-06-03 11:26:53 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "%s: no such symbol"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: xcofflink.c:2894
|
2001-06-15 17:03:14 +08:00
|
|
|
msgid "error: undefined symbol __rtinit"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: xcofflink.c:3455
|
1999-06-03 11:26:53 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "warning: attempt to export undefined symbol `%s'"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: xcofflink.c:4448
|
1999-06-03 11:26:53 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "TOC overflow: 0x%lx > 0x10000; try -mminimal-toc when compiling"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: xcofflink.c:5288 xcofflink.c:5755 xcofflink.c:5817 xcofflink.c:6119
|
1999-06-03 11:26:53 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "%s: loader reloc in unrecognized section `%s'"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: xcofflink.c:5310 xcofflink.c:6130
|
1999-06-03 11:26:53 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "%s: `%s' in loader reloc but not loader sym"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: xcofflink.c:5325
|
1999-06-03 11:26:53 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "%s: loader reloc in read-only section %s"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-17 22:22:45 +08:00
|
|
|
#: elf32-ia64.c:2271 elf64-ia64.c:2271
|
2001-03-24 02:05:30 +08:00
|
|
|
msgid "@pltoff reloc against local symbol"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-17 22:22:45 +08:00
|
|
|
#: elf32-ia64.c:3663 elf64-ia64.c:3663
|
2001-03-24 02:05:30 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "%s: short data segment overflowed (0x%lx >= 0x400000)"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-17 22:22:45 +08:00
|
|
|
#: elf32-ia64.c:3674 elf64-ia64.c:3674
|
2001-03-24 02:05:30 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "%s: __gp does not cover short data segment"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-17 22:22:45 +08:00
|
|
|
#: elf32-ia64.c:3986 elf64-ia64.c:3986
|
2001-03-24 02:05:30 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "%s: linking non-pic code in a shared library"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-17 22:22:45 +08:00
|
|
|
#: elf32-ia64.c:4017 elf64-ia64.c:4017
|
2001-03-24 02:05:30 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "%s: @gprel relocation against dynamic symbol %s"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-17 22:22:45 +08:00
|
|
|
#: elf32-ia64.c:4077 elf64-ia64.c:4077
|
2003-07-11 13:10:21 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "%s: linking non-pic code in a position independent executable"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-17 22:22:45 +08:00
|
|
|
#: elf32-ia64.c:4214 elf64-ia64.c:4214
|
2003-06-04 00:24:06 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "%s: @internal branch to dynamic symbol %s"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-17 22:22:45 +08:00
|
|
|
#: elf32-ia64.c:4216 elf64-ia64.c:4216
|
2001-03-24 02:05:30 +08:00
|
|
|
#, c-format
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid "%s: speculation fixup to dynamic symbol %s"
|
2001-03-24 02:05:30 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-17 22:22:45 +08:00
|
|
|
#: elf32-ia64.c:4218 elf64-ia64.c:4218
|
2001-03-24 02:05:30 +08:00
|
|
|
#, c-format
|
2003-06-04 00:24:06 +08:00
|
|
|
msgid "%s: @pcrel relocation against dynamic symbol %s"
|
2001-03-24 02:05:30 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-07-17 22:22:45 +08:00
|
|
|
#: elf32-ia64.c:4430 elf64-ia64.c:4430
|
2001-03-24 02:05:30 +08:00
|
|
|
msgid "unsupported reloc"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-17 22:22:45 +08:00
|
|
|
#: elf32-ia64.c:4709 elf64-ia64.c:4709
|
2001-03-24 02:05:30 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "%s: linking trap-on-NULL-dereference with non-trapping files"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-17 22:22:45 +08:00
|
|
|
#: elf32-ia64.c:4718 elf64-ia64.c:4718
|
2001-03-24 02:05:30 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "%s: linking big-endian files with little-endian files"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-17 22:22:45 +08:00
|
|
|
#: elf32-ia64.c:4727 elf64-ia64.c:4727
|
2001-03-24 02:05:30 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "%s: linking 64-bit files with 32-bit files"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-17 22:22:45 +08:00
|
|
|
#: elf32-ia64.c:4736 elf64-ia64.c:4736
|
2001-03-24 02:05:30 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "%s: linking constant-gp files with non-constant-gp files"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-07-17 22:22:45 +08:00
|
|
|
#: elf32-ia64.c:4746 elf64-ia64.c:4746
|
2001-03-24 02:05:30 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "%s: linking auto-pic files with non-auto-pic files"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: peigen.c:985 pepigen.c:985
|
2001-03-24 02:05:30 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "%s: line number overflow: 0x%lx > 0xffff"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: peigen.c:1002 pepigen.c:1002
|
2001-03-24 02:05:30 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "%s: reloc overflow 1: 0x%lx > 0xffff"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: peigen.c:1016 pepigen.c:1016
|
2001-03-24 02:05:30 +08:00
|
|
|
msgid "Export Directory [.edata (or where ever we found it)]"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: peigen.c:1017 pepigen.c:1017
|
2001-03-24 02:05:30 +08:00
|
|
|
msgid "Import Directory [parts of .idata]"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: peigen.c:1018 pepigen.c:1018
|
2001-03-24 02:05:30 +08:00
|
|
|
msgid "Resource Directory [.rsrc]"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: peigen.c:1019 pepigen.c:1019
|
2001-03-24 02:05:30 +08:00
|
|
|
msgid "Exception Directory [.pdata]"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: peigen.c:1020 pepigen.c:1020
|
2001-03-24 02:05:30 +08:00
|
|
|
msgid "Security Directory"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: peigen.c:1021 pepigen.c:1021
|
2001-03-24 02:05:30 +08:00
|
|
|
msgid "Base Relocation Directory [.reloc]"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: peigen.c:1022 pepigen.c:1022
|
2001-03-24 02:05:30 +08:00
|
|
|
msgid "Debug Directory"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: peigen.c:1023 pepigen.c:1023
|
2001-03-24 02:05:30 +08:00
|
|
|
msgid "Description Directory"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: peigen.c:1024 pepigen.c:1024
|
2001-03-24 02:05:30 +08:00
|
|
|
msgid "Special Directory"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: peigen.c:1025 pepigen.c:1025
|
2001-03-24 02:05:30 +08:00
|
|
|
msgid "Thread Storage Directory [.tls]"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: peigen.c:1026 pepigen.c:1026
|
2001-03-24 02:05:30 +08:00
|
|
|
msgid "Load Configuration Directory"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: peigen.c:1027 pepigen.c:1027
|
2001-03-24 02:05:30 +08:00
|
|
|
msgid "Bound Import Directory"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: peigen.c:1028 pepigen.c:1028
|
2001-03-24 02:05:30 +08:00
|
|
|
msgid "Import Address Table Directory"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: peigen.c:1029 pepigen.c:1029
|
2001-03-24 02:05:30 +08:00
|
|
|
msgid "Delay Import Directory"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: peigen.c:1030 peigen.c:1031 pepigen.c:1030 pepigen.c:1031
|
2001-03-24 02:05:30 +08:00
|
|
|
msgid "Reserved"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: peigen.c:1094 pepigen.c:1094
|
2001-03-24 02:05:30 +08:00
|
|
|
msgid ""
|
|
|
|
"\n"
|
|
|
|
"There is an import table, but the section containing it could not be found\n"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: peigen.c:1099 pepigen.c:1099
|
2001-03-24 02:05:30 +08:00
|
|
|
#, c-format
|
|
|
|
msgid ""
|
|
|
|
"\n"
|
|
|
|
"There is an import table in %s at 0x%lx\n"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: peigen.c:1136 pepigen.c:1136
|
2001-03-24 02:05:30 +08:00
|
|
|
#, c-format
|
|
|
|
msgid ""
|
|
|
|
"\n"
|
|
|
|
"Function descriptor located at the start address: %04lx\n"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: peigen.c:1139 pepigen.c:1139
|
2001-03-24 02:05:30 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "\tcode-base %08lx toc (loadable/actual) %08lx/%08lx\n"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: peigen.c:1145 pepigen.c:1145
|
2001-03-24 02:05:30 +08:00
|
|
|
msgid ""
|
|
|
|
"\n"
|
|
|
|
"No reldata section! Function descriptor not decoded.\n"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: peigen.c:1150 pepigen.c:1150
|
2001-03-24 02:05:30 +08:00
|
|
|
#, c-format
|
|
|
|
msgid ""
|
|
|
|
"\n"
|
|
|
|
"The Import Tables (interpreted %s section contents)\n"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: peigen.c:1153 pepigen.c:1153
|
2002-02-01 01:33:08 +08:00
|
|
|
msgid ""
|
|
|
|
" vma: Hint Time Forward DLL First\n"
|
|
|
|
" Table Stamp Chain Name Thunk\n"
|
2001-03-24 02:05:30 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: peigen.c:1204 pepigen.c:1204
|
2001-03-24 02:05:30 +08:00
|
|
|
#, c-format
|
|
|
|
msgid ""
|
|
|
|
"\n"
|
|
|
|
"\tDLL Name: %s\n"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: peigen.c:1215 pepigen.c:1215
|
|
|
|
msgid "\tvma: Hint/Ord Member-Name Bound-To\n"
|
2001-03-24 02:05:30 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: peigen.c:1240 pepigen.c:1240
|
|
|
|
msgid ""
|
|
|
|
"\n"
|
|
|
|
"There is a first thunk, but the section containing it could not be found\n"
|
2001-03-24 02:05:30 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: peigen.c:1380 pepigen.c:1380
|
2001-03-24 02:05:30 +08:00
|
|
|
msgid ""
|
|
|
|
"\n"
|
|
|
|
"There is an export table, but the section containing it could not be found\n"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: peigen.c:1385 pepigen.c:1385
|
2001-03-24 02:05:30 +08:00
|
|
|
#, c-format
|
|
|
|
msgid ""
|
|
|
|
"\n"
|
|
|
|
"There is an export table in %s at 0x%lx\n"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: peigen.c:1416 pepigen.c:1416
|
2001-03-24 02:05:30 +08:00
|
|
|
#, c-format
|
|
|
|
msgid ""
|
|
|
|
"\n"
|
|
|
|
"The Export Tables (interpreted %s section contents)\n"
|
|
|
|
"\n"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: peigen.c:1420 pepigen.c:1420
|
2001-03-24 02:05:30 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "Export Flags \t\t\t%lx\n"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: peigen.c:1423 pepigen.c:1423
|
2001-03-24 02:05:30 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "Time/Date stamp \t\t%lx\n"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: peigen.c:1426 pepigen.c:1426
|
2001-03-24 02:05:30 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "Major/Minor \t\t\t%d/%d\n"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: peigen.c:1429 pepigen.c:1429
|
2001-03-24 02:05:30 +08:00
|
|
|
msgid "Name \t\t\t\t"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: peigen.c:1435 pepigen.c:1435
|
2001-03-24 02:05:30 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "Ordinal Base \t\t\t%ld\n"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: peigen.c:1438 pepigen.c:1438
|
2001-03-24 02:05:30 +08:00
|
|
|
msgid "Number in:\n"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: peigen.c:1441 pepigen.c:1441
|
2001-03-24 02:05:30 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "\tExport Address Table \t\t%08lx\n"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: peigen.c:1445 pepigen.c:1445
|
2001-03-24 02:05:30 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "\t[Name Pointer/Ordinal] Table\t%08lx\n"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: peigen.c:1448 pepigen.c:1448
|
2001-03-24 02:05:30 +08:00
|
|
|
msgid "Table Addresses\n"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: peigen.c:1451 pepigen.c:1451
|
2001-03-24 02:05:30 +08:00
|
|
|
msgid "\tExport Address Table \t\t"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: peigen.c:1456 pepigen.c:1456
|
2001-03-24 02:05:30 +08:00
|
|
|
msgid "\tName Pointer Table \t\t"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: peigen.c:1461 pepigen.c:1461
|
2001-03-24 02:05:30 +08:00
|
|
|
msgid "\tOrdinal Table \t\t\t"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: peigen.c:1476 pepigen.c:1476
|
2001-03-24 02:05:30 +08:00
|
|
|
#, c-format
|
|
|
|
msgid ""
|
|
|
|
"\n"
|
|
|
|
"Export Address Table -- Ordinal Base %ld\n"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: peigen.c:1495 pepigen.c:1495
|
2001-03-24 02:05:30 +08:00
|
|
|
msgid "Forwarder RVA"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: peigen.c:1506 pepigen.c:1506
|
2001-03-24 02:05:30 +08:00
|
|
|
msgid "Export RVA"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: peigen.c:1513 pepigen.c:1513
|
2001-03-24 02:05:30 +08:00
|
|
|
msgid ""
|
|
|
|
"\n"
|
|
|
|
"[Ordinal/Name Pointer] Table\n"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: peigen.c:1568 pepigen.c:1568
|
2001-03-24 02:05:30 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "Warning, .pdata section size (%ld) is not a multiple of %d\n"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: peigen.c:1572 pepigen.c:1572
|
2001-03-24 02:05:30 +08:00
|
|
|
msgid ""
|
|
|
|
"\n"
|
|
|
|
"The Function Table (interpreted .pdata section contents)\n"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: peigen.c:1575 pepigen.c:1575
|
2001-03-24 02:05:30 +08:00
|
|
|
msgid " vma:\t\t\tBegin Address End Address Unwind Info\n"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: peigen.c:1577 pepigen.c:1577
|
2002-02-01 01:33:08 +08:00
|
|
|
msgid ""
|
|
|
|
" vma:\t\tBegin End EH EH PrologEnd Exception\n"
|
|
|
|
" \t\tAddress Address Handler Data Address Mask\n"
|
2001-03-24 02:05:30 +08:00
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: peigen.c:1647 pepigen.c:1647
|
2001-03-24 02:05:30 +08:00
|
|
|
msgid " Register save millicode"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: peigen.c:1650 pepigen.c:1650
|
2001-03-24 02:05:30 +08:00
|
|
|
msgid " Register restore millicode"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: peigen.c:1653 pepigen.c:1653
|
2001-03-24 02:05:30 +08:00
|
|
|
msgid " Glue code sequence"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: peigen.c:1705 pepigen.c:1705
|
2001-03-24 02:05:30 +08:00
|
|
|
msgid ""
|
|
|
|
"\n"
|
|
|
|
"\n"
|
|
|
|
"PE File Base Relocations (interpreted .reloc section contents)\n"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: peigen.c:1735 pepigen.c:1735
|
2001-03-24 02:05:30 +08:00
|
|
|
#, c-format
|
|
|
|
msgid ""
|
|
|
|
"\n"
|
|
|
|
"Virtual Address: %08lx Chunk size %ld (0x%lx) Number of fixups %ld\n"
|
|
|
|
msgstr ""
|
|
|
|
|
2003-06-04 00:24:06 +08:00
|
|
|
#: peigen.c:1748 pepigen.c:1748
|
2001-03-24 02:05:30 +08:00
|
|
|
#, c-format
|
|
|
|
msgid "\treloc %4d offset %4x [%4lx] %s"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#. The MS dumpbin program reportedly ands with 0xff0f before
|
|
|
|
#. printing the characteristics field. Not sure why. No reason to
|
|
|
|
#. emulate it here.
|
2003-06-04 00:24:06 +08:00
|
|
|
#: peigen.c:1788 pepigen.c:1788
|
2001-03-24 02:05:30 +08:00
|
|
|
#, c-format
|
|
|
|
msgid ""
|
|
|
|
"\n"
|
|
|
|
"Characteristics 0x%x\n"
|
|
|
|
msgstr ""
|