OSDN Git Service
Jakub Jelinek [Thu, 12 Sep 2002 14:01:20 +0000 (14:01 +0000)]
* elf32-i386.c (dtpoff_base, tpoff): Don't crash if tls_segment is
NULL.
(elf_i386_relocate_section): Return false after printing error about
unresolvable relocation.
Nick Clifton [Thu, 12 Sep 2002 13:18:57 +0000 (13:18 +0000)]
Fix handling of R_ARM_THM_PC11
Nick Clifton [Thu, 12 Sep 2002 10:35:54 +0000 (10:35 +0000)]
Handle DW_OP_GNU_push_tls_address.
Synch up with the gcc's dwarf2.h
Alan Modra [Thu, 12 Sep 2002 03:58:37 +0000 (03:58 +0000)]
* ppc-dis.c (powerpc_dialect): Add missing PPC_OPCODE_CLASSIC.
DJ Delorie [Thu, 12 Sep 2002 01:11:29 +0000 (01:11 +0000)]
merge from gcc
Alan Modra [Thu, 12 Sep 2002 00:00:05 +0000 (00:00 +0000)]
daily update
Jeff Law [Wed, 11 Sep 2002 19:19:11 +0000 (19:19 +0000)]
* elf32-h8300.c (elf32_h8_relax_section): Fix typo.
Nick Clifton [Wed, 11 Sep 2002 14:42:45 +0000 (14:42 +0000)]
New TI port supports both C4x and C3x series of DSPs.
Nick Clifton [Wed, 11 Sep 2002 14:30:53 +0000 (14:30 +0000)]
Check functionname_ptr and line_ptr before deciding we've found a symbol.
Nick Clifton [Wed, 11 Sep 2002 13:52:17 +0000 (13:52 +0000)]
Update translations
Jakub Jelinek [Wed, 11 Sep 2002 09:51:58 +0000 (09:51 +0000)]
* config/tc-i386.c (md_apply_fix3): Allow addend for
BFD_RELOC_386_TLS_LDO_32, BFD_RELOC_386_TLS_LE and
BFD_RELOC_386_TLS_LE_32.
Alan Modra [Wed, 11 Sep 2002 00:00:04 +0000 (00:00 +0000)]
daily update
Frank Ch. Eigler [Tue, 10 Sep 2002 19:04:38 +0000 (19:04 +0000)]
* test commit
Jeff Johnston [Tue, 10 Sep 2002 19:02:38 +0000 (19:02 +0000)]
2002-09-10 Jeff Johnston <jjohnstn@redhat.com>
* COPYING.NEWLIB: More updates.
Nick Clifton [Tue, 10 Sep 2002 10:39:03 +0000 (10:39 +0000)]
Call new functions do_sections, do_sections64, depending on corefile (32-bit
or 64-bit).
Nick Clifton [Tue, 10 Sep 2002 08:21:41 +0000 (08:21 +0000)]
Add Ben Elliston as a maintainer for configure and testsuite changes.
Add paragraphs about testsuite and config patches.
Alan Modra [Tue, 10 Sep 2002 00:00:05 +0000 (00:00 +0000)]
daily update
Jeff Law [Mon, 9 Sep 2002 21:31:40 +0000 (21:31 +0000)]
* config/tc-hppa.c (md_apply_fix3): Don't set fx_done for
marker relocations such as ENTRY/EXIT.
* config/tc-hppa.h (MD_APPLY_SYM_VALUE): Definition applies
to both OBJ_ELF and OBJ_SOM.
Jeff Johnston [Mon, 9 Sep 2002 20:57:01 +0000 (20:57 +0000)]
2002-09-09 Jeff Johnston <jjohnstn@redhat.com>
* COPYING.NEWLIB: Update.
Richard Henderson [Mon, 9 Sep 2002 17:34:07 +0000 (17:34 +0000)]
* elfxx-ia64.c (elfNN_ia64_relax_section): Handle PCREL21M
and PCREL21F like PCREL21B.
Ben Elliston [Mon, 9 Sep 2002 01:54:45 +0000 (01:54 +0000)]
2002-09-08 Ben Elliston <bje@redhat.com>
* gas/hppa/basic/basic.exp: Update DejaGnu mail address.
* gas/hppa/parse/parse.exp: Likewise.
* gas/hppa/reloc/reloc.exp: Likewise.
* gas/hppa/unsorted/unsorted.exp: Likewise.
* gas/mn10200/basic.exp: Likewise.
* gas/mn10300/basic.exp: Likewise.
* gas/sh/basic.exp: Likewise.
* gas/sh/sh64/sh64.exp: Likewise.
* gas/v850/basic.exp: Likewise.
* lib/gas-defs.exp: Likewise.
* gas/all/gas.exp: Removing limping support for DejaGnu 1.1.1.
* gasp/gasp.exp: Likewise.
Alan Modra [Mon, 9 Sep 2002 00:00:08 +0000 (00:00 +0000)]
daily update
Alan Modra [Sun, 8 Sep 2002 00:00:04 +0000 (00:00 +0000)]
daily update
Alan Modra [Sat, 7 Sep 2002 00:00:04 +0000 (00:00 +0000)]
daily update
Jeff Law [Fri, 6 Sep 2002 20:42:40 +0000 (20:42 +0000)]
* configure.tgt (h8300-*-hms*, h8500-*-hms*): Restore.
Alan Modra [Fri, 6 Sep 2002 14:26:05 +0000 (14:26 +0000)]
correct entry
DJ Delorie [Fri, 6 Sep 2002 00:03:11 +0000 (00:03 +0000)]
merge from gcc
Alan Modra [Fri, 6 Sep 2002 00:00:04 +0000 (00:00 +0000)]
daily update
Alan Modra [Thu, 5 Sep 2002 00:07:08 +0000 (00:07 +0000)]
* ld-sh/sh64/cmpct1.xd: Adjust for lack of abs section sym.
* ld-sh/sh64/crange3-cmpct.rd: Likewise.
* ld-sh/sh64/crange3-media.rd: Likewise.
* ld-sh/sh64/crange3.rd: Likewise.
Alan Modra [Thu, 5 Sep 2002 00:05:44 +0000 (00:05 +0000)]
* gas/i386/absrel.s: New.
* gas/i386/absrel.d: New.
* gas/i386/pcrel.s: New.
* gas/i386/pcrel.d: New.
* gas/i386/i386.exp: Run them.
* gas/testsuite/gas/mmix/comment-1.d: Don't test the symbol
index, the name will do.
* gas/mri/moveml.d: Escape dots.
* gas/macros/macros.exp (strings): Add rs6000-*-* to xfails.
* gas/mips/beq.s: Don't make text_label global.
* gas/mips/mips32.s: Likewise.
* gas/mips/mips64-mips3d.s: Likewise.
Alan Modra [Thu, 5 Sep 2002 00:01:18 +0000 (00:01 +0000)]
gas reloc rewrite.
Alan Modra [Thu, 5 Sep 2002 00:00:03 +0000 (00:00 +0000)]
daily update
Kevin Buettner [Wed, 4 Sep 2002 23:10:59 +0000 (23:10 +0000)]
* config.bfd (mips*-*-irix6*): Add new ABI vectors. Make n32 default
vector.
Alan Modra [Wed, 4 Sep 2002 13:43:43 +0000 (13:43 +0000)]
* config/tc-ppc.c (ppc_frob_symbol): Formatting, warning fix.
(ppc_fix_adjustable <coff version>): Cleanup.
Alan Modra [Wed, 4 Sep 2002 13:21:18 +0000 (13:21 +0000)]
* config/tc-ppc.c (PPC_HIGHER, PPC_HIGHEST): Fix warning.
(md_parse_option): No -a64 without BFD64.
(ppc_set_cpu): Select appropriate cpu when ppc_obj64.
(ppc_arch): Use bfd_mach_rs6k for bfd_arch_rs6000.
Nick Clifton [Wed, 4 Sep 2002 12:37:30 +0000 (12:37 +0000)]
Do not insert non-BookE32 instructions into the hash table if the target cpu
is the BookE32. (case 107575)
Nick Clifton [Wed, 4 Sep 2002 10:08:08 +0000 (10:08 +0000)]
Have objdump's --help switch document PPC -M options.
Nick Clifton [Wed, 4 Sep 2002 09:59:48 +0000 (09:59 +0000)]
The BookE implementations of the TLBWE and TLBRE instructions do not take any
arguments.
Alan Modra [Wed, 4 Sep 2002 00:00:05 +0000 (00:00 +0000)]
daily update
Alan Modra [Tue, 3 Sep 2002 00:00:04 +0000 (00:00 +0000)]
daily update
Nick Clifton [Mon, 2 Sep 2002 17:03:30 +0000 (17:03 +0000)]
Add EXTERN references to __ctbpm __gp and __ep.
Define TEMPLATE_NAME.
Revert bogus change to ldexp.c
Nick Clifton [Mon, 2 Sep 2002 14:46:56 +0000 (14:46 +0000)]
Fix PROVIDE
Nick Clifton [Mon, 2 Sep 2002 14:23:43 +0000 (14:23 +0000)]
Use helpful names instead of cryptically overloaded bfd_reloc error codes.
Replace caching of external symbols with caching of internal symbols obtained
from calling bfd_elf_get_elf_syms().
Fixup problems with freeing cached allocated memory blocks.
Alan Modra [Mon, 2 Sep 2002 11:52:01 +0000 (11:52 +0000)]
* cpu-pj.c (scan_mach, compatible, arch_info_struct): Remove.
(bfd_pj_arch): Use bfd_default_scan.
* cpu-v850.c (scan): Remove.
(N): Use bfd_default_scan.
* cpu-z8k.c (scan_mach): Remove.
(arch_info_struct, bfd_z8k_arch): Reorganize so that the default is
first. Use bfd_default_scan.
Alan Modra [Mon, 2 Sep 2002 11:47:42 +0000 (11:47 +0000)]
* ecoff.c (_bfd_ecoff_set_arch_mach_hook): Don't use hard-coded
bfd_mach constants.
(ecoff_get_magic): Likewise.
* elf32-v850.c (v850_elf_object_p): Likewise.
(v850_elf_final_write_processing): Likewise.
* mipsbsd.c (MY(set_arch_mach)): Likewise.
(MY(write_object_contents)): Likewise.
* coff64-rs6000.c (xcoff64_write_object_contents): Likewise.
* coffcode.h (coff_write_object_contents): Likewise.
(coff_set_arch_mach_hook): Add comment describing machine == 0.
Remove unnecessary "machine" assignments.
(coff_write_relocs): Test for the absolute section sym by testing
section and flags.
* pdp11.c (NAME(aout,machine_type)): Like aoutx.h.
Nick Clifton [Mon, 2 Sep 2002 11:44:39 +0000 (11:44 +0000)]
Remove redundant references to V850EA architecture.
Alan Modra [Mon, 2 Sep 2002 06:00:05 +0000 (06:00 +0000)]
* arc-opc.c: Include bfd.h.
(arc_get_opcode_mach): Subtract off base bfd_mach value.
Alan Modra [Mon, 2 Sep 2002 05:58:55 +0000 (05:58 +0000)]
* aoutx.h (NAME(aout,machine_type)): Recognize bfd_mach_i386_i386
and bfd_mach_i386_i386_intel_syntax.
Alan Modra [Mon, 2 Sep 2002 00:00:06 +0000 (00:00 +0000)]
daily update
Alan Modra [Sun, 1 Sep 2002 00:00:07 +0000 (00:00 +0000)]
daily update
Hans-Peter Nilsson [Sat, 31 Aug 2002 18:51:07 +0000 (18:51 +0000)]
* read.c (do_align): Use ATTRIBUTE_UNUSED_LABEL for label, not
ATTRIBUTE_UNUSED.
Hans-Peter Nilsson [Sat, 31 Aug 2002 17:23:58 +0000 (17:23 +0000)]
* ld-mmix/bpo-10.d: Tweak for change in symbols handling.
* ld-mmix/bpo-11.d: Ditto.
* ld-mmix/b-nosym.d: Adjust for changed output for absence of
symbols.
* ld-mmix/sec-7m.d: Rename tested section from .debug_info to
.di.
* ld-mmix/sec-7a.s, ld-mmix/sec-7b.s, ld-mmix/sec-7c.s,
ld-mmix/sec-7d.s, ld-mmix/sec-7e.s: Ditto.
Alan Modra [Sat, 31 Aug 2002 00:00:08 +0000 (00:00 +0000)]
daily update
Dave Anglin [Fri, 30 Aug 2002 18:36:18 +0000 (18:36 +0000)]
* bfd-in.h (align_power): Cast constants to bfd_vma type.
* bfd-in2.h (align_power): Likewise.
Nick Clifton [Fri, 30 Aug 2002 11:34:40 +0000 (11:34 +0000)]
Update description to reflect D10V TS3 board.
Alan Modra [Fri, 30 Aug 2002 08:30:41 +0000 (08:30 +0000)]
* emulparams/elf32ppc.sh (ARCH): Set to "powerpc:common".
Alan Modra [Fri, 30 Aug 2002 08:28:08 +0000 (08:28 +0000)]
* v850-dis.c (disassemble): Remove bfd_mach_v850ea case.
* mips-dis.c (_print_insn_mips): Don't use hard-coded mach constants.
Alan Modra [Fri, 30 Aug 2002 08:11:44 +0000 (08:11 +0000)]
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
* cpu-avr.c (compatible): Don't use hard-coded mach constants.
* cpu-powerpc.c (powerpc_compatible): Likewise.
* cpu-rs6000.c (rs6000_compatible): Likewise.
Alan Modra [Fri, 30 Aug 2002 00:00:04 +0000 (00:00 +0000)]
daily update
Nick Clifton [Thu, 29 Aug 2002 15:43:47 +0000 (15:43 +0000)]
Remove redundant reference to E_V850EA_ARCH.
Dave Anglin [Thu, 29 Aug 2002 14:37:19 +0000 (14:37 +0000)]
* chew.c (paramstuff, outputdots, perform, bang and usage): Remove
void from function definitions.
Nick Clifton [Thu, 29 Aug 2002 06:49:35 +0000 (06:49 +0000)]
Add linker relaxation to v850 toolchain
Alan Modra [Thu, 29 Aug 2002 00:00:05 +0000 (00:00 +0000)]
daily update
Alan Modra [Wed, 28 Aug 2002 12:32:06 +0000 (12:32 +0000)]
* objdump.c (dump_bfd): Restore lines accidentally deleted in
last commit.
Nick Clifton [Wed, 28 Aug 2002 10:38:51 +0000 (10:38 +0000)]
Add TMS320C4x support
Alan Modra [Wed, 28 Aug 2002 03:35:59 +0000 (03:35 +0000)]
* write.c (BFD_FAST_SECTION_FILL): Remove unused macro.
(TC_ADJUST_RELOC_COUNT): Tweak param name.
(TC_FORCE_RELOCATION, TC_FORCE_RELOCATION_SECTION): Likewise.
(TC_FIX_ADJUSTABLE, MD_PCREL_FROM_SECTION): Likewise.
(RELOC_ENUM): Define.
(fix_new_internal): Use RELOC_ENUM.
(fix_new, fix_new_exp): Likewise.
(adjust_reloc_syms): Comment. Remove unnecessary tests on sym != NULL.
Replace gotos with continue.
(write_relocs): Formatting. Avoid symbol loops in
RELOC_EXPANSION_POSSIBLE case too. Report bfd_reloc_outofrange
errors, and error number in other cases.
(fixup_segment): Remove param names from prototype. Rename
"this_segment_type" to "this_segment". Update linkrelax comment.
Remove "size, "place" and "where" local vars. Formatting. Update
"no symbol" comment. Remove #if 0 and #if 1.
Alan Modra [Wed, 28 Aug 2002 01:55:46 +0000 (01:55 +0000)]
* emultempl/aix.em (gld${EMULATION_NAME}_parse_args): Replace strtoll,
strtoul and strtoull with bfd_scan_vma.
(gld${EMULATION_NAME}_read_file): Likewise.
Alan Modra [Wed, 28 Aug 2002 00:11:40 +0000 (00:11 +0000)]
* ld-discard/discard.exp: xfail m6812.
* ld-scripts/map-address.d: Adjust for extras emitted by pe targets.
Alan Modra [Wed, 28 Aug 2002 00:10:47 +0000 (00:10 +0000)]
* configure.tgt: Remove h8[35]00-*-hms*. Add h8500-*-rtems*.
Alan Modra [Wed, 28 Aug 2002 00:00:04 +0000 (00:00 +0000)]
daily update
Alan Modra [Tue, 27 Aug 2002 23:51:47 +0000 (23:51 +0000)]
* gas/mcore/allinsn.d: Escape dots. Pass -z to objdump and adjust
to suit. Match coff relocs. Match "from address pool" comments.
* gas/sparc/pcrel.s: Use 2b label in expressions.
* gas/sparc/pcrel64.s: Likewise.
* gas/sparc/pcrel.d: Adjust to suit.
* gas/sparc/pcrel64.d: Likewise.
* gas/vtable/vtable.exp: Move xfails to ..
(proc vtable_setup_xfails): .. here. Add i866.
Alan Modra [Tue, 27 Aug 2002 23:35:19 +0000 (23:35 +0000)]
* gas/macros/macros.exp (strings): Update xfails.
Alan Modra [Tue, 27 Aug 2002 23:34:18 +0000 (23:34 +0000)]
* app.c (do_scrub_chars): Don't test IGNORE_NONSTANDARD_ESCAPES. Tidy.
Nick Clifton [Tue, 27 Aug 2002 11:12:53 +0000 (11:12 +0000)]
Handle .rdata_runtime_pseudo_reloc sections.
Alan Modra [Tue, 27 Aug 2002 11:09:43 +0000 (11:09 +0000)]
* dwarf2dbg.c: Always include dwarf2dbg.h.
(dwarf2_directive_file): Adjust dummy version args.
* ecoff.c (ecoff_directive_weakext): Add ATTRIBUTE_UNUSED.
* expr.c (clean_up_expression <O_subtract>): Allow subtraction
when symbol values differ.
* read.c (do_align): Add ATTRIBUTE_UNUSED to label.
(pseudo_set <O_subtract>): Remove unnecessary segment test.
* config/obj-bout.c (obj_pseudo_table): Warning fix.
Nick Clifton [Tue, 27 Aug 2002 11:01:55 +0000 (11:01 +0000)]
Revert ARM linker patch and apply similar patch to bfd instead
Alan Modra [Tue, 27 Aug 2002 00:00:04 +0000 (00:00 +0000)]
daily update
Alan Modra [Mon, 26 Aug 2002 23:15:48 +0000 (23:15 +0000)]
Revert last change.
Alan Modra [Mon, 26 Aug 2002 11:42:12 +0000 (11:42 +0000)]
* gas/m68k/all.exp: xfail non-ELF targets on pcrel test.
Alan Modra [Mon, 26 Aug 2002 11:35:32 +0000 (11:35 +0000)]
* gas/m68hc11/insns.d: Quote dots.
* gas/m68hc11/opers12.d: Likewise.
Alan Modra [Mon, 26 Aug 2002 11:27:02 +0000 (11:27 +0000)]
* gas/ieee-fp/x930509a.exp: Run the test but xfail. Add c80 to xfails.
Alan Modra [Mon, 26 Aug 2002 11:06:32 +0000 (11:06 +0000)]
* gas/vax/quad.exp: Use quad_elf.s for ELF targets.
* gas/vax/quad.s: Align
* gas/vax/quad_elf.s: New version of quad.s with %reg.
Alan Modra [Mon, 26 Aug 2002 10:44:12 +0000 (10:44 +0000)]
* gas/sparc/sparc.exp (sparc_elf_setup): New.
Use it to xfail for non-ELF targets.
Alan Modra [Mon, 26 Aug 2002 10:37:58 +0000 (10:37 +0000)]
* gas/tic54x/align.s: Add comment.
* gas/tic54x/align.d: Adjust .text size for 2002-05-23 write.c change.
* gas/tic54x/extaddr.d: Similarly adjust disassembly tail.
Alan Modra [Mon, 26 Aug 2002 10:16:34 +0000 (10:16 +0000)]
* ld-mmix/b-nosym.d: Adjust for "no symbols" on stdout.
Alan Modra [Mon, 26 Aug 2002 10:15:46 +0000 (10:15 +0000)]
* binutils-all/objcopy.exp (strip_test): Adjust for "no symbols" on
stdout.
(strip_executable): Likewise.
Alan Modra [Mon, 26 Aug 2002 10:14:15 +0000 (10:14 +0000)]
* nm.c (display_rel_file): Don't report "no symbols" as an error.
* objdump.c (slurp_symtab): Likewise.
(slurp_dynamic_symtab): Likewise.
(dump_symbols): Likewise. Do print "no symbols" to stdout.
Alan Modra [Mon, 26 Aug 2002 09:01:41 +0000 (09:01 +0000)]
* coffcode.h (coff_set_arch_mach_hook): Handle W65MAGIC.
Alan Modra [Mon, 26 Aug 2002 08:55:33 +0000 (08:55 +0000)]
* config/tc-w65.c (md_section_align): Fix typo.
(md_parse_option): Return 0, not 1.
Alan Modra [Mon, 26 Aug 2002 08:46:21 +0000 (08:46 +0000)]
* aoutx.h (NAME(aout,reloc_type_lookup)): Handle BFD_RELOC_8.
Alan Modra [Mon, 26 Aug 2002 00:00:04 +0000 (00:00 +0000)]
daily update
Alan Modra [Sun, 25 Aug 2002 00:01:20 +0000 (00:01 +0000)]
daily update
Geoffrey Keating [Sat, 24 Aug 2002 22:43:14 +0000 (22:43 +0000)]
* MAINTAINERS: Change my mailing address.
Alan Modra [Sat, 24 Aug 2002 01:44:56 +0000 (01:44 +0000)]
* elf32-sh.c (sh_elf_copy_indirect_symbol): New.
(create_got_section, allocate_dynrelocs, readonly_dynrelocs):
Likewise.
(struct elf_sh_pcrel_relocs_copied): Removed.
(struct elf_sh_dyn_relocs): New.
(struct elf_sh_link_hash_entry): Replace pcrel_relocs_copied
field with dyn_relocs.
(struct elf_sh_link_hash_table): Add short-cuts to get dynamic
sections and sym_sec.
(sh_elf_link_hash_newfunc): Clear dyn_relocs.
(sh_elf_link_hash_table_create): Clear shorts-cuts and sym_sec.
(sh_elf_create_dynamic_sections): Use create_got_section instead
of _bfd_elf_create_got_section.
(sh_elf_check_relocs): Likewise.
(sh_elf_create_dynamic_sections): Use short-cuts to the dynamic
sections.
(sh_elf_adjust_dynamic_symbol, sh_elf_size_dynamic_sections,
sh_elf_relocate_section, sh_elf_check_relocs,
sh_elf_finish_dynamic_symbol, sh_elf_finish_dynamic_sections):
Likewise.
(sh_elf_adjust_dynamic_symbol): Handle nocopyreloc. Keep the
dynamic relocations and avoiding the copy relocation when we
didn't find any dynamic relocations in the section which has
contents or is read-only.
(WILL_CALL_FINISH_DYNAMIC_SYMBOL): New.
(sh_elf_size_dynamic_sections): Don't reset the size of
.rela.got section even if dynamic_sections_created flag is off.
Don't use sh_elf_discard_copies. Scan all input bfd and use
allocate_dynrelocs. Call readonly_dynrelocs to determine
whether we need DT_TEXTREL.
(sh_elf_adjust_dynamic_symbol): Use plt.refcount to determine
whether the symbol was never referred to.
(sh_elf_relocate_section): Use WILL_CALL_FINISH_DYNAMIC_SYMBOL.
(sh_elf_gc_sweep_hook): Fill with the real sweep function.
(sh_elf_check_relocs): Call create_got_section if the short-cut
to .got is null. Increment reference counters only instead of
allocating space on dynamic sections here. Don't conditionalize
uninitialized got.offset value when marking the symbol as a
global offset table entry. Keep relocations for symbols satisfied
by a dynamic library to avoid copy relocations for the symbol.
Set dynobj field of an elf hash table if needed.
(sh_elf_finish_dynamic_sections): Handle null section pointer
correctly.
(elf_backend_copy_indirect_symbol): Defined.
(elf_backend_can_refcount): Defined.
Alan Modra [Sat, 24 Aug 2002 00:00:04 +0000 (00:00 +0000)]
daily update
Andrew Cagney [Fri, 23 Aug 2002 22:24:57 +0000 (22:24 +0000)]
2002-08-23 Andrew Cagney <
ac131313@redhat.com>
* texinfo/texinfo.tex: Import version 2002-06-04.06.
Andrew Cagney [Fri, 23 Aug 2002 21:22:39 +0000 (21:22 +0000)]
Import config.guess and config.sub.
Dave Anglin [Fri, 23 Aug 2002 16:07:02 +0000 (16:07 +0000)]
* MAINTAINERS: Add Dave Anglin as HPPA co-maintainer.
Nick Clifton [Fri, 23 Aug 2002 09:42:21 +0000 (09:42 +0000)]
Undo previous delta. Add comment explaining why.
Alan Modra [Fri, 23 Aug 2002 08:26:13 +0000 (08:26 +0000)]
* elf32-sh.c (elf_sh_plt0_entry_be, elf_sh_plt0_entry_le): Copy
contents of .got.plt[2] to tr0, not address of .got.plt.
(sh_elf_finish_dynamic_symbol): Do not apply GOT_BIAS when
patching absolute plt entry. For shmedia plt entry, set bottom bit
of branch to plt0 as this is a branch to an shmedia instruction.
* elf64-sh64.c (elf_sh64_plt0_entry_be, elf_sh64_plt0_entry_le):
Copy contents of .got.plt[2] to tr0, not address of .got.plt.
(elf_sh64_plt_entry_be, elf_sh64_plt_entry_le): Use ptrel to
branch to plt0.
(sh64_elf64_finish_dynamic_symbol): Do not apply GOT_BIAS when
patching absolute plt entry. For shmedia plt entry, branch to
plt0 is now ptrel, so use relative offset. Set bottom bit of
branch target as it is a branch to an shmedia instruction.