Thiemo Seufer
394f9b3adb
* 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.
2002-01-16 21:30:47 +00:00
Richard Earnshaw
96a846ea23
* elf32-arm.h (elf32_arm_merge_private_bfd_data): Handle
...
EF_ARM_VFP_FLOAT.
(elf32_arm_print_private_bfd_data): Likewise.
2002-01-16 13:01:54 +00:00
Richard Earnshaw
ca4ebd1e04
* coff/arm.h (F_VFP_FLOAT): Define.
...
* elf/arm.h (F_VFP_FLOAT, EF_ARM_VFP_FLOAT): Define.
2002-01-16 11:35:18 +00:00
Nick Clifton
af3ae48ddd
Import new Turkish translations.
2002-01-16 10:17:48 +00:00
Alan Modra
10ed1bba5b
* elf64-ppc.c (ppc64_elf_howto_raw): Remove stale FIXMEs.
...
(ppc64_elf_reloc_type_lookup): Use proper CTOR reloc.
(ORI_R0_R0_0): Correct.
2002-01-16 07:32:04 +00:00
Alan Modra
f1cb7e1728
* readelf.c (get_ppc64_dynamic_type): New.
...
(get_dynamic_type): Call it.
2002-01-16 05:53:08 +00:00
Alan Modra
1f808cd5d7
* 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.
2002-01-16 05:52:38 +00:00
Alan Modra
5d1634d792
* 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.
2002-01-16 05:50:03 +00:00
Alan Modra
b84da006ed
* ppc.h (DT_PPC64_GLINK): Define.
2002-01-16 05:48:56 +00:00
Alan Modra
c601ffdbb0
* 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.
2002-01-16 05:37:10 +00:00
Daniel Jacobowitz
b012904272
* c-typeprint.c (is_type_conversion_operator): Add additional
...
check for non-conversion operators.
2002-01-16 02:43:38 +00:00
DJ Delorie
335c561080
* scripttempl/pe.sc: Add support for constructor priorities.
2002-01-16 01:48:43 +00:00
gdbadmin
391c4305e8
*** empty log message ***
2002-01-16 00:00:06 +00:00
Alan Modra
69add918a1
daily update
2002-01-15 23:00:05 +00:00
Michael Snyder
ba8679fb81
Fix oops with previous checkin.
2002-01-15 20:14:04 +00:00
Michael Snyder
2bf543a6e7
2002-01-10 Michael Snyder <msnyder@redhat.com>
...
* linux-proc.c: Add "info proc" command, a la procfs.c.
(read_mapping): New function, abstract and re-use code.
(linux_find_memory_regions): Use new func read_mapping.
(linux_info_proc_cmd): New function, implement "info proc".
(_initialize_linux_proc): Add new command "info proc".
2002-01-15 20:10:55 +00:00
Michael Snyder
e4f9b4d584
2002-01-15 Michael Snyder <msnyder@redhat.com>
...
* symfile.c (generic_load): Use bfd_map_over_sections method
instead of manipulating bfd structure members directly.
(add_section_size_callback): New function, bfd sections callback
used by generic_load.
(load_sections_callback): New function, bfd sections callback
used by generic_load.
2002-01-15 20:00:56 +00:00
Elena Zannoni
08cf96df0e
2002-01-15 Elena Zannoni <ezannoni@redhat.com>
...
[Based on work by Jim Blandy]
* gdbtypes.h (builtin_type_v16qi, builtin_type_v8hi): Export.
(builtin_type_vec128): Export.
* gdbtypes.c (builtin_type_v16qi, builtin_type_v8hi): New SIMD
types.
(builtin_type_vec128): New builtin type for 128 bit vector
registers.
(build_gdbtypes): Initialize builtin_type_v16qi and
builtin_type_v8hi. Create the vec128 register builtin type
structure.
(build_builtin_type_vec128): New function.
(_initialize_gdbtypes): Register builtin_type_v16qi and
builtin_type_v8hi with gdbarch. Same for builtin_type_vec128.
* rs6000-tdep.c (rs6000_register_virtual_type): Change type of
AltiVec register to new builtin type.
2002-01-15 19:38:19 +00:00
Andrew Cagney
7064928b62
Doh. s/kdb/kbd/
2002-01-15 19:06:22 +00:00
Andrew Cagney
8973da3a1a
* gdbint.texinfo (Releasing GDB): New chapter.
2002-01-15 19:01:20 +00:00
Nick Clifton
6364e0b4c2
Refer to "options" not "switches"
2002-01-15 17:18:53 +00:00
Daniel Jacobowitz
d7242108d7
2001-01-15 Daniel Jacobowitz <drow@mvista.com>
...
* stabsread.c (read_type): Pass dbx_lookup_type (typenums)
to make_cv_type.
2002-01-15 16:47:17 +00:00
Richard Earnshaw
bfae80f222
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.
2002-01-15 16:05:34 +00:00
Richard Earnshaw
a660f11eb1
* arm-opc.h (arm_opcodes): Add patterns for VFP instructions.
...
* arm-dis.c (print_insn_arm): Support new disassembly qualifiers for
VFP bitfields.
2002-01-15 15:41:23 +00:00
Richard Earnshaw
fcd6d8d6b7
* tc-arm.c (md_parse_option): Tidy up setting of cpu_variant for
...
various command line options.
2002-01-15 14:43:09 +00:00
Nick Clifton
8fb4cb7f7c
Add Swedish translation
2002-01-15 13:58:25 +00:00
Nick Clifton
6a7715f477
Special case handlign for m32r port
2002-01-15 12:56:32 +00:00
Jakub Jelinek
d3c456e950
* 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.
2002-01-15 12:52:15 +00:00
Nick Clifton
8b8c5dbda5
Add missing 'cp' command
2002-01-15 12:41:00 +00:00
Nick Clifton
d6e5ae258d
Fix expected results of disassembly of DSP instructions
2002-01-15 12:27:53 +00:00
Nick Clifton
1f7fd47891
Fix up generation of VTINHERIT relocs
2002-01-15 11:58:45 +00:00
Andrew Cagney
4ee3352dfb
* config/pa/tm-hppa.h (DEPRECATED_CLEAN_UP_REGISTER_VALUE): Rename
...
CLEAN_UP_REGISTER_VALUE.
* regcache.c (supply_register): Update only call.
2002-01-15 02:06:47 +00:00
Andrew Cagney
f015b2e7fc
Mark all 29k targets as obsolete (second attempt to commit this).
2002-01-15 01:52:37 +00:00
Andrew Cagney
7d86b5d55d
* gdb.texinfo (Embedded Processors, Calling program functions):
...
Obsolete references to a29k.
2002-01-15 01:38:45 +00:00
Andrew Cagney
cc1cb004a9
Review cleanups() section. Add examples.
2002-01-15 01:29:24 +00:00
gdbadmin
156d18a2e6
*** empty log message ***
2002-01-15 00:00:05 +00:00
Alan Modra
77ab017d24
daily update
2002-01-14 23:00:05 +00:00
Michael Snyder
356ae49dda
2002-01-14 Michael Snyder <msnyder@redhat.com>
...
* linux-proc.c (linux_do_thread_registers): Ignore fpxregs
until we can resolve portability issues.
* gregset.h: Remove references to fpxregs.
* gcore.c (gcore_command): Initialize note_sec to NULL.
2002-01-14 20:00:48 +00:00
Richard Earnshaw
3a7e524e6b
* MAINTAINERS: Add self as co-maintainer for the ARM code.
2002-01-14 17:49:29 +00:00
Nick Clifton
d1c15a92bc
Use section2.e-mips script for v850-elf toolchain.
2002-01-14 17:40:49 +00:00
Richard Earnshaw
50463d2af3
* 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.
2002-01-14 17:39:02 +00:00
Richard Earnshaw
21f0f23a55
* 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.
2002-01-14 17:37:23 +00:00
Nick Clifton
70bbfa2692
Expect xscale-coff to fail simple objcopy test for the same reason as arm-coff.
2002-01-14 17:26:13 +00:00
Nick Clifton
8f2a69559a
For ARM targets, link with libgcc.a.
2002-01-14 15:46:50 +00:00
Richard Earnshaw
ce058b6cfb
* tc-arm.c (md_longopts): Fix misplaced #endif -- the -oabi option
...
is not dependent on ARM_BI_ENDIAN.
2002-01-14 15:36:30 +00:00
Richard Earnshaw
f03698e661
* 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.
2002-01-14 15:01:04 +00:00
Richard Earnshaw
2ad6300c8e
* 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.
2002-01-14 15:00:18 +00:00
Nick Clifton
1209e219c7
Add Spanish Translation
2002-01-14 13:10:20 +00:00
Ben Elliston
b59d44decf
2002-01-14 Ben Elliston <bje@redhat.com>
...
* sim-fpu.h: Fix comment about sim_fpu_* constants.
2002-01-14 02:47:59 +00:00
gdbadmin
cfc07856b8
*** empty log message ***
2002-01-14 00:00:02 +00:00