1c877e87e3
* readelf.c (get_machine_flags): Don't fall through into m68k cpu
...
types.
2004-10-07 21:01:43 +00:00
99022dfb1d
* elf64-mips.c (mips_elf64_write_rel): Use STN_UNDEF for relocs
...
against the absolute section.
(mips_elf64_write_rela): Likewise.
2004-10-07 19:15:29 +00:00
b1dca8ee5e
* config/tc-mips.c (append_insn): Set fx_tcbit for composite relocs.
...
(md_apply_fix3): Don't treat composite relocs as done.
2004-10-07 19:12:54 +00:00
1fd8cd2072
From Maciej W. Rozycki <macro@mips.com>:
...
* mips-tdep.c (mips32_next_pc): Check the register's contents,
not its number for BLEZ/BLEZL and BGTZ/BGTZL.
2004-10-07 17:17:08 +00:00
bbac1f2ac7
Replace literal "0"s with NULLs in pointer initializers.
2004-10-07 15:34:08 +00:00
289040ca3e
When separating CIE out from FDE, treat a DW_CFA_remember_state as we do a
...
DW_CFA_advance_loc. Test to make sure that this feature continues to work.
2004-10-07 15:18:11 +00:00
89658e5257
For ELF targets use .LL rather than LL as the prefix for symbol names generated
...
from the LOCAL macro directive.
2004-10-07 15:16:08 +00:00
6b40fcba62
apply mising piece of previous patch
2004-10-07 15:00:20 +00:00
b67ae29933
Skip redundant/bogus test for section membership when examining symbols.
2004-10-07 14:57:57 +00:00
5c5054ab48
Add error checking for CRX Co-Processor instructions
2004-10-07 14:49:58 +00:00
e3c52c539f
Add error checking for Co-Processor instructions
2004-10-07 14:48:08 +00:00
8fdd7217a7
Add linker option: --warn-shared-textrel to produce warnings when adding a
...
DT_TEXTREL to a shared object.
2004-10-07 14:45:24 +00:00
48c9f030c9
Add support for CRX co-processor opcodes
2004-10-07 14:18:17 +00:00
cea15572cd
2004-10-07 Kei Sakamoto <sakamoto.kei@renesas.com>
...
* m32r-tdep.c (decode_prologue): Support functions written
in assembler language. Recognize trap instructions as the
end of prologue.
(m32r_frame_unwind_cache): Ditto.
(m32r_skip_prologue): Extend search limit. Quit analyzing
prologue if pc's location is not readable.
2004-10-07 01:21:53 +00:00
f124e0e104
daily update
2004-10-07 00:00:06 +00:00
c7784f4d52
*** empty log message ***
2004-10-07 00:00:05 +00:00
3cc0884a68
* gas/testsuite/gas/ppc/e500.s: Add double-precision instructions.
...
* gas/testsuite/gas/ppc/e500.d: Same.
2004-10-06 23:59:03 +00:00
12c64a4e4d
* opcodes/ppc-opc.c (powerpc_opcodes): Add efscfd, efdabs, efdnabs,
...
efdneg, efdadd, efdsub, efdmul, efddiv, efdcmpgt, efdcmplt,
efdcmpeq, efdtstgt, efdtstlt, efdtsteq, efdcfsi, efdcfsid,
efdcfui, efdcfuid, efdcfsf, efdcfuf, efdctsi, efdctsidz, efdctsiz,
efdctui, efdctuidz, efdctuiz, efdctsf, efdctuf, efdctuf, efdcfs.
2004-10-06 23:58:13 +00:00
e05389b893
2004-10-06 Felix Lee <felix+log1@specifixinc.com>
...
* config/gdbserver.exp (gdb_load): Use right filename on remote.
2004-10-06 22:51:00 +00:00
637cf7673d
2004-10-06 Eric Christopher <echristo@redhat.com>
...
* dwarf2.h: Sync with gcc dwarf2.h. Fix typo.
2004-10-06 20:29:48 +00:00
d27cc32edd
2004-10-06 Paolo Bonzini <bonzini@gnu.org>
...
Fix wrong conflict resolution in:
2004-08-16 Paolo Bonzini <bonzini@gnu.org>
* Makefile.in: Regenerate.
* Makefile.tpl (Autogenerated `all-*' targets): Invoke $(TARGET-*)
in the recursive `make', instead of hardwiring `all'.
(Autogenerated TARGET-* variables): New.
2004-10-06 10:15:24 +00:00
2348555434
2004-10-06 Paul N. Hilfinger <Hilfinger@gnat.com>
...
* Makefile.in (.l.c): Do conversions of names of alloc and free
functions that are done for .y.c files, plus special one
for yy_flex_realloc. Also, correct missing-file tests here.
* ada-lex.l (malloc, free): Remove macros.
(resize_tempbuf): Use "realloc"; rely on sed changes to convert to
xrealloc.
(ada_flex_use): Dummy definition to remove warnings about unused
functions.
* ada-exp.y (dummy_string_to_ada_operator): Temporary definition
to suppress warning.
2004-10-06 09:28:55 +00:00
c0409442a8
* sh-tdep.c (sh_return_value_nofpu): New function, implementing
...
RETURN_VALUE.
(sh_return_value_fpu): Ditto for CPUs with FPU.
(sh_gdbarch_init): Remove STORE_RETURN_VALUE, EXTRACT_RETURN_VALUE,
RETURN_VALUE_ON_STACK and USE_STRUCT_CONVENTION throughout.
Install sh_return_value_nofpu resp. sh_return_value_fpu as
RETURN_VALUE functions.
2004-10-06 08:59:02 +00:00
9bed62d7af
* sh-tdep.c (sh_pseudo_register_read): Add PSEUDO_BANK_REGNUM handling.
...
(sh_pseudo_register_write): Ditto.
2004-10-06 08:57:38 +00:00
03131d99d3
* sh-tdep.c (IS_MACL_STS): New define.
...
(IS_MOVI20): Ditto.
(IS_MACL_LDS): Ditto.
(sh_analyze_prologue): Recognize STS.L MACL,@-r15 and MOVI20
instructions in prologue.
(sh_in_function_epilogue_p): Recognize LDS.L @r15+,MACL and MOVI20
instructions in epilogue.
2004-10-06 08:56:40 +00:00
da9624689c
* sh-tdep.c (SH_NUM_REGS): Define as 67.
...
(sh_sh_register_name): Add eight empty register names.
(sh_sh3_register_name): Ditto.
(sh_sh3e_register_name): Ditto.
(sh_sh2e_register_name): Ditto.
(sh_sh2a_register_name): New function, defining SH2A register set.
(sh_sh2a_nofpu_register_name): New function, defining SH2A register set
in nofpu case.
(sh_sh_dsp_register_name): Add eight empty register names.
(sh_sh3_dsp_register_name): Ditto.
(sh_sh4_register_name): Ditto.
(sh_sh4_nofpu_register_name): Ditto.
(sh_sh4al_dsp_register_name): Ditto.
(sh2a_show_regs): New function.
(sh2a_nofpu_show_regs): New function.
(sh_sh2a_register_type): New function.
(do_bank_register_info): New function.
(sh_print_pseudo_register): Call do_bank_register_info.
Call sh_print_pseudo_register for valid "bank" register.
(sh_sh2a_register_sim_regno): New function.
(sh_gdbarch_init): Add bfd_mach_sh2a and bfd_mach_sh2a_nofpu handling.
Increment pseudo register count by one for all sh variants with
pseudo registers to accomodate pseudo bank register.
* sh-tdep.h: Add register numbers for R0_BANK0_REGNUM, MACHB_REGNUM,
IVNB_REGNUM, PRB_REGNUM, GBRB_REGNUM, MACLB_REGNUM, BANK_REGNUM,
IBCR_REGNUM, IBNR_REGNUM, TBR_REGNUM and PSEUDO_BANK_REGNUM.
Increment pseudo register numbers.
2004-10-06 08:55:36 +00:00
1326e61ba3
* dwarf2read.c (read_subroutine_type): Call make_function_type
...
instead of lookup_function_type.
2004-10-06 08:46:21 +00:00
709a48ba5e
daily update
2004-10-06 00:00:06 +00:00
83e333c895
*** empty log message ***
2004-10-06 00:00:02 +00:00
146c42e39d
* linux-nat.c (_initialize_linux_nat): Rename child_ops.
...
(Previous change missed some uses.)
2004-10-05 22:40:30 +00:00
1df84f135c
2004-10-05 Andrew Cagney <cagney@gnu.org>
...
* target.h (deprecated_child_ops): Rename child_ops.
* wince.c: Update copyright. Rename child_ops.
* win32-nat.c: Rename child_ops.
* target.c: Rename child_ops.
* rs6000-nat.c: Rename child_ops.
* linux-nat.c: Rename child_ops.
* infttrace.c: Rename child_ops.
* inftarg.c: Rename child_ops.
* infptrace.c: Rename child_ops.
* hppah-nat.c: Update copyright. Rename child_ops.
* hpux-thread.c: Update copyright. Rename child_ops.
2004-10-05 21:53:33 +00:00
21e3b9b91a
* remote.c (remote_xfer_partial): Handle TARGET_OBJECT_MEMORY.
2004-10-05 19:52:04 +00:00
737ffd4f18
*** empty log message ***
2004-10-05 19:00:02 +00:00
de83afe730
2004-10-05 Andrew Cagney <cagney@gnu.org>
...
* version.in: Bump to version 6.2.50_YYYY-MM-DD-cvs.
2004-10-05 18:37:38 +00:00
073a2dc30f
.
2004-10-05 18:09:46 +00:00
724b3ea926
2004-10-04 Roland McGrath <roland@redhat.com>
...
* hash.c (bfd_hash_set_default_size): Use const for table.
Use size_t instead of int for variable compared to sizeof results.
2004-10-05 18:09:38 +00:00
10b3939b33
* dwarf2read.c (REF_HASH_SIZE): Move earlier.
...
(die_ref_table): Remove.
(struct dwarf2_cu): Add DIES, DEPENDENCIES, and DIE_REF_TABLE.
(struct dwarf2_per_cu_data): Add PSYMTAB. Add a comment describing
the usage of this type.
(struct dwarf2_per_objfile): Update comment for ALL_COMP_UNITS.
(struct dwarf2_pinfo, PST_PRIVATE, DWARF_INFO_OFFSET): Remove.
(struct dwarf2_queue_item, dwarf2_queue, dwarf2_queue_tail): New.
(dwarf2_create_include_psymtab): Update comment.
(find_partial_die): Remove third argument. Remove unreachable call
to error ().
(dwarf2_find_containing_comp_unit): Update comments. Change one
assertion to an error. Remove an unreachable error.
(dwarf2_find_comp_unit): Update comments.
(type_at_offset): Remove dead code.
(make_cleanup_free_die_list, dwarf2_empty_hash_tables): Remove.
(store_in_ref_table): Add CU argument.
(follow_die_ref): Take DIE, attribute, and CU arguments. Handle
inter-compilation-unit references.
(load_full_comp_unit, process_full_comp_unit): New functions, based
on psymtab_to_symtab_1.
(psymtab_to_symtab_1): Use them.
(dwarf2_add_dependence): New function.
(dwarf2_build_psymtabs_hard): Set the psymtab in per_cu. Always create
a per_cu structure, and save it in READ_PSYMTAB_PRIVATE.
(partial_die_parent_scope, guess_structure_name): Update for changes
to find_partial_die.
(dwarf2_psymtab_to_symtab): Initialize dwarf2_per_objfile here.
(queue_comp_unit, process_queue, dwarf2_release_queue): New.
(read_comp_unit): Don't call dwarf2_empty_hash_tables.
(read_die_and_children): Update call to store_in_ref_table.
(do_free_die_list_cleanup): Remove.
(fixup_partial_die): Update for changes to find_partial_die.
(read_full_die): Handle queueing absolute references.
(read_attribute_value): Use DW_ADDR for all DW_FORM_ref* forms.
(dwarf2_attr, die_specification, die_type)
(die_containing_type, dwarf2_extension): Update calls to
follow_die_ref.
(dump_die): Update DW_FORM_ref* handling.
(dwarf2_get_ref_die_offset): Likewise.
(free_one_comp_unit): Release the dies list.
(dwarf2_mark_helper): New function.
(dwarf2_mark): Use it.
2004-10-05 17:53:26 +00:00
339207f8f9
Enable --relax option by default for CRX
2004-10-05 14:39:40 +00:00
799fb2ebc4
Enable --relax option by default
2004-10-05 14:35:50 +00:00
62377b1f9c
oops - omitted from previous delta
2004-10-05 14:03:10 +00:00
7ed4c4c5d0
Add support for generating ARM unwind tables.
2004-10-05 13:51:40 +00:00
1763908f7c
2004-10-05 Ulrich Weigand <uweigand@de.ibm.com>
...
Merged from GCC / libtool upstream:
2004-10-02 P.J. Darcy <darcypj@us.ibm.com>
* ltcf-c.sh (tpf*): Add ld_shlibs=yes.
* ltcf-cxx.sh (tpf*): Likewise.
* ltconfig (tpf*): Add TPF OS configuration support.
2004-10-05 13:34:42 +00:00
998bdd68ff
* procfs.c (procfs_xfer_partial): Use WRITEBUF instead of READBUF
...
when writing to memory.
2004-10-05 11:24:21 +00:00
7785be14ef
PR 425
...
* syms.c (_bfd_stab_section_find_nearest_line): Ignore R_*_NONE relocs.
2004-10-05 11:12:56 +00:00
73cb587da4
2004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
...
* gdb.asm/asm-source.exp: Add m32r-linux target.
* gdb.asm/m32r-linux.inc: New file.
2004-10-05 04:13:42 +00:00
1458888098
2004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
...
* m32r-tdep.c (m32r_use_struct_convention): Delete function.
(m32r_extract_struct_value_address): Delete function.
(m32r_return_value): New function.
(m32r_gdbarch_init): Instead of store_return_value,
extract_return_value, deprecated_extract_struct_value_address
and deprecated_use_struct_convention, set return_value.
2004-10-05 04:07:10 +00:00
16bc1b5f24
daily update
2004-10-05 00:00:06 +00:00
5dedc05d39
*** empty log message ***
2004-10-05 00:00:02 +00:00
04ca870341
2004-10-04 Eric Christopher <echristo@redhat.com>
...
* config/tc-mips.c (md_apply_fix3): Remove erroneous assert.
2004-10-04 23:25:28 +00:00
bcaa7b3eb9
ld/
...
2004-10-04 H.J. Lu <hongjiu.lu@intel.com>
* NEWS: Mention SORT_BY_NAME, SORT_BY_ALIGNMENT and
--sort-section name|alignment.
* ld.texinfo: Document SORT_BY_NAME, SORT_BY_ALIGNMENT and
--sort-section name|alignment.
* ld.h (sort_type): New enum.
(wildcard_spec): Change the type of `sorted' to sort_type.
* ldgram.y (SORT): Removed.
(SORT_BY_NAME): Added.
(SORT_BY_ALIGNMENT): Added.
(wildcard_spec): Updated `sorted'. Handle SORT_BY_NAME and
SORT_BY_ALIGNMENT.
(input_section_spec_no_keep): Updated `sorted'.
(statement): Replace SORT with SORT_BY_NAME.
* ldlang.c (compare_section): New function to compare 2
sections with different sorting schemes.
(wild_sort): Updated. Use compare_section.
(update_wild_statements): New function.
(lang_process): Call update_wild_statements before
map_input_to_output_sections.
* ldlex.l (SORT_BY_NAME): New.
(SORT_BY_ALIGNMENT): New.
(SORT): Return SORT_BY_NAME.
* ldmain.c (sort_section): New. Defined.
(main): Initialize it to none.
* lexsup.c (option_values): Add OPTION_SORT_SECTION.
(ld_options): Add an entry for OPTION_SORT_SECTION.
(parse_args): Handle OPTION_SORT_SECTION.
* mri.c (mri_draw_tree): Updated `sorted'.
ld/testsuite/
2004-10-04 H.J. Lu <hongjiu.lu@intel.com>
* ld-scripts/sort.exp: New file for section sorting tests.
* ld-scripts/sort_b_a.d: Likewise
* ld-scripts/sort_b_a.s: Likewise
* ld-scripts/sort_b_a.t: Likewise
* ld-scripts/sort_b_a_a-1.d: Likewise
* ld-scripts/sort_b_a_a-2.d: Likewise
* ld-scripts/sort_b_a_a-3.d: Likewise
* ld-scripts/sort_b_a_a.t: Likewise
* ld-scripts/sort_b_a_n-1.d: Likewise
* ld-scripts/sort_b_a_n-2.d: Likewise
* ld-scripts/sort_b_a_n-3.d: Likewise
* ld-scripts/sort_b_a_n.t: Likewise
* ld-scripts/sort_b_n.d: Likewise
* ld-scripts/sort_b_n.s: Likewise
* ld-scripts/sort_b_n.t: Likewise
* ld-scripts/sort_b_n_a-1.d: Likewise
* ld-scripts/sort_b_n_a-2.d: Likewise
* ld-scripts/sort_b_n_a-3.d: Likewise
* ld-scripts/sort_b_n_a.t: Likewise
* ld-scripts/sort_b_n_n-1.d: Likewise
* ld-scripts/sort_b_n_n-2.d: Likewise
* ld-scripts/sort_b_n_n-3.d: Likewise
* ld-scripts/sort_b_n_n.t: Likewise
* ld-scripts/sort_n_a-a.s: Likewise
* ld-scripts/sort_n_a-b.s: Likewise
* ld-scripts/sort_no-1.d: Likewise
* ld-scripts/sort_no-2.d: Likewise
* ld-scripts/sort_no.t: Likewise
2004-10-04 16:45:51 +00:00