OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
22 years ago * elf64-ppc.c (struct ppc_link_hash_entry): Add is_func and
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.

22 years ago * elf-bfd.h (elf_backend_data <elf_backend_hide_symbol>): Add
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.

22 years ago * doc/as.texinfo (Overview) <Target ARM options>: Add missing {}
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.

22 years agodaily update
Alan Modra [Sun, 20 Jan 2002 23:00:05 +0000 (23:00 +0000)]
daily update

22 years agodaily update
Alan Modra [Sat, 19 Jan 2002 23:00:05 +0000 (23:00 +0000)]
daily update

22 years ago* tc-arm.c (do_xsc_mia, do_xsc_mar, do_xsc_mra): Renamed from
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?.

22 years ago2002-01-18 Richard Earnshaw <rearnsha@arm.com>
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.

22 years ago* doc/c-arm.texi: Add new fpe options to list of supported flags.
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.

22 years ago2002-01-19 Keith Walker <keith.walker@arm.com>
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.

22 years ago* arm-opc.h (arm_opcodes): Use generic rule %5?hb instead of %h.
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.

22 years agodaily update
Alan Modra [Fri, 18 Jan 2002 23:00:04 +0000 (23:00 +0000)]
daily update

22 years ago2002-01-18 Keith Walker <keith.walker@arm.com>
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.

22 years ago* NEWS: Mention new ARM command-line options and VFP support.
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.

22 years agogas:
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.

22 years ago * elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Test for a
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.

22 years ago * readelf.c (get_machine_name): Handle EM_PPC64.
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.

22 years agofixed braino in changelog entry for replacement of "switches" with "options"
Nick Clifton [Thu, 17 Jan 2002 23:13:52 +0000 (23:13 +0000)]
fixed braino in changelog entry for replacement of "switches" with "options"

22 years agodaily update
Alan Modra [Thu, 17 Jan 2002 23:00:04 +0000 (23:00 +0000)]
daily update

22 years ago2002-01-17 Eric Christopher <echristo@redhat.com>
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.

22 years agoAdd a more instructive error message on bad syntax
Timothy Wall [Thu, 17 Jan 2002 17:41:24 +0000 (17:41 +0000)]
Add a more instructive error message on bad syntax

22 years agoRegenerate .pot and .po files
Nick Clifton [Thu, 17 Jan 2002 14:12:08 +0000 (14:12 +0000)]
Regenerate .pot and .po files

22 years ago * elf-bfd.h (elf_backend_data <elf_backend_section_from_bfd_section>):
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.

22 years agoAdd no-c-format comment to prevent confusion when translating string.
Nick Clifton [Thu, 17 Jan 2002 11:28:49 +0000 (11:28 +0000)]
Add no-c-format comment to prevent confusion when translating string.

22 years agoRemove leftover conflict marker.
Andreas Schwab [Thu, 17 Jan 2002 11:01:39 +0000 (11:01 +0000)]
Remove leftover conflict marker.

22 years ago2002-01-16 Eric Christopher <echristo@redhat.com>
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.

22 years ago2002-01-16 H.J. Lu (hjl@gnu.org)
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.

22 years agodaily update
Alan Modra [Wed, 16 Jan 2002 23:00:04 +0000 (23:00 +0000)]
daily update

22 years ago * config/tc-mips.c (percent_op): Ensure longer percent_op's are
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.

22 years ago* elf32-arm.h (elf32_arm_merge_private_bfd_data): Handle
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.

22 years ago* coff/arm.h (F_VFP_FLOAT): Define.
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.

22 years agoImport new Turkish translations.
Nick Clifton [Wed, 16 Jan 2002 10:17:48 +0000 (10:17 +0000)]
Import new Turkish translations.

22 years ago * elf64-ppc.c (ppc64_elf_howto_raw): Remove stale FIXMEs.
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.

22 years ago * readelf.c (get_ppc64_dynamic_type): New.
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.

22 years ago * Makefile.am (eelf64ppc.c, eelf64lppc.c): Depend on ppc64elf.em.
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.

22 years ago * elflink.c (_bfd_elf_create_dynamic_sections): Don't set SEC_CODE
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.

22 years ago * ppc.h (DT_PPC64_GLINK): Define.
Alan Modra [Wed, 16 Jan 2002 05:48:56 +0000 (05:48 +0000)]
* ppc.h (DT_PPC64_GLINK): Define.

22 years ago * elf32-arm.h (elf32_arm_size_dynamic_sections): When removing
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.

22 years ago* scripttempl/pe.sc: Add support for constructor priorities.
DJ Delorie [Wed, 16 Jan 2002 01:48:43 +0000 (01:48 +0000)]
* scripttempl/pe.sc: Add support for constructor priorities.

22 years agodaily update
Alan Modra [Tue, 15 Jan 2002 23:00:05 +0000 (23:00 +0000)]
daily update

22 years agoRefer to "options" not "switches"
Nick Clifton [Tue, 15 Jan 2002 17:18:53 +0000 (17:18 +0000)]
Refer to "options" not "switches"

22 years agoSupport for VFP instructions
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.

22 years ago* arm-opc.h (arm_opcodes): Add patterns for VFP instructions.
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.

22 years ago* tc-arm.c (md_parse_option): Tidy up setting of cpu_variant for
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.

22 years agoAdd Swedish translation
Nick Clifton [Tue, 15 Jan 2002 13:58:25 +0000 (13:58 +0000)]
Add Swedish translation

22 years agoSpecial case handlign for m32r port
Nick Clifton [Tue, 15 Jan 2002 12:56:32 +0000 (12:56 +0000)]
Special case handlign for m32r port

22 years ago * elflink.h (elf_link_input_bfd): Back out 2002-01-07 change.
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.

22 years agoAdd missing 'cp' command
Nick Clifton [Tue, 15 Jan 2002 12:41:00 +0000 (12:41 +0000)]
Add missing 'cp' command

22 years agoFix expected results of disassembly of DSP instructions
Nick Clifton [Tue, 15 Jan 2002 12:27:53 +0000 (12:27 +0000)]
Fix expected results of disassembly of DSP instructions

22 years agoFix up generation of VTINHERIT relocs
Nick Clifton [Tue, 15 Jan 2002 11:58:45 +0000 (11:58 +0000)]
Fix up generation of VTINHERIT relocs

22 years agodaily update
Alan Modra [Mon, 14 Jan 2002 23:00:05 +0000 (23:00 +0000)]
daily update

22 years ago* MAINTAINERS: Add self as co-maintainer for the ARM code.
Richard Earnshaw [Mon, 14 Jan 2002 17:49:29 +0000 (17:49 +0000)]
* MAINTAINERS: Add self as co-maintainer for the ARM code.

22 years agoUse section2.e-mips script for v850-elf toolchain.
Nick Clifton [Mon, 14 Jan 2002 17:40:49 +0000 (17:40 +0000)]
Use section2.e-mips script for v850-elf toolchain.

22 years ago* gas/arm/armv1.s, arm/armv1.d, arm/fpa-mem.s, arm/fpa-mem.d
Richard Earnshaw [Mon, 14 Jan 2002 17:39:02 +0000 (17:39 +0000)]
* gas/arm/armv1.s, arm/armv1.d, arm/fpa-mem.s, arm/fpa-mem.d
arm/fpa-monadic.s, arm/fpa-monadic.d, arm/fpa-dyadic.s,
arm/fpa-dyadic.d: New tests.
* gas/arm/le-fpconst.d (objdump): pass --section=.text
* gas/arm/arm.exp: Add new tests.  Run le-fpconst test on elf targets.

22 years ago* tc-arm.c (md_longopts): On targets that aren't bi-endian, support
Richard Earnshaw [Mon, 14 Jan 2002 17:37:23 +0000 (17:37 +0000)]
* tc-arm.c (md_longopts): On targets that aren't bi-endian, support
the -EL/-EB option that matches the target's endianness.
(md_parse_option): Likewise.

22 years agoExpect xscale-coff to fail simple objcopy test for the same reason as arm-coff.
Nick Clifton [Mon, 14 Jan 2002 17:26:13 +0000 (17:26 +0000)]
Expect xscale-coff to fail simple objcopy test for the same reason as arm-coff.

22 years agoFor ARM targets, link with libgcc.a.
Nick Clifton [Mon, 14 Jan 2002 15:46:50 +0000 (15:46 +0000)]
For ARM targets, link with libgcc.a.

22 years ago* tc-arm.c (md_longopts): Fix misplaced #endif -- the -oabi option
Richard Earnshaw [Mon, 14 Jan 2002 15:36:30 +0000 (15:36 +0000)]
* tc-arm.c (md_longopts): Fix misplaced #endif -- the -oabi option
is not dependent on ARM_BI_ENDIAN.

22 years ago* tc-arm.c (all error messages): Normalize capitalization of messages.
Richard Earnshaw [Mon, 14 Jan 2002 15:01:04 +0000 (15:01 +0000)]
* tc-arm.c (all error messages): Normalize capitalization of messages.

* tc-arm.h (md_operand): Delete define.
* tc-arm.c (in_my_get_expression): New static variable.
(my_get_expression): Set and clear it.
(md_operand): New function.  If called from my_get_expression
put the error in inst.error.
(output_inst): Now takes argument of instruction being assembled.
Print it out with any error message.
(do_ldst, do_ldstv4, thumb_load_store): Fault attempt to use a store
with '=' syntax.
(end_of_line): Don't update inst.error if it is already set.

22 years ago* gas/arm/armv1-bad.s gas/arm/armv1-bad.l: New files.
Richard Earnshaw [Mon, 14 Jan 2002 15:00:18 +0000 (15:00 +0000)]
* gas/arm/armv1-bad.s gas/arm/armv1-bad.l: New files.
* gas/arm/arm.exp (run_error_test): New proc.
(armv1-bad): New error test.

22 years agoAdd Spanish Translation
Nick Clifton [Mon, 14 Jan 2002 13:10:20 +0000 (13:10 +0000)]
Add Spanish Translation

22 years agodaily update
Alan Modra [Sun, 13 Jan 2002 23:00:04 +0000 (23:00 +0000)]
daily update

22 years agodaily update
Alan Modra [Sat, 12 Jan 2002 23:00:09 +0000 (23:00 +0000)]
daily update

22 years ago * emulparams/avr1200.sh (DATA_START): Define as 0x60.
Denis Chertykov [Sat, 12 Jan 2002 20:22:19 +0000 (20:22 +0000)]
* emulparams/avr1200.sh (DATA_START): Define as 0x60.
* emulparams/avr23xx.sh: Likewise.
* emulparams/avr4433.sh: Likewise.
* emulparams/avr44x4.sh: Likewise.
* emulparams/avr85xx.sh: Likewise.
* emulparams/avrmega103.sh: Likewise.
* emulparams/avrmega161.sh: Likewise.
* emulparams/avrmega603.sh: Likewise.
* scripttempl/elf32avr.sc: Use DATA_START instead of 0x60.

22 years agodaily update
Alan Modra [Fri, 11 Jan 2002 23:00:15 +0000 (23:00 +0000)]
daily update

22 years ago* tc-arm.c ((do_ldst): Fix handling an immediate expression pseudo
Richard Earnshaw [Fri, 11 Jan 2002 18:00:17 +0000 (18:00 +0000)]
* tc-arm.c ((do_ldst): Fix handling an immediate expression pseudo
op that can be translated into a mvn instruction.

* gas/arm/ldconst.s gas/arm/ldconst.d: New files.  Test ldr with
immediate pseudo-operations.
* gas/arm/arm.exp: Run it.

22 years agoAdd ia64-hpux target. LD and GDB are not currently supported.
Nick Clifton [Fri, 11 Jan 2002 09:29:18 +0000 (09:29 +0000)]
Add ia64-hpux target.  LD and GDB are not currently supported.

22 years agoAdd support for ia64-hpux target.
Nick Clifton [Fri, 11 Jan 2002 09:27:39 +0000 (09:27 +0000)]
Add support for ia64-hpux target.

22 years ago[cgen/ChangeLog]
Matthew Green [Fri, 11 Jan 2002 07:24:59 +0000 (07:24 +0000)]
[cgen/ChangeLog]
* cpu/xstormy16.cpu (gr-Rbj-names): Rename this ...
(gr-Rb-names): ... to this.
(h-Rb): New hardware peice.
(h-Rbj): Use gr-Rb-names.
(Rb): Use h-Rb.

(holdx): New instruction.

[opcodes/ChangeLog]
* xstormy16-asm.c: Regenerate.
* xstormy16-desc.c: Likewise.
* xstormy16-desc.h: Likewise.
* xstormy16-dis.c: Likewise.
* xstormy16-opc.c: Likewise.
* xstormy16-opc.h: Likewise.

[gas/testsuite/ChangeLog]
* gas/xstormy16/allinsn.sh (movf, jmp, call, icall): Update.
* gas/xstormy16/allinsn.d: Regenerate.
* gas/xstormy16/allinsn.s: Regenerate.

[sid/component/cgen-cpu/xstormy16/ChangeLog]
* xstormy16.cxx (do_holdx): Define.
* xstormy16.h (do_holdx): Declare.

22 years ago2002-01-10 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Thu, 10 Jan 2002 23:05:21 +0000 (23:05 +0000)]
2002-01-10  Michael Snyder  <msnyder@redhat.com>

* elf.c (elfcore_write_prstatus): Use long instead of pid_t;
(elfcore_write_pstatus): Use long instead of pid_t;
* elf-bfd.h: Change prototypes to use long instead of pid_t;

22 years agodaily update
Alan Modra [Thu, 10 Jan 2002 23:00:05 +0000 (23:00 +0000)]
daily update

22 years ago* tc-arm.c (struct reg_entry): Move before prototypes.
Richard Earnshaw [Thu, 10 Jan 2002 11:47:35 +0000 (11:47 +0000)]
* tc-arm.c (struct reg_entry): Move before prototypes.
(int_register, cp_register, fp_register): Delete.
(reg_table): Delete.  Replaced with ...
(rn_table, cp_table, cn_table, fn_table, mav_mvf_table)
(mav_mvd_table, mav_mvfx_table, mav_mvdx_table, mav_mvax_table)
(mav_dspsc_table): ... one table per register set.
(arm_reg_hsh): Delete.
(struct reg_map): New structure.
(all_reg_maps): New array.
(enum arm_reg_type): New enums.
(build_reg_hsh): New function.
(insert_reg_alias): Use hash table passed by caller.  Adjust all
callers.
(create_register_alias): New function, split out from ...
(md_assemble): ... here.
(md_begin): Build new register hash tables.
(arm_reg_parse): New argument for the hash table to search.  Adjust all
callers.
(arm_reg_parse_any): New function.
(co_proc_number): Look up the processor number in the processor hash
table.
(cirrus_regtype): Delete.
(cirrus_register, cirrus_mvf_register, cirrus_mvd_register)
(cirrus_mvfx_register, cirrus_mvdx_register, cirrus_mvax_register)
(ARM_EXT_MAVERICKsc_register): Delete.
(do_c_binops_1, do_c_binops_2, do_c_binops_3): Delete.
(do_c_binops_1[a-o], do_c_binops_2[a-c], do_c_binops_3[a-d]): New
functions.
(do_c_triple_4, do_c_triple_5): Delete.
(do_c_triple_4[ab], do_c_triple_5[a-h]): New functions.
(do_c_quad_6): Delete.
(do_c_quad_6[ab]): New functions.
(do_c_binops, do_c_triple, do_c_quad, do_c_shift, do_c_ldst): Rework
arguments to use new register parsing methods.
(cirrus_reg_required_here): Likewise.
(insns): Reclassify cirrus maverick worker functions.
(cirrus_valid_reg): Delete.

22 years agodaily update
Alan Modra [Wed, 9 Jan 2002 23:00:07 +0000 (23:00 +0000)]
daily update

22 years agoinclude/elf:
Jason Thorpe [Wed, 9 Jan 2002 18:59:11 +0000 (18:59 +0000)]
include/elf:
* common.h: Update copyright years.
(NT_NETBSDCORE_PROCINFO): Define.
(NT_NETBSDCORE_FIRSTMACH): Define.

bfd:
* elf.c: Update copyright years.
(elfcore_grok_netbsd_note): Use NT_NETBSDCORE_PROCINFO
and NT_NETBSDCORE_FIRSTMACH.  Improve a comment.

bintuils:
* readelf.c (get_netbsd_elfcore_note_type): Use
NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.

22 years ago* readelf.c: Update copyright years.
Jason Thorpe [Wed, 9 Jan 2002 18:05:49 +0000 (18:05 +0000)]
* readelf.c: Update copyright years.
(get_note_type): Return a const char *.
(get_netbsd_elfcore_note_type): New function.
(process_note): Use get_netbsd_elfcore_note_type to get
the note type string for NetBSD ELF core files.

22 years ago* gas/arm/float.s: Don't use VFP register names in fpa instructions.
Richard Earnshaw [Wed, 9 Jan 2002 16:59:06 +0000 (16:59 +0000)]
* gas/arm/float.s: Don't use VFP register names in fpa instructions.

22 years ago2002-01-08 H.J. Lu <hjl@gnu.org>
H.J. Lu [Wed, 9 Jan 2002 07:30:36 +0000 (07:30 +0000)]
2002-01-08  H.J. Lu <hjl@gnu.org>

* gas/mips/elf-rel.s: New tests for nested ().

* gas/mips/elf-rel.d: Modified for nested () tests.
* gas/mips/elfel-rel.d: Likewise.

22 years agodaily update
Alan Modra [Tue, 8 Jan 2002 23:00:07 +0000 (23:00 +0000)]
daily update

22 years agoFix typo.
Michael Snyder [Tue, 8 Jan 2002 21:33:23 +0000 (21:33 +0000)]
Fix typo.

22 years ago2002-01-08 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Tue, 8 Jan 2002 21:31:36 +0000 (21:31 +0000)]
2002-01-08  Michael Snyder  <msnyder@redhat.com>

Add capability to write corefile note sections, for gdb.
* elf.c (elfcore_write_note): New function.
(elfcore_write_prpsinfo): New function.
(elfcore_write_prstatus): New function.
(elfcore_write_pstatus): New function.
(elfcore_write_prfpreg): New function.
(elfcore_write_prxfpreg): New function.
* elf-bfd.h: Add prototypes for above functions.

22 years ago* elf.c (elf_fake_sections): Propagate errors from
Alexandre Oliva [Tue, 8 Jan 2002 16:42:57 +0000 (16:42 +0000)]
* elf.c (elf_fake_sections): Propagate errors from
elf_backend_fake_section.

22 years ago* ldlang.c (walk_wild_section): Exclude object file if enclosing
Alexandre Oliva [Tue, 8 Jan 2002 14:56:09 +0000 (14:56 +0000)]
* ldlang.c (walk_wild_section): Exclude object file if enclosing
archive is excluded.

22 years agobfd:
Jason Thorpe [Tue, 8 Jan 2002 04:23:02 +0000 (04:23 +0000)]
bfd:
* Makefile.am (BFD32_BACKENDS): Add elf32-sh-nbsd.lo.
(BFD32_BACKENDS_CFILES): Add elf32-sh-nbsd.c.
(elf32-sh-nbsd.lo): New rule.
* Makefile.in: Regenerate.
* config.bfd (sh*le-*-netbsdelf*): New target.
(sh*-*-netbsdelf*): New target.
* configure.in: Include netbsd-core.lo for native sh*-*-netbsd*.
(bfd_elf32_shnbsd_vec): New vector.
(bfd_elf32_shlnbsd_vec): New vector.
* configure: Regenerate.
* elf32-sh-nbsd.c: New file.
* targets.c: Update copyright years.
(_bfd_target_vector): Add bfd_elf32_shlnbsd_vec and
bfd_elf32_shnbsd_vec.

gas:
* configure.in (sh*le): Set cpu_type=sh and endian=little.
(sh*-*-netbsdelf*): New target.
* configure: Regenerate.
* tc-sh.h: Update copyright years.
(TARGET_FORMAT): Add version for TE_NetBSD.

ld:
* Makefile.am (ALL_EMULATIONS): Add eshelf_nbsd.o and eshlelf_nbsd.o.
(eshelf_nbsd.c): New rule.
(eshlelf_nbsd.c): New rule.
* Makefile.in: Regenerate.
* configure.tgt (sh*le-*-netbsdelf*): New target.
(sh*-*-netbsdelf*): New target.
* emulparams/shelf.sh: Document that shelf_nbsd.sh sources this file.
* ld/emulparams/shelf_nbsd.sh: New emulation.
* ld/emulparams/shlelf_nbsd.sh: New emulation.

22 years ago* bfd/coff-rs6000.c (READ20): Use bfd_scan_vma.
Aldy Hernandez [Tue, 8 Jan 2002 00:28:36 +0000 (00:28 +0000)]
* bfd/coff-rs6000.c (READ20): Use bfd_scan_vma.

22 years agodaily update
Alan Modra [Mon, 7 Jan 2002 23:00:05 +0000 (23:00 +0000)]
daily update

22 years ago2002-01-07 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Mon, 7 Jan 2002 19:44:59 +0000 (19:44 +0000)]
2002-01-07  Jeff Johnston  <jjohnstn@redhat.com>

        * Change reference to Cygnus Solutions to be Red Hat.

22 years ago2002-01-07 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Mon, 7 Jan 2002 19:40:40 +0000 (19:40 +0000)]
2002-01-07  Jeff Johnston  <jjohnstn@redhat.com>

        * COPYING.NEWLIB: Update generic copyright date.

22 years agoARM support added to libgloss
Mark Salter [Mon, 7 Jan 2002 18:14:04 +0000 (18:14 +0000)]
ARM support added to libgloss

22 years ago * elflink.h (elf_link_input_bfd): Don't ask for the merged offset
Geoffrey Keating [Mon, 7 Jan 2002 17:55:37 +0000 (17:55 +0000)]
* elflink.h (elf_link_input_bfd): Don't ask for the merged offset
of a symbol in a section that will be deleted.

22 years agodo not allow size or nbytes to go negative.
Nick Clifton [Mon, 7 Jan 2002 17:51:18 +0000 (17:51 +0000)]
do not allow size or nbytes to go negative.

22 years agoAdd spanish translation files
Nick Clifton [Mon, 7 Jan 2002 17:37:59 +0000 (17:37 +0000)]
Add spanish translation files

22 years agoNote that --emit-relocs is currently only implemented for ELF.
Nick Clifton [Mon, 7 Jan 2002 17:32:42 +0000 (17:32 +0000)]
Note that --emit-relocs is currently only implemented for ELF.

22 years agoRotate ChangeLog
Nick Clifton [Mon, 7 Jan 2002 12:12:47 +0000 (12:12 +0000)]
Rotate ChangeLog

22 years agoRotated ChangeLog
Nick Clifton [Mon, 7 Jan 2002 12:10:15 +0000 (12:10 +0000)]
Rotated ChangeLog

22 years agodaily update
Alan Modra [Sun, 6 Jan 2002 23:00:04 +0000 (23:00 +0000)]
daily update

22 years ago * config/tc-m68k.h (md_prepare_relax_scan): Rewrite.
Alan Modra [Sun, 6 Jan 2002 12:15:45 +0000 (12:15 +0000)]
* config/tc-m68k.h (md_prepare_relax_scan): Rewrite.
* config/tc-m68k.c (md_relax_table): Add md_prepare_relax_scan comment.

22 years ago * elfxx-ia64.c (is_unwind_section_name): Add target vector as
Alan Modra [Sun, 6 Jan 2002 11:14:19 +0000 (11:14 +0000)]
* elfxx-ia64.c (is_unwind_section_name): Add target vector as
argument so we can handle HP-UX specially.
(elfNN_ia64_hpux_vec): New for use in is_unwind_section_name.
(elfNN_hpux_backend_section_from_bfd_section): New for support
of SHN_IA_64_ANSI_COMMON.
(elfNN_ia64_relax_section): Add support for SHN_IA_64_ANSI_COMMON.
(is_unwind_section_name): Add special HP-UX support.
(elfNN_ia64_section_from_shdr): Add support for more sections.
(elfNN_ia64_fake_sections): Modify is_unwind_section_name call and
add support for more sections.
(elfNN_ia64_additional_program_headers): Modify
is_unwind_section_name call.
(elfNN_ia64_modify_segment_map): Remove assumption that there is
only one unwind section in segment.

22 years ago * readelf.c (get_ia64_segment_type): Add support for macros.
Alan Modra [Sun, 6 Jan 2002 11:13:31 +0000 (11:13 +0000)]
* readelf.c (get_ia64_segment_type): Add support for macros.
(get_segment_type): Add support for IA64 specific macros.

22 years ago * ia64.h (ELF_STRING_ia64_unwind_hdr): New Macro for HP-UX.
Alan Modra [Sun, 6 Jan 2002 11:12:39 +0000 (11:12 +0000)]
* ia64.h (ELF_STRING_ia64_unwind_hdr): New Macro for HP-UX.
(SHT_IA_64_HP_OPT_ANOT): Ditto
(PT_IA_64_HP_OPT_ANOT): Ditto
(PT_IA_64_HP_HSL_ANOT): Ditto
(PT_IA_64_HP_STACK): Ditto
(SHN_IA_64_ANSI_COMMON): Ditto

22 years ago * syms.c (_bfd_generic_make_empty_symbol): New function.
Alan Modra [Sun, 6 Jan 2002 07:30:35 +0000 (07:30 +0000)]
* syms.c (_bfd_generic_make_empty_symbol): New function.
* libbfd-in.h (_bfd_nosymbols_make_empty_symbol): Define as
_bfd_generic_make_empty_symbol.
* libbfd.h: Regenerate.
* bfd-in2.h: Regenerate.
* hppabsd-core.c (hppabsd_core_make_empty_symbol): Delete function.
(hppabsd_core_get_symtab_upper_bound): Don't define.
(hppabsd_core_get_symtab): Likewise.
(hppabsd_core_print_symbol): Likewise.
(hppabsd_core_get_symbol_info): Likewise.
(hppabsd_core_bfd_is_local_label_name): Likewise.
(hppabsd_core_get_lineno): Likewise.
(hppabsd_core_find_nearest_line): Likewise.
(hppabsd_core_bfd_make_debug_symbol): Likewise.
(hppabsd_core_read_minisymbols): Likewise.
(hppabsd_core_minisymbol_to_symbol): Likewise.
(hppabsd_core_vec): Use BFD_JUMP_TABLE_SYMBOLS (_bfd_nosymbols).
Formatting fixes.
* hpux-core.c: Similarly.
* irix-core.c: Similarly.
* osf-core.c: Similarly.
* sco5-core.c: Similarly.
* binary.c (binary_make_empty_symbol): Remove function, define as
_bfd_generic_make_empty_symbol.
* ihex.c (ihex_make_empty_symbol): Likewise.
* mmo.c (mmo_make_empty_symbol): Likewise.
* ppcboot.c (ppcboot_make_empty_symbol): Likewise.
* srec.c (srec_make_empty_symbol): Likewise.
* versados.c (versados_make_empty_symbol): Likewise.
* vms.c (_bfd_vms_make_empty_symbol): Remove.
(vms_make_empty_symbol): Define as _bfd_generic_make_empty_symbol.
* vms-gsd.c (_bfd_vms_slurp_gsd): Call bfd_make_empty_symbol
rather than _bfd_vms_make_empty_symbol.
* vms-misc.c (new_symbol): Likewise.

22 years agodaily update
Alan Modra [Sat, 5 Jan 2002 23:00:06 +0000 (23:00 +0000)]
daily update