OSDN Git Service
Alan Modra [Fri, 25 Jan 2002 23:00:05 +0000 (23:00 +0000)]
daily update
Mark Kettenis [Fri, 25 Jan 2002 18:56:59 +0000 (18:56 +0000)]
* elf.c (elfcore_write_prstatus): Make sure we pass the address of
prstat.pr_reg even if it is a struct.
Nick Clifton [Fri, 25 Jan 2002 16:41:37 +0000 (16:41 +0000)]
Reset AIX vector function overrides for HP-UX.
Nick Clifton [Fri, 25 Jan 2002 15:37:04 +0000 (15:37 +0000)]
Add --totals option to size
Nick Clifton [Fri, 25 Jan 2002 15:13:52 +0000 (15:13 +0000)]
Don't mark info message for translation.
Nick Clifton [Fri, 25 Jan 2002 14:25:03 +0000 (14:25 +0000)]
Updated Spanish translation
Nick Clifton [Fri, 25 Jan 2002 14:23:50 +0000 (14:23 +0000)]
Fix date in previous delta
Nick Clifton [Fri, 25 Jan 2002 14:20:45 +0000 (14:20 +0000)]
Updated translations
Nick Clifton [Fri, 25 Jan 2002 14:17:44 +0000 (14:17 +0000)]
Updated Spanish translation
Nick Clifton [Fri, 25 Jan 2002 14:15:46 +0000 (14:15 +0000)]
Update French translation
Andreas Jaeger [Fri, 25 Jan 2002 13:04:32 +0000 (13:04 +0000)]
* ldlex.l (yy_input): Correct error check.
Alan Modra [Fri, 25 Jan 2002 12:22:42 +0000 (12:22 +0000)]
* ldmisc.c (demangle): Put back dots when string not demangled.
Alan Modra [Fri, 25 Jan 2002 12:12:23 +0000 (12:12 +0000)]
* coff-alpha.c (alpha_relocate_section): Unify warning message
for GP relative relocations without GP defined.
* coff-mips.c (mips_relocate_section): Likewise.
Alan Modra [Fri, 25 Jan 2002 12:01:12 +0000 (12:01 +0000)]
Missing ChangeLog entries for 2002-01-22 Makefile updates
Alan Modra [Fri, 25 Jan 2002 06:24:34 +0000 (06:24 +0000)]
* elf-eh-frame.c (_bfd_elf_eh_frame_section_offset): Avoid
unsigned overflow when new_offset < old_offset.
Alan Modra [Thu, 24 Jan 2002 23:00:04 +0000 (23:00 +0000)]
daily update
Kazu Hirata [Thu, 24 Jan 2002 18:22:06 +0000 (18:22 +0000)]
* config/tc-h8300.c (check_operand): Don't print a warning
when a valid 24-bit address is given to a 16-bit address
operand.
Nick Clifton [Thu, 24 Jan 2002 17:08:42 +0000 (17:08 +0000)]
fix typo
Nick Clifton [Thu, 24 Jan 2002 15:20:00 +0000 (15:20 +0000)]
New Danish translation file.
Alexandre Oliva [Thu, 24 Jan 2002 02:59:16 +0000 (02:59 +0000)]
copyright years
Alexandre Oliva [Thu, 24 Jan 2002 02:54:47 +0000 (02:54 +0000)]
* config/tc-sh.c (sh_elf_suffix): Removed.
(sh_PIC_related_p, sh_check_fixup, sh_cons_fix_new,
sh_end_of_match, sh_parse_name): New functions.
(sh_elf_cons): Simplify.
(parse_exp): Reject misplaced PIC operands.
(md_undefined_symbol): Simplify.
(sh_fix_adjustable): Let @GOTOFF be adjusted.
(md_apply_fix3): Write @PLT and @GOTOFF addends in place.
(tc_gen_reloc): Move fixp subsy absolute value into addnumber.
Complain if subsy remains at the end.
* config/tc-sh.h (sh_parse_name, sh_cons_fix_new): Declare.
(md_parse_name, TC_CONS_FIX_NEW, O_PIC_reloc): Define.
Alan Modra [Wed, 23 Jan 2002 23:00:05 +0000 (23:00 +0000)]
daily update
Richard Henderson [Wed, 23 Jan 2002 21:51:53 +0000 (21:51 +0000)]
* elf64-alpha.c (elf64_alpha_adjust_dynamic_symbol): Don't suppress
plt entries for undefweak symbols.
Nick Clifton [Wed, 23 Jan 2002 16:40:51 +0000 (16:40 +0000)]
Import StrongARM and XScale target_configdirs from FSF GCC version.
Nick Clifton [Wed, 23 Jan 2002 16:12:56 +0000 (16:12 +0000)]
Tidy up formatting of --help output.
Nick Clifton [Wed, 23 Jan 2002 12:21:07 +0000 (12:21 +0000)]
Add: bfd_elf32_ia64_hpux_big_vec, bfd_elf64_ia64_hpux_big_vec and
bfd_elf32_h8300_vec to DEFAULT_VECTOR.
Nick Clifton [Wed, 23 Jan 2002 11:48:53 +0000 (11:48 +0000)]
Add Danish translation
Alan Modra [Wed, 23 Jan 2002 11:21:18 +0000 (11:21 +0000)]
* elf64-ppc.c: Remove stale part of ABI comment.
(NO_OPD_RELOCS): Define.
(ppc64_elf_check_relocs): Use it.
(ppc64_elf_relocate_section): Here too.
(build_one_stub): Don't point function syms at the stub. Instead,
hijack plt.offset.
(ppc64_elf_relocate_section): Check whether REL24 relocs should
really go to the stub. Make all dynamic relocs in opd against
locals.
(ppc64_elf_finish_dynamic_symbol): Allow for non-standard use of
plt.offset.
Alexandre Oliva [Wed, 23 Jan 2002 02:01:54 +0000 (02:01 +0000)]
oops
Alexandre Oliva [Wed, 23 Jan 2002 01:53:01 +0000 (01:53 +0000)]
* gas/mn10300/basic.exp (run_list_test): New proc, from alpha.
* gas/mn10300/movpc.s, gas/mn10300/movpc.l: New tests.
Alexandre Oliva [Wed, 23 Jan 2002 01:52:18 +0000 (01:52 +0000)]
* config/tc-mn10300.c (xr_registers): Move `pc'...
(other_registers): ... here.
Alan Modra [Tue, 22 Jan 2002 23:00:05 +0000 (23:00 +0000)]
daily update
Richard Henderson [Tue, 22 Jan 2002 22:32:35 +0000 (22:32 +0000)]
* configure.in (variable detection): Use arrays of unspecified
size instead of plain integers.
Graydon Hoare [Tue, 22 Jan 2002 21:45:36 +0000 (21:45 +0000)]
[ include/opcode/ChangeLog ]
2002-01-22 Graydon Hoare <graydon@redhat.com>
* cgen.h (CGEN_MAYBE_MULTI_IFLD): New structure.
(CGEN_OPERAND): Add CGEN_MAYBE_MULTI_IFLD field.
[ opcodes/ChangeLog ]
2002-01-22 Graydon Hoare <graydon@redhat.com>
* fr30-asm.c: Regenerate.
* fr30-desc.c: Likewise.
* fr30-desc.h: Likewise.
* fr30-dis.c: Likewise.
* fr30-ibld.c: Likewise.
* fr30-opc.c: Likewise.
* fr30-opc.h: Likewise.
* m32r-asm.c: Likewise.
* m32r-desc.c: Likewise.
* m32r-desc.h: Likewise.
* m32r-dis.c: Likewise.
* m32r-ibld.c: Likewise.
* m32r-opc.c: Likewise.
* m32r-opc.h: Likewise.
* m32r-opinst.c: Likewise.
* openrisc-asm.c: Likewise.
* openrisc-desc.c: Likewise.
* openrisc-desc.h: Likewise.
* openrisc-dis.c: Likewise.
* openrisc-ibld.c: Likewise.
* openrisc-opc.c: Likewise.
* openrisc-opc.h: Likewise.
* xstormy16-desc.c: Likewise.
[ cgen/ChangeLog ]
2002-01-22 Graydon Hoare <graydon@redhat.com>
* desc-cpu.scm (ifld-number-cache): Add.
(ifld-number): Add.
(gen-maybe-multi-ifld-of-op): Add.
(gen-maybe-multi-ifld): Add.
(gen-multi-ifield-nodes): Add.
(cgen-desc.c): Add call to gen-multi-ifield-nodes.
DJ Delorie [Tue, 22 Jan 2002 20:14:53 +0000 (20:14 +0000)]
merge from gcc
Richard Henderson [Tue, 22 Jan 2002 09:51:58 +0000 (09:51 +0000)]
* elf64-alpha.c (INSN_UNOP): Encode with RB as $sp.
Richard Henderson [Tue, 22 Jan 2002 09:51:15 +0000 (09:51 +0000)]
* emulparams/elf64alpha.sh (NOP): Use unop.
Richard Henderson [Tue, 22 Jan 2002 09:45:49 +0000 (09:45 +0000)]
* gas/alpha/unop.s, gas/alpha/unop.d: New test.
* gas/alpha/alpha.exp: Run it.
Richard Henderson [Tue, 22 Jan 2002 09:44:09 +0000 (09:44 +0000)]
* alpha-dis.c (print_insn_alpha): Also mask the base opcode for
comparison.
Alan Modra [Tue, 22 Jan 2002 09:05:07 +0000 (09:05 +0000)]
* elf64-ppc.c (ppc64_elf_finish_dynamic_sections): Correct sign of
TOC_BASE_OFF adjustment.
Alan Modra [Tue, 22 Jan 2002 08:58:00 +0000 (08:58 +0000)]
run "make dep-am"; automake
regenerate po/POTFILES.in
DJ Delorie [Tue, 22 Jan 2002 01:09:49 +0000 (01:09 +0000)]
* config/obj-coff.c (obj_coff_init_stab_section): Make the
stabstr_name allocation permanent, as it will be referenced from
the section hash.
Alan Modra [Tue, 22 Jan 2002 00:47:21 +0000 (00:47 +0000)]
* configure.host (hppa*64*-*-hpux*, hppa*64*-*-linux*): Add new
host defines.
Alan Modra [Mon, 21 Jan 2002 23:00:04 +0000 (23:00 +0000)]
daily update
Hans-Peter Nilsson [Mon, 21 Jan 2002 22:04:02 +0000 (22:04 +0000)]
* ld-cris: New testsuite directory.
Hans-Peter Nilsson [Mon, 21 Jan 2002 22:00:00 +0000 (22:00 +0000)]
Correct attribution
Hans-Peter Nilsson [Mon, 21 Jan 2002 21:57:48 +0000 (21:57 +0000)]
* elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_32_GOTREL>:
Check for and emit error if sgot is NULL at this point.
Andreas Jaeger [Mon, 21 Jan 2002 19:53:44 +0000 (19:53 +0000)]
* ldlex.l: Use fread instead of read.
Jason Thorpe [Mon, 21 Jan 2002 18:17:28 +0000 (18:17 +0000)]
bfd:
* config.bfd (ia64*-*-netbsd*): New target.
gas:
* configure.in (ia64-*-netbsd*): New target.
* configure: Regenerate.
ld:
* configure.tgt (ia64-*-netbsd*): New target.
H.J. Lu [Mon, 21 Jan 2002 17:19:09 +0000 (17:19 +0000)]
2002-01-21 H.J. Lu <hjl@gnu.org>
* emulparams/elf32btsmip.sh (SHLIB_TEXT_START_ADDR): Change to
0.
* emulparams/elf64btsmip.sh (SHLIB_TEXT_START_ADDR): Likewise.
Alan Modra [Mon, 21 Jan 2002 14:03:27 +0000 (14:03 +0000)]
comment typo fixes
Alan Modra [Mon, 21 Jan 2002 12:15:07 +0000 (12:15 +0000)]
* elf64-ppc.c (struct ppc_link_hash_entry): Add is_func and
is_func_descriptor fields.
(link_hash_newfunc): Init them.
(ppc64_elf_check_relocs): Only R_PPC24_REL24 syms starting with a
dot are candidates for plt entries. When processing .opd relocs,
set function descriptor strings to point inside function code
string, and set new ppc_link_hash_entry fields.
(ppc64_elf_gc_sweep_hook): Don't sweep R_PPC64_REL24 relocs.
(ppc64_elf_adjust_dynamic_symbol): Remove most code dealing with
function descriptors. It's now done in..
(func_desc_adjust): New.
(ppc64_elf_func_desc_adjust): New.
(define elf_backend_always_size_sections): Define.
(ppc64_elf_hide_symbol): New.
(define elf_backend_hide_symbol): Define.
(allocate_dynrelocs): Remove code looking up function descriptors
as that has been done earlier.
(ppc64_elf_size_dynamic_sections): Use htab shortcut to elf hash
table.
(ppc64_elf_finish_dynamic_symbol): Likewise. Remove code looking
up function descriptor.
(build_one_stub): Look up the function code sym. Check for
invalid plt offsets.
(ppc64_elf_relocate_section): Tweak calls to undefined weak syms.
Convert R_PPC64_TOC relocs to R_PPC64_RELATIVE in shared libs.
Alan Modra [Mon, 21 Jan 2002 10:29:09 +0000 (10:29 +0000)]
* elf-bfd.h (elf_backend_data <elf_backend_hide_symbol>): Add
boolean param.
(_bfd_elf_link_hash_hide_symbol): Likewise.
* elflink.h (elf_link_add_object_symbols): Adjust call to
elf_backend_hide_symbol.
(elf_fix_symbol_flags): Likewise.
(elf_link_assign_sym_version): Likewise. Use bfd_malloc rather
than bfd_alloc.
* elf.c (_bfd_elf_link_hash_hide_symbol): Add "force_local" param.
Set ELF_LINK_FORCED_LOCAL and call _bfd_elf_strtab_delref.
* elf32-hppa.c (elf32_hppa_hide_symbol): Likewise.
(clobber_millicode_symbols): Adjust to suit new hide_symbol.
* elf32-cris.c (elf_cris_hide_symbol): Add "force_local" param
and adjust to suit.
* elf32-mips.c (_bfd_mips_elf_hide_symbol): Likewise, and call
_bfd_elf_link_hash_hide_symbol rather than duplicating code.
* elfxx-ia64.c (elfNN_ia64_hash_hide_symbol): Likewise.
Hans-Peter Nilsson [Mon, 21 Jan 2002 00:20:58 +0000 (00:20 +0000)]
* doc/as.texinfo (Overview) <Target ARM options>: Add missing {}
to @dots call.
<Detailed description, ARM options>: Ditto.
* doc/c-arm.texi (ARM Options): Ditto.
Alan Modra [Sun, 20 Jan 2002 23:00:05 +0000 (23:00 +0000)]
daily update
Alan Modra [Sat, 19 Jan 2002 23:00:05 +0000 (23:00 +0000)]
daily update
Richard Earnshaw [Sat, 19 Jan 2002 14:52:01 +0000 (14:52 +0000)]
* tc-arm.c (do_xsc_mia, do_xsc_mar, do_xsc_mra): Renamed from
do_mia, do_mar and do_mra respectively.
(do_mav_*): Renamed from do_c_*.
(mav_reg_required_here, mav_parse_offset): Renamed from
cirrus_reg_required_here and cirrus_parse_offset respectively.
(MAV_MODE?): Renamed from CIRRUS_MODE?.
Richard Earnshaw [Sat, 19 Jan 2002 14:25:48 +0000 (14:25 +0000)]
2002-01-18 Richard Earnshaw <rearnsha@arm.com>
Keith Walker <keith.walker@arm.com>
* tc-arm.c (ARM_EXT_V5J, ARM_ARCH_V5TEJ): Define.
(insns): Add pattern for bxj instruction.
(do_bxj): New function.
(arm_cpus): Add arm926ej.
(arm_archs): Add armv5tej.
Testsuite:
2002-01-18 Richard Earnshaw <rearnsha@arm.com>
Keith Walker <keith.walker@arm.com>
* gas/arm/arch5tej.s gas/arm/arch5tej.d: New files.
* gas/arm/arm.exp (arch5tej): New dump test.
Richard Earnshaw [Sat, 19 Jan 2002 12:48:32 +0000 (12:48 +0000)]
* doc/c-arm.texi: Add new fpe options to list of supported flags.
Richard Earnshaw [Sat, 19 Jan 2002 12:44:34 +0000 (12:44 +0000)]
2002-01-19 Keith Walker <keith.walker@arm.com>
* tc-arm.c (arm_fpus): Add fpe2 and fpe3.
Richard Earnshaw [Sat, 19 Jan 2002 12:27:24 +0000 (12:27 +0000)]
* arm-opc.h (arm_opcodes): Use generic rule %5?hb instead of %h.
* arm-dis.c (print_insn_arm): Don't handle 'h' case.
Alan Modra [Fri, 18 Jan 2002 23:00:04 +0000 (23:00 +0000)]
daily update
Richard Earnshaw [Fri, 18 Jan 2002 17:33:49 +0000 (17:33 +0000)]
2002-01-18 Keith Walker <keith.walker@arm.com>
* arm-opc.h (arm_opcodes): Add bxj instruction.
Richard Earnshaw [Fri, 18 Jan 2002 17:01:55 +0000 (17:01 +0000)]
* NEWS: Mention new ARM command-line options and VFP support.
* config/tc-arm.c (ARM_CEXT_XSCALE): Replaces ARM_EXT_XSCALE. All
uses changed.
(ARM_CEXT_MAVERICK): Similarly.
(ARM_ANY): Now means any core instruction.
(CPU_DEFAULT): Default to ARM_ANY.
(uses_apcs_26, atcps, support_interwork, uses_apcs_float)
(pic_code): Declare for all object types. Make type int.
(legacy_cpu, legacy_fpu, mcpu_cpu_opt, mcpu_fpu_opt, march_cpu_opt)
(march_fpu_opt, mfpu_opt): Declare.
(md_longopts): Tidy up conditional definitions.
(arm_opts, arm_cpus, arm_archs, arm_fpus, arm_extensions)
(arm_long_opts): New tables.
(arm_parse_cpu, arm_parse_arch, arm_parse_fpu): New functions.
(arm_parse_extension): New function.
(md_parse_option): Rewrite using new table-driven system.
(md_show_usage): Use new table-driven system.
(md_begin): Calculate cpu_variant from command line option data.
* doc/as.texinfo (ARM ISA options): Docuement new ARM-specific
command-line options.
* doc/c-arm.texi: Likewise.
Testsuite:
* gas/arm/vfp1.d: Use new command-line options.
* gas/arm/vfp1xD.d: Likewise.
* gas/arm/arm.exp (vfp-bad): Likewise.
* gas/arm/maverick.d: Likewise.
Andreas Jaeger [Fri, 18 Jan 2002 11:28:42 +0000 (11:28 +0000)]
gas:
2002-01-18 Andreas Jaeger <aj@suse.de>
* as.c (parse_args): Update year.
binutils:
2002-01-18 Andreas Jaeger <aj@suse.de>
* version.c (print_version): Update year.
ld:
2002-01-18 Andreas Jaeger <aj@suse.de>
* ldver.c (ldversion): Update year.
Alan Modra [Fri, 18 Jan 2002 01:22:02 +0000 (01:22 +0000)]
* elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Test for a
dynamic function descriptor symbol, not the associated function
symbol.
Alan Modra [Thu, 17 Jan 2002 23:36:03 +0000 (23:36 +0000)]
* readelf.c (get_machine_name): Handle EM_PPC64.
(guess_is_rela): Here too.
Nick Clifton [Thu, 17 Jan 2002 23:13:52 +0000 (23:13 +0000)]
fixed braino in changelog entry for replacement of "switches" with "options"
Alan Modra [Thu, 17 Jan 2002 23:00:04 +0000 (23:00 +0000)]
daily update
Eric Christopher [Thu, 17 Jan 2002 20:06:48 +0000 (20:06 +0000)]
2002-01-17 Eric Christopher <echristo@redhat.com>
* elf32-mips.c (mips_elf_calculate_relocation): Fix typo.
Timothy Wall [Thu, 17 Jan 2002 17:41:24 +0000 (17:41 +0000)]
Add a more instructive error message on bad syntax
Nick Clifton [Thu, 17 Jan 2002 14:12:08 +0000 (14:12 +0000)]
Regenerate .pot and .po files
Alan Modra [Thu, 17 Jan 2002 13:02:40 +0000 (13:02 +0000)]
* elf-bfd.h (elf_backend_data <elf_backend_section_from_bfd_section>):
Remove "Elf_Internal_Shdr *" param.
(_bfd_mips_elf_section_from_bfd_section): Ditto.
* elf32-mips.c (_bfd_mips_elf_section_from_bfd_section): Ditto.
* elf32-m32r.c (_bfd_m32r_elf_section_from_bfd_section): Ditto.
* elf32-v850.c (v850_elf_section_from_bfd_section): Ditto.
* elf64-mmix.c (mmix_elf_section_from_bfd_section): Ditto.
* elfxx-ia64.c (elfNN_hpux_backend_section_from_bfd_section): Ditto.
* elf.c (_bfd_elf_section_from_bfd_section): Allow backend
function to override special sections. Remove hdr arg from
backend call, and don't loop.
Nick Clifton [Thu, 17 Jan 2002 11:28:49 +0000 (11:28 +0000)]
Add no-c-format comment to prevent confusion when translating string.
Andreas Schwab [Thu, 17 Jan 2002 11:01:39 +0000 (11:01 +0000)]
Remove leftover conflict marker.
Eric Christopher [Thu, 17 Jan 2002 08:19:08 +0000 (08:19 +0000)]
2002-01-16 Eric Christopher <echristo@redhat.com>
* elf32-mips.c (mips_elf_calculate_relocation): Set require_jalxp
on R_MIPS_26 and target is 16bit. Add R_MIPS16_GPREL to list of
relocations requiring gp0 and gp.
H.J. Lu [Wed, 16 Jan 2002 23:20:25 +0000 (23:20 +0000)]
2002-01-16 H.J. Lu (hjl@gnu.org)
* config.guess: Import from master sources, rev 1.225.
* config.sub: Import from master sources, rev 1.238.
* MAINTAINERS: Updated notes on config.guess and config.sub.
Alan Modra [Wed, 16 Jan 2002 23:00:04 +0000 (23:00 +0000)]
daily update
Thiemo Seufer [Wed, 16 Jan 2002 21:30:47 +0000 (21:30 +0000)]
* config/tc-mips.c (percent_op): Ensure longer percent_op's are
matched before the shorter ones.
(my_getSmallParser): Fix handling of nested parentheses in
percent_op's. Code cleanup.
(my_getPercentOp): New function, code from my_getSmallParser.
(my_getSmallExpression): Fix handling of closing parentheses.
Code cleanup. Better comments.
Richard Earnshaw [Wed, 16 Jan 2002 13:01:54 +0000 (13:01 +0000)]
* elf32-arm.h (elf32_arm_merge_private_bfd_data): Handle
EF_ARM_VFP_FLOAT.
(elf32_arm_print_private_bfd_data): Likewise.
Richard Earnshaw [Wed, 16 Jan 2002 11:35:18 +0000 (11:35 +0000)]
* coff/arm.h (F_VFP_FLOAT): Define.
* elf/arm.h (F_VFP_FLOAT, EF_ARM_VFP_FLOAT): Define.
Nick Clifton [Wed, 16 Jan 2002 10:17:48 +0000 (10:17 +0000)]
Import new Turkish translations.
Alan Modra [Wed, 16 Jan 2002 07:32:04 +0000 (07:32 +0000)]
* elf64-ppc.c (ppc64_elf_howto_raw): Remove stale FIXMEs.
(ppc64_elf_reloc_type_lookup): Use proper CTOR reloc.
(ORI_R0_R0_0): Correct.
Alan Modra [Wed, 16 Jan 2002 05:53:08 +0000 (05:53 +0000)]
* readelf.c (get_ppc64_dynamic_type): New.
(get_dynamic_type): Call it.
Alan Modra [Wed, 16 Jan 2002 05:52:38 +0000 (05:52 +0000)]
* Makefile.am (eelf64ppc.c, eelf64lppc.c): Depend on ppc64elf.em.
* Makefile.in: Regenerate.
* emulparams/elf64ppc.sh (EXTRA_EM_FILE): Define.
* emultempl/ppc64elf.em: New file.
Alan Modra [Wed, 16 Jan 2002 05:50:03 +0000 (05:50 +0000)]
* elflink.c (_bfd_elf_create_dynamic_sections): Don't set SEC_CODE
when plt_not_loaded.
* elf64-ppc.c (ppc64_elf_create_dynamic_sections): No need to
clear .plt SEC_CODE here. Create .stub and correct .glink flags.
(PLT_INITIAL_ENTRY_SIZE): Set to 24.
(ppc64_elf_glink_code): Delete.
(PPC64_ELF_GLINK_SIZE): Delete.
(ADDIS_R12_R2, STD_R2_40R1, LD_R11_0R12, LD_R2_0R12, MTCTR_R11,
BCTR, ADDIS_R12_R12_1, LD_R2_40R1, NOP, LI_R0_0, B_DOT, LIS_R0_0,
ORI_R0_R0_0): Define.
(PLT_CALL_STUB_SIZE, GLINK_CALL_STUB_SIZE): Define.
(struct ppc_link_hash_table): Add sstub and plt_overflow.
(ppc64_elf_link_hash_table_create): Init them.
(ppc64_elf_check_relocs <R_PPC64_REL24>): Refcount .plt entry.
Don't copy to shared lib.
(ppc64_elf_check_relocs): Call bfd_set_error on errors.
(ppc64_elf_gc_sweep_hook <R_PPC64_REL24>): Sweep plt refcount.
(allocate_dynrelocs <plt>): Don't change function sym here. Make
room for .stub and .glink code.
(ppc64_elf_size_dynamic_sections): Handle .stub. Make entry for
DT_PPC64_GLINK.
(ppc64_elf_final_link): Rename to ppc64_elf_set_toc. Don't call
bfd_elf64_bfd_final_link.
(bfd_elf64_bfd_final_link): Don't define.
(ppc64_elf_size_stubs): New.
(build_plt_stub): New.
(build_one_stub): New.
(ppc64_elf_build_stubs): New.
(ppc64_elf_relocate_section <toc relocs>): Remove assert.
(ppc64_elf_relocate_section): Don't copy R_PPC64_REL24 relocs.
(ppc64_elf_finish_dynamic_symbol): Don't build stubs here. Set
DT_PPC64_GLINK entry. Tweak DT_PLTGOT, DT_JMPREL, DT_PLTRELSZ in
case output sections not separate. Adjust DT_RELASZ to not
include plt relocs. Set reserved got entry. Set got and plt
entry size.
(elf_backend_got_header_size): Set to 8.
* elf64-ppc.h: New file.
Alan Modra [Wed, 16 Jan 2002 05:48:56 +0000 (05:48 +0000)]
* ppc.h (DT_PPC64_GLINK): Define.
Alan Modra [Wed, 16 Jan 2002 05:37:10 +0000 (05:37 +0000)]
* elf32-arm.h (elf32_arm_size_dynamic_sections): When removing
sections, use bfd_section_list_remove.
* elf32-i370.c (i370_elf_size_dynamic_sections): Likewise.
* elflink.h (elf_link_add_object_symbols): When removing all
sections, use bfd_section_list_clear.
DJ Delorie [Wed, 16 Jan 2002 01:48:43 +0000 (01:48 +0000)]
* scripttempl/pe.sc: Add support for constructor priorities.
Alan Modra [Tue, 15 Jan 2002 23:00:05 +0000 (23:00 +0000)]
daily update
Nick Clifton [Tue, 15 Jan 2002 17:18:53 +0000 (17:18 +0000)]
Refer to "options" not "switches"
Richard Earnshaw [Tue, 15 Jan 2002 16:05:34 +0000 (16:05 +0000)]
Support for VFP instructions
* tc-arm.c (CP_WB_OK, CP_NO_WB): New defines.
(cp_address_required_here): New argument wb_ok. When false, do not
accept write-back forms of addressing. Change all callers.
(FPU_VFP_EXT_NONE, FPU_VFP_EXT_V1xD, FPU_VFP_VFP_V1)
(FPU_VFP_EXT_V2): Define.
(FPU_ARCH_VFP, FPU_ARCH_VFP_V1xD, FPU_ARCH_VFP_V1, FPU_ARCH_VFP_V2):
Define in terms of above.
(vfp_dp_reg_pos, vfp_sp_reg_pos, vfp_ldstm_type): New enums.
(vfp_reg): New struct.
(vfp_regs): New array of registers.
(insns): Add VFP instructions.
(sn_table): New array of VFP single-precision register names.
(dn_table): New array of VFP double-precision register names.
(all_reg_maps): Add the new register tables.
(arm_reg_type): Add new values for above. Increase RET_TYPE_MAX.
(vfp_sp_reg_required_here, vfp_dp_reg_required_here, do_vfp_sp_monadic)
(do_vfp_dp_monadic, do_vfp_sp_dyadic, do_vfp_dp_dyadic)
(do_vfp_reg_from_sp, do_vfp_sp_reg2, do_vfp_sp_from_reg)
(do_vfp_reg_from_dp, do_vfp_reg2_from_dp, do_vfp_dp_from_reg)
(do_vfp_dp_from_reg2, vfp_psr_parse, vfp_psr_required_here)
(do_vfp_reg_from_ctrl, do_vfp_ctrl_from_reg, do_vfp_sp_ldst)
(do_vfp_dp_ldst, vfp_sp_reg_list, vfp_dp_reg_list, vfp_sp_ldstm)
(vfp_dp_ldstm, do_vfp_sp_ldstmia, do_vfp_sp_ldstmdb, do_vfp_ldstmia)
(do_vfp_dp_ldstmdb, do_vfp_xp_ldstmia, do_vfp_xp_ldstmdb)
(do_vfp_sp_compare_z, do_vfp_dp_compare_z, do_vfp_dp_sp_cvt)
(do_vfp_sp_dp_cvt): New functions.
(md_begin): Set soft-float flag for appropriate VFP work.
(md_atof): Handle VFP-format doubles.
(md_parse_option): Handle VFP command-line options.
(md_show_usage): Display VFP command-line options.
* testsuite/gas/arm/vfp1.s gas/arm/vf1.d: New files.
* testsuite/gas/arm/vfp1xD.s gas/arm/vf1xD.d: New files.
* testsuite/gas/arm/vfp-bad.s gas/arm/vfp-bad.l: New files.
* testsuite/gas/arm/arm.exp: Run new VFP tests.
Richard Earnshaw [Tue, 15 Jan 2002 15:41:23 +0000 (15:41 +0000)]
* arm-opc.h (arm_opcodes): Add patterns for VFP instructions.
* arm-dis.c (print_insn_arm): Support new disassembly qualifiers for
VFP bitfields.
Richard Earnshaw [Tue, 15 Jan 2002 14:43:09 +0000 (14:43 +0000)]
* tc-arm.c (md_parse_option): Tidy up setting of cpu_variant for
various command line options.
Nick Clifton [Tue, 15 Jan 2002 13:58:25 +0000 (13:58 +0000)]
Add Swedish translation
Nick Clifton [Tue, 15 Jan 2002 12:56:32 +0000 (12:56 +0000)]
Special case handlign for m32r port
Jakub Jelinek [Tue, 15 Jan 2002 12:52:15 +0000 (12:52 +0000)]
* elflink.h (elf_link_input_bfd): Back out 2002-01-07 change.
* elf.c (merge_sections_remove_hook): New function.
(_bfd_elf_merge_sections): Pass it as 3rd argument to
_bfd_merge_sections.
* libbfd-in.h (_bfd_merge_sections): Add 3rd argument.
* libbfd.h: Rebuilt.
* merge.c (_bfd_merge_sections): Add remove_hook argument.
Call remove_hook if a SEC_EXCLUDE section is encountered.
Nick Clifton [Tue, 15 Jan 2002 12:41:00 +0000 (12:41 +0000)]
Add missing 'cp' command
Nick Clifton [Tue, 15 Jan 2002 12:27:53 +0000 (12:27 +0000)]
Fix expected results of disassembly of DSP instructions
Nick Clifton [Tue, 15 Jan 2002 11:58:45 +0000 (11:58 +0000)]
Fix up generation of VTINHERIT relocs