platform/upstream/binutils.git
22 years ago* configure.in (noconfigdirs): Don't disable libgcj on
Alexandre Oliva [Sun, 5 May 2002 18:58:17 +0000 (18:58 +0000)]
* configure.in (noconfigdirs): Don't disable libgcj on
sparc64-*-solaris* and sparcv9-*-solaris*.

22 years ago* alpha-tdep.c (alpha_extract_return_value): Don't use
Alexandre Oliva [Sun, 5 May 2002 18:49:57 +0000 (18:49 +0000)]
* alpha-tdep.c (alpha_extract_return_value): Don't use
non-constant array size in prototype.

22 years agoFrom Brian Taylor <briant at model dot com>:
Andrew Cagney [Sun, 5 May 2002 03:17:21 +0000 (03:17 +0000)]
From Brian Taylor <briant at model dot com>:
* ui-out.c (ui_out_field_core_addr): Use the function
longest_local_hex_string_custom'to format addresses > 32 bits
wide.

* ui-out.c (ui_out_field_core_addr): Update comment.

22 years ago* stack.c (select_and_print_frame): Make static. Delete the
Andrew Cagney [Sun, 5 May 2002 02:24:38 +0000 (02:24 +0000)]
* stack.c (select_and_print_frame): Make static.  Delete the
parameter `level'.
(func_command): Update call.
(select_frame_command): Delete code computing the frame level.
* frame.h (select_and_print_frame): Delete declaration.

22 years ago* sparc-tdep.c (sparc_get_saved_register): Comment why
Andrew Cagney [Sun, 5 May 2002 01:55:37 +0000 (01:55 +0000)]
* sparc-tdep.c (sparc_get_saved_register): Comment why
get_prev_frame call is safe.

22 years ago* frame.h (select_frame): Delete level parameter.
Andrew Cagney [Sun, 5 May 2002 01:15:13 +0000 (01:15 +0000)]
* frame.h (select_frame): Delete level parameter.
* stack.c (select_frame): Update.  Use frame_relative_level to
obtain the frame's level.
(select_and_print_frame): Update call.
(select_frame_command): Ditto.
(up_silently_base): Ditto.
(down_silently_base): Ditto.
* ocd.c (ocd_start_remote): Ditto.
* remote-rdp.c (remote_rdp_open): Ditto.
* remote-mips.c (mips_initialize): Ditto.
(common_open): Ditto.
* remote-e7000.c (e7000_start_remote): Ditto.
* m3-nat.c (select_thread): Ditto.
* hppa-tdep.c (child_get_current_exception_event): Ditto.
(child_get_current_exception_event): Ditto.
* varobj.c (varobj_create): Ditto.
(varobj_update): Ditto.
(c_value_of_root): Ditto.
* tracepoint.c (finish_tfind_command): Ditto.
* corelow.c (core_open): Ditto.
* arch-utils.c (generic_prepare_to_proceed): Ditto.
* thread.c (info_threads_command): Ditto.
(switch_to_thread): Ditto.
* infrun.c (normal_stop): Ditto.
(restore_selected_frame): Ditto.
(restore_inferior_status): Ditto.
* breakpoint.c (insert_breakpoints): Ditto.
(watchpoint_check): Ditto.
(bpstat_stop_status): Ditto.
(do_enable_breakpoint): Ditto.
* blockframe.c (flush_cached_frames): Ditto.
(reinit_frame_cache): Ditto.

22 years agodaily update
Alan Modra [Sun, 5 May 2002 00:00:05 +0000 (00:00 +0000)]
daily update

22 years ago*** empty log message ***
gdbadmin [Sun, 5 May 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

22 years agoJason Thorpe as NetBSD maintainer.
Andrew Cagney [Sat, 4 May 2002 23:34:55 +0000 (23:34 +0000)]
Jason Thorpe as NetBSD maintainer.

22 years ago* gdbtypes.c (replace_type): Doc fix.
Jim Blandy [Sat, 4 May 2002 21:24:07 +0000 (21:24 +0000)]
* gdbtypes.c (replace_type): Doc fix.

22 years ago* valprint.c (strcat_longest): Delete commented out function.
Andrew Cagney [Sat, 4 May 2002 20:57:51 +0000 (20:57 +0000)]
* valprint.c (strcat_longest): Delete commented out function.
Update copyright.

22 years ago* gdb.c++/hang.exp: Check for corruption of the cv_type chain.
Jim Blandy [Sat, 4 May 2002 20:51:16 +0000 (20:51 +0000)]
* gdb.c++/hang.exp: Check for corruption of the cv_type chain.
* gdb.c++/hang3.C: New file.

22 years ago* gdbint.texinfo (Releasing GDB): Revise `Create a Release'.
Andrew Cagney [Sat, 4 May 2002 19:57:22 +0000 (19:57 +0000)]
* gdbint.texinfo (Releasing GDB): Revise `Create a Release'.

22 years ago * config/tc-mips.c: Fix formatting.
Kazu Hirata [Sat, 4 May 2002 17:38:00 +0000 (17:38 +0000)]
* config/tc-mips.c: Fix formatting.
* config/tc-s390.c: Likewise.
* config/tc-s390.h: Likewise.

22 years ago* gdb.texinfo: Delete obsolete references to a29k.
Andrew Cagney [Sat, 4 May 2002 16:00:30 +0000 (16:00 +0000)]
* gdb.texinfo: Delete obsolete references to a29k.

22 years ago* MAINTAINERS: Mark a29k as deleted.
Andrew Cagney [Sat, 4 May 2002 15:52:42 +0000 (15:52 +0000)]
* MAINTAINERS: Mark a29k as deleted.
* NEWS: Mention that a29k was removed.  Add OBSOLETE section.
Move new configurations to the top.
* configure.tgt: Remove a29k.
* config/a29k/tm-vx29k.h: Delete.
* config/a29k/vx29k.mt: Delete.
* config/a29k/tm-a29k.h: Delete.
* config/a29k/a29k-udi.mt: Delete.
* config/a29k/a29k.mt: Delete.
* a29k-tdep.c: Delete.
* remote-udi.c: Delete.
* remote-mm.c: Delete.
* remote-eb.c: Delete.
* remote-adapt.c: Delete.
* Makefile.in: Remove obsolete code.
* gdbserver/Makefile.in: Ditto.
* config/s390/s390x.mt: Ditto.
* config/s390/s390.mt: Ditto.
* config/sparc/sparclynx.mh: Ditto.
* config/sparc/linux.mh: Ditto.
* config/pa/hppaosf.mh: Ditto.
* config/pa/hppabsd.mh: Ditto.
* config/ns32k/nbsd.mt: Ditto.
* config/mips/vr5000.mt: Ditto.
* config/m68k/sun3os4.mh: Ditto.
* config/m68k/nbsd.mt: Ditto.
* config/m68k/m68klynx.mh: Ditto.
* config/m32r/m32r.mt: Ditto.
* config/i386/x86-64linux.mt: Ditto.
* config/i386/nbsdelf.mt: Ditto.
* config/i386/nbsd.mt: Ditto.
* config/i386/i386lynx.mh: Ditto.

22 years ago* gdb.base/default.exp: Remove obsolete code.
Andrew Cagney [Sat, 4 May 2002 15:18:21 +0000 (15:18 +0000)]
* gdb.base/default.exp: Remove obsolete code.
* gdb.c++/misc.exp: Ditto.  Update copyright.
* gdb.c++/cplusfuncs.exp: Ditto.  Update copyright.
* gdb.base/whatis.exp: Ditto.  Update copyright.
* gdb.base/scope.exp: Ditto.  Update copyright.
* gdb.base/ptype.exp: Ditto.  Update copyright.
* gdb.base/printcmds.exp: Ditto.  Update copyright.
* gdb.base/opaque.exp: Ditto.  Update copyright.
* gdb.base/list.exp: Ditto.
* gdb.base/funcargs.exp: Ditto.  Update copyright.
* gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
* gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
* gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
* gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
* gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
* gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.

22 years ago* target.c (debug_print_register): New function. Handle oversize
Andrew Cagney [Sat, 4 May 2002 14:19:21 +0000 (14:19 +0000)]
* target.c (debug_print_register): New function.  Handle oversize
registers.
(debug_to_fetch_registers): Call.
(debug_to_store_registers): Call.

22 years ago * elf64-ppc.c (ppc64_elf_relocate_section): Reinstate code
Alan Modra [Sat, 4 May 2002 12:01:02 +0000 (12:01 +0000)]
* elf64-ppc.c (ppc64_elf_relocate_section): Reinstate code
reloading local sym addend mistakenly removed in 2002-05-01 change.

* dwarf2.c (struct line_head): Make prologue_length a bfd_vma.
(read_abbrevs): Change "offset" param to bfd_vma.
(parse_comp_unit): Change "version" and addr_size to unsigned ints.
Change "abbrev_offset" to bfd_vma.
(read_indirect_string): Use correct conversion chars in error
message format string, cast bfd_vma's to unsigned long.
(read_abbrevs): Likewise.
(read_attribute_value): Likewise.
(decode_line_info): Likewise.
(scan_unit_for_functions): Likewise.
(parse_comp_unit): Likewise.

22 years agoFix problem with objdump and 16 bit R_BA.
Tom Rix [Sat, 4 May 2002 10:07:18 +0000 (10:07 +0000)]
Fix problem with objdump and 16 bit R_BA.

22 years ago * emultempl/hppaelf.em (build_section_lists): New function.
Alan Modra [Sat, 4 May 2002 02:06:43 +0000 (02:06 +0000)]
* emultempl/hppaelf.em (build_section_lists): New function.
(gld${EMULATION_NAME}_finish): Call elf32_hppa_setup_section_lists
and build_section_lists.

22 years ago * elf32-hppa.c (struct elf32_hppa_link_hash_table): Add
Alan Modra [Sat, 4 May 2002 02:06:22 +0000 (02:06 +0000)]
* elf32-hppa.c (struct elf32_hppa_link_hash_table): Add
bfd_count top_index, input_list, all_local_syms.
(elf32_hppa_setup_section_lists): New function, split from
elf32_hppa_size_stubs.
(elf32_hppa_next_input_section): Likewise.
(group_sections): Likewise.
(get_local_syms): Likewise.
(elf32_hppa_size_stubs): Adjust for split out functions.  Look for
stubs on undefined syms too.
(elf32_hppa_set_gp): Use bfd_link_hash* instead of elf_link_hash*.
Only access htab elf fields when we have and elf hash table.
* elf32-hppa.h (elf32_hppa_setup_section_lists): Declare.
(elf32_hppa_next_input_section): Declare.

22 years ago * ar.c (replace_members): Remove unused var. Formatting fix.
Alan Modra [Sat, 4 May 2002 01:55:39 +0000 (01:55 +0000)]
* ar.c (replace_members): Remove unused var.  Formatting fix.
* binemul.c (ar_emul_default_parse_arg): Add ATTRIBUTE_UNUSED.

22 years ago * MAINTAINERS: Sort port maintainers by CPU.
Alan Modra [Sat, 4 May 2002 01:52:13 +0000 (01:52 +0000)]
* MAINTAINERS: Sort port maintainers by CPU.

22 years ago * size.c (display_archive): Add last_arfile and code to close archives.
Alan Modra [Sat, 4 May 2002 01:31:50 +0000 (01:31 +0000)]
* size.c (display_archive): Add last_arfile and code to close archives.

22 years ago * opncls.c (_bfd_new_bfd_contained_in): Check return value of
Alan Modra [Sat, 4 May 2002 01:31:08 +0000 (01:31 +0000)]
* opncls.c (_bfd_new_bfd_contained_in): Check return value of
_bfd_new_bfd.

22 years ago* stabsread.c (cleanup_undefined_types): Use replace_type, not memcpy.
Jim Blandy [Sat, 4 May 2002 00:21:09 +0000 (00:21 +0000)]
* stabsread.c (cleanup_undefined_types): Use replace_type, not memcpy.
(read_type): Doc fix.
* gdbtypes.c (replace_type): Doc fix.

22 years ago* stabsread.c (multiply_defined_struct): New complaint.
Jim Blandy [Sat, 4 May 2002 00:02:50 +0000 (00:02 +0000)]
* stabsread.c (multiply_defined_struct): New complaint.
(read_struct_type): If the type we were passed isn't empty, or
incomplete, don't read the new struct type into it; complain,
and return the original type unchanged.  Take a new `type_code'
argument, which is the type code for the new type.
(read_type): Rather than storing the type's type code here, pass
it as an argument to read_struct_type, and let that take care of
storing it.  That way, we don't overwrite the original type code,
so read_struct_type can use it to decide whether we're overwriting
something we shouldn't.
(complain_about_struct_wipeout): New function.

22 years agodaily update
Alan Modra [Sat, 4 May 2002 00:00:06 +0000 (00:00 +0000)]
daily update

22 years ago*** empty log message ***
gdbadmin [Sat, 4 May 2002 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago2002-05-02 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Fri, 3 May 2002 23:16:44 +0000 (23:16 +0000)]
2002-05-02  Michael Snyder  <msnyder@redhat.com>

* gdb.base/watchpoint.exp: Add xscale target.

22 years ago2002-05-02 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Fri, 3 May 2002 21:25:08 +0000 (21:25 +0000)]
2002-05-02  Michael Snyder  <msnyder@redhat.com>

* gdb.base/long_long.exp: Add xscale target.
* gdb.base/default.exp: Add xscale target.

22 years ago* gdbarch.sh: Assert that gdbarch is non-NULL.
Andrew Cagney [Fri, 3 May 2002 21:05:36 +0000 (21:05 +0000)]
* gdbarch.sh: Assert that gdbarch is non-NULL.
* gdbarch.c: Regenerate.

22 years ago2002-05-03 H.J. Lu (hjl@gnu.org)
H.J. Lu [Fri, 3 May 2002 19:53:20 +0000 (19:53 +0000)]
2002-05-03  H.J. Lu  (hjl@gnu.org)

* elfxx-mips.c (mips_elf_link_hash_entry): Add forced_local.
(mips_elf_link_hash_newfunc): Initialize forced_local to false.
(mips_elf_record_global_got_symbol): Call _bfd_mips_elf_hide_symbol
to hide a global symbol.
(_bfd_mips_elf_hide_symbol): Return if forced_local is true. Set
forced_local to true.

22 years ago * gnu-v3-abi.c (gnuv3_rtti_type): If we get confused, just warn
Jason Merrill [Fri, 3 May 2002 19:38:29 +0000 (19:38 +0000)]
    * gnu-v3-abi.c (gnuv3_rtti_type): If we get confused, just warn
        and return NULL.

22 years ago* config/tc-s390.c (md_gather_operands): Emit dwarf2 line-number
Alexandre Oliva [Fri, 3 May 2002 18:25:08 +0000 (18:25 +0000)]
* config/tc-s390.c (md_gather_operands): Emit dwarf2 line-number
information for instructions.

22 years ago* configure.in: Revert 2002-04-18's patch; fixed in libjava.
Alexandre Oliva [Fri, 3 May 2002 18:24:32 +0000 (18:24 +0000)]
* configure.in: Revert 2002-04-18's patch; fixed in libjava.

22 years ago * configure.in (FLAGS_FOR_TARGET): Do not add
Thomas Fitzsimmons [Fri, 3 May 2002 16:13:21 +0000 (16:13 +0000)]
* configure.in (FLAGS_FOR_TARGET): Do not add
-B$$r/$(TARGET_SUBDIR)/newlib/ when compiling newlib natively
on i[3456]86-*-linux*.

22 years ago * ld.h: Fix formatting.
Kazu Hirata [Fri, 3 May 2002 13:48:55 +0000 (13:48 +0000)]
* ld.h: Fix formatting.
* ldexp.c: Likewise.
* ldfile.c: Likewise.
* ldlang.c: Likewise.
* ldmain.c: Likewise.
* lexsup.c: Likewise.
* pe-dll.c: Likewise.

22 years ago2002-05-03 Michal Ludvig <mludvig@suse.cz>
Michal Ludvig [Fri, 3 May 2002 10:52:00 +0000 (10:52 +0000)]
2002-05-03  Michal Ludvig  <mludvig@suse.cz>

* x86-64-tdep.c (x86_64_dwarf2gdb_regno_map),
(x86_64_dwarf2gdb_regno_map_length),
(x86_64_dwarf2_reg_to_regnum): Added.
(x86_64_gdbarch_init): Added registration of x86_64_dwarf2_reg_to_regnum.
(x86_64_gdbarch_init): Renamed from i386_gdbarch_init.
(_initialize_x86_64_tdep): Synced with the change above.
(x86_64_skip_prologue): Reformulated message.

22 years ago2002-05-03 Pierre Muller <muller@ics.u-strasbg.fr>
Pierre Muller [Fri, 3 May 2002 08:23:12 +0000 (08:23 +0000)]
2002-05-03  Pierre Muller  <muller@ics.u-strasbg.fr>

* f-exp.y: Also use new prev_lexptr variable
to improve error reporting. Based on Michael Snyder
2002-04-24 dated patch to c-exp.y.
* jv-exp.y: Likewise.
* m2-exp.y: Likewise.

22 years ago * as.h: Fix formatting.
Kazu Hirata [Fri, 3 May 2002 02:25:33 +0000 (02:25 +0000)]
* as.h: Fix formatting.
* cgen.c: Likewise.
* cgen.h: Likewise.
* dwarf2dbg.c: Likewise.
* frags.h: Likewise.
* gasp.c: Likewise.
* macro.c: Likewise.
* read.c: Likewise.
* stabs.c: Likewise.
* symbols.c: Likewise.

22 years agodaily update
Alan Modra [Fri, 3 May 2002 00:00:04 +0000 (00:00 +0000)]
daily update

22 years ago*** empty log message ***
gdbadmin [Fri, 3 May 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago2002-05-02 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Thu, 2 May 2002 19:00:36 +0000 (19:00 +0000)]
2002-05-02  Elena Zannoni  <ezannoni@redhat.com>

* valops.c (value_arg_coerce): Don't coerce arrays to pointers if
we are dealing with vectors.

22 years ago * elf64-alpha.c (elf64_alpha_relocate_section): Force relative relocs
Richard Henderson [Thu, 2 May 2002 17:46:59 +0000 (17:46 +0000)]
    * elf64-alpha.c (elf64_alpha_relocate_section): Force relative relocs
        vs SHN_UNDEF to zero.

22 years ago * ld-scripts/map-address.exp: Quote conditions.
Richard Sandiford [Thu, 2 May 2002 16:03:41 +0000 (16:03 +0000)]
* ld-scripts/map-address.exp: Quote conditions.

22 years ago2002-05-02 Pierre Muller <muller@ics.u-strasbg.fr>
Pierre Muller [Thu, 2 May 2002 13:47:17 +0000 (13:47 +0000)]
2002-05-02  Pierre Muller  <muller@ics.u-strasbg.fr>

* config/m68k/tm-nbsd.h: Obvious fix,
correct machine name.

22 years ago * app.c (mri_pseudo): Only declare for TC_M68K.
Alan Modra [Thu, 2 May 2002 13:01:50 +0000 (13:01 +0000)]
* app.c (mri_pseudo): Only declare for TC_M68K.

22 years ago * config/tc-ppc.c (mapping): Map sectoff to BFD_RELOC_16_BASEREL.
Alan Modra [Thu, 2 May 2002 12:41:35 +0000 (12:41 +0000)]
* config/tc-ppc.c (mapping): Map sectoff to BFD_RELOC_16_BASEREL.
(ppc_elf_validate_fix): Replace BFD_RELOC_32_BASEREL with
BFD_RELOC_16_BASEREL.
(md_assemble): Likewise.
(md_apply_fix3): Likewise.

22 years ago * elf64-ppc.c (ppc64_elf_howto_raw <R_PPC64_SECTOFF>): Change to a
Alan Modra [Thu, 2 May 2002 12:35:25 +0000 (12:35 +0000)]
* elf64-ppc.c (ppc64_elf_howto_raw <R_PPC64_SECTOFF>): Change to a
16 bit reloc.
<R_PPC64_SECTOFF_DS>: Likewise.
(ppc64_elf_reloc_type_lookup): Map from BFD_RELOC_16_BASEREL to
SECTOFF reloc.
* elf32-ppc.c (ppc_elf_howto_raw <R_PPC_SECTOFF>): Correct.
(ppc_elf_reloc_type_lookup): Map from BFD_RELOC_16_BASEREL to
SECTOFF reloc.

22 years ago2002-05-02 Pierre Muller <muller@ics.u-strasbg.fr>
Pierre Muller [Thu, 2 May 2002 11:32:24 +0000 (11:32 +0000)]
2002-05-02  Pierre Muller  <muller@ics.u-strasbg.fr>

* p-typeprint.c (pascal_type_print_base): Add support
for TYPE_CODE_STRING and TYPE_CODE_BITSTRING.

22 years ago2002-05-02 Pierre Muller <muller@ics.u-strasbg.fr>
Pierre Muller [Thu, 2 May 2002 11:26:01 +0000 (11:26 +0000)]
2002-05-02  Pierre Muller  <muller@ics.u-strasbg.fr>

* p-lang.c (pascal_create_fundamental_type): Use TYPE_CODE_CHAR
for fondamental pascal 'char' type.

22 years ago2002-05-02 Pierre Muller <muller@ics.u-strasbg.fr>
Pierre Muller [Thu, 2 May 2002 11:18:07 +0000 (11:18 +0000)]
2002-05-02  Pierre Muller  <muller@ics.u-strasbg.fr>

* p-lang.h (is_pascal_string_type): Declaration changed,
new sixth argument of type char ** added.
* p-lang.c (is_pascal_string_type): Implementation
changed. Args length_pos, length_size, string_pos, char_size
can now be NULL. New argument arrayname set to the field
name of the char array. Return value set to char array
field index plus one.
* p-valprint.c (pascal_val_print): Adapt to new declaration of
is_pascal_string_type function.

22 years ago * elf64-ppc.c (ppc64_elf_addr16_ha_reloc): Delete.
Alan Modra [Thu, 2 May 2002 09:48:15 +0000 (09:48 +0000)]
* elf64-ppc.c (ppc64_elf_addr16_ha_reloc): Delete.
(ppc64_elf_ha_reloc): New function.
(ppc64_elf_brtaken_reloc): New function.
(ppc64_elf_sectoff_reloc): New function.
(ppc64_elf_sectoff_ha_reloc): New function.
(ppc64_elf_toc_reloc): New function.
(ppc64_elf_toc_ha_reloc): New function.
(ppc64_elf_toc64_reloc): New function.
(ppc64_elf_unhandled_reloc): New function.
(ppc64_elf_howto_raw): Use the above.
<R_PPC64_RELATIVE>: Mark pc_relative, pcrel_offset.
<R_PPC64_SECTOFF>: Not pc_relative or pcrel_offset.  Fix dst_mask.
<R_PPC64_SECTOFF_DS>: Likewise.
(IS_ABSOLUTE_RELOC): Update.
(struct ppc_link_hash_table): Add have_undefweak.
(ppc64_elf_link_hash_table_create): Init.
(func_desc_adjust): Set have_undefweak.
(ppc64_elf_func_desc_adjust): Call func_desc_adjust earlier.  Only
add the .sfpr blr when have_undefweak.
(ppc64_elf_setup_section_lists): Check hash table flavour.
(ppc64_elf_next_input_section): Move output_section->owner test to
ppc64elf.em.
(ppc64_elf_set_toc): Rename to ppc64_elf_toc, remove info param
and relocatable test.  Return TOCstart and don't set elf_gp.
(ppc64_elf_relocate_section): Correct BRTAKEN/BRNTAKEN branch
offset calculation.  Add assert on weak sym branch tweaks.
* elf64-ppc.h (ppc64_elf_set_toc): Delete.
(ppc64_elf_toc): Declare.
(ppc64_elf_next_input_section): Update.

* emultempl/ppc64elf.em (gld${EMULATION_NAME}_after_allocation):
Adjust for ppc64_elf_set_toc change.  #include libbfd.h.
(build_section_lists): Do output_section tests here.

22 years agoDo not convert a subtract of zero into an add of zero.
Nick Clifton [Thu, 2 May 2002 09:11:14 +0000 (09:11 +0000)]
Do not convert a subtract of zero into an add of zero.

22 years agoDo not attempt to create a .gmo file if the sources are read-only.
Nick Clifton [Thu, 2 May 2002 08:15:00 +0000 (08:15 +0000)]
Do not attempt to create a .gmo file if the sources are read-only.

22 years ago* gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
Jim Blandy [Thu, 2 May 2002 07:03:53 +0000 (07:03 +0000)]
* gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
gdb.c++/hang.exp: New test.

22 years agoYank previous change - set current arch to NULL.
Andrew Cagney [Thu, 2 May 2002 01:38:27 +0000 (01:38 +0000)]
Yank previous change - set current arch to NULL.

22 years ago*** empty log message ***
gdbadmin [Thu, 2 May 2002 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
Alan Modra [Thu, 2 May 2002 00:00:06 +0000 (00:00 +0000)]
daily update

22 years ago[ common/ChangeLog ]
Chris Demetriou [Wed, 1 May 2002 23:26:32 +0000 (23:26 +0000)]
[ common/ChangeLog ]
2002-05-01  Chris Demetriou  <cgd@broadcom.com>

        * callback.c: Use 'deprecated' rather than 'depreciated.'

[ igen/ChangeLog ]
2002-05-01  Chris Demetriou  <cgd@broadcom.com>

        * igen.c: Use 'deprecated' rather than 'depreciated.'

[ mips/ChangeLog ]
2002-05-01  Chris Demetriou  <cgd@broadcom.com>

        * interp.c: Use 'deprecated' rather than 'depreciated.'
        * sim-main.h: Likewise.

22 years ago* gdbarch.sh (gdbarch_update_p): Swap out the old architecture
Andrew Cagney [Wed, 1 May 2002 22:02:20 +0000 (22:02 +0000)]
* gdbarch.sh (gdbarch_update_p): Swap out the old architecture
before probing for a new one.  Detect errorenous gdbarch_init
functions.
* gdbarch.c: Regenerate.

22 years ago * configure.in (noconfigdirs): Replace [ ] with test.
Thomas Fitzsimmons [Wed, 1 May 2002 21:32:32 +0000 (21:32 +0000)]
* configure.in (noconfigdirs): Replace [ ] with test.

22 years ago* config/mn10200/tm-mn10200.h: Include "symfile.h" and "symtab.h".
Andrew Cagney [Wed, 1 May 2002 21:26:52 +0000 (21:26 +0000)]
* config/mn10200/tm-mn10200.h: Include "symfile.h" and "symtab.h".
* config/mcore/tm-mcore.h: Ditto.  Update copyright.
* config/v850/tm-v850.h: Ditto.  Update copyright.

22 years ago * configure.in (noconfigdirs): Do not add target-newlib if
Thomas Fitzsimmons [Wed, 1 May 2002 20:42:00 +0000 (20:42 +0000)]
* configure.in (noconfigdirs): Do not add target-newlib if
target == i[3456]86-*-linux*, and host == target.

22 years ago2002-05-01 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Wed, 1 May 2002 17:26:14 +0000 (17:26 +0000)]
2002-05-01  Chris Demetriou  <cgd@broadcom.com>

        * cp1.c (store_fpr): Remove #ifdef'd out call to UndefinedResult
        which wouldn't compile anyway.
        * sim-main.h (unpredictable_action): New function prototype.
        (Unpredictable): Define to call igen function unpredictable().
        (NotWordValue): New macro to call igen function not_word_value().
        (UndefinedResult): Remove.
        * interp.c (undefined_result): Remove.
        (unpredictable_action): New function.
        * mips.igen (not_word_value, unpredictable): New functions.
        (ADD, ADDI, do_addiu, do_addu, BGEZAL, BGEZALL, BLTZAL, BLTZALL)
        (CLO, CLZ, MADD, MADDU, MSUB, MSUBU, MUL, do_mult, do_multu)
        (do_sra, do_srav, do_srl, do_srlv, SUB, do_subu): Invoke
        NotWordValue() to check for unpredictable inputs, then
        Unpredictable() to handle them.

22 years ago 2002-05-01 Fred Fish <fnf@redhat.com>
Fred Fish [Wed, 1 May 2002 15:39:32 +0000 (15:39 +0000)]
2002-05-01  Fred Fish  <fnf@redhat.com>
* gdb.base/completion.exp: Handle completions of "./Make" for
more than one completion possibility, as is the case when we
build and test in the source tree.

22 years agoGenerate warning if the same destination register is used in parallel
Nick Clifton [Wed, 1 May 2002 09:54:31 +0000 (09:54 +0000)]
Generate warning if the same destination register is used in parallel
instructions.

22 years ago * syms.c (_bfd_stab_section_find_nearest_line): Don't bomb on NULL
Alan Modra [Wed, 1 May 2002 07:36:39 +0000 (07:36 +0000)]
* syms.c (_bfd_stab_section_find_nearest_line): Don't bomb on NULL
file_name.

22 years ago * nm.c (print_symbol): Check returned filename from
Alan Modra [Wed, 1 May 2002 06:43:32 +0000 (06:43 +0000)]
* nm.c (print_symbol): Check returned filename from
bfd_find_nearest_line is non-NULL.

22 years ago* cris-tdep.c (cris_gdbarch_init): Use arches instead of
Andrew Cagney [Wed, 1 May 2002 03:14:05 +0000 (03:14 +0000)]
* cris-tdep.c (cris_gdbarch_init): Use arches instead of
current_gdbarch.

22 years agoFormatting fix.
Tom Rix [Wed, 1 May 2002 02:52:17 +0000 (02:52 +0000)]
Formatting fix.

22 years ago Long branch stubs, multiple stub sections.
Alan Modra [Wed, 1 May 2002 02:34:54 +0000 (02:34 +0000)]
Long branch stubs, multiple stub sections.
* emultempl/ppc64elf.em: Include ldctor.h.
(stub_file): New var.
(group_size): New var.
(ppc_create_output_section_statements): New function.
(struct hook_stub_info): New.
(hook_in_stub): New function.
(ppc_add_stub_section): New function.
(ppc_layout_sections_again): New function.
(build_section_lists): New function.
(gld${EMULATION_NAME}_finish): Rewrite.
(real_func): New var.
(ppc_for_each_input_file_wrapper): New function.
(ppc_lang_for_each_input_file): New function.
(lang_for_each_input_file): Define.
(PARSE_AND_LIST_PROLOGUE): Define.
(PARSE_AND_LIST_LONGOPTS): Define.
(PARSE_AND_LIST_OPTIONS): Define.
(PARSE_AND_LIST_ARGS_CASES): Define.
(LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define.

22 years ago * elf64-ppc.c (CROR_151515, CROR_313131): Define.
Alan Modra [Wed, 1 May 2002 02:34:20 +0000 (02:34 +0000)]
* elf64-ppc.c (CROR_151515, CROR_313131): Define.
(ppc64_elf_relocate_section): Use them.  Don't look for plt calls
on R_PPC64_ADDR24 relocs.  Require a nop or no link reg on plt
call branches.  Correct undefined weak destination.
(ppc64_elf_func_desc_adjust): Always create at least one blr in
.sfpr, and correct case where either only savef* or restf* is
needed.

Long branch stubs, multiple stub sections.
* elf64-ppc.h (ppc64_elf_setup_section_lists): Declare.
(ppc64_elf_next_input_section): Declare.
* elf64-ppc.c: Move linker-only prototypes.
(STUB_SUFFIX): Define.
(enum ppc_stub_type): New.
(struct ppc_stub_hash_entry): New.
(struct ppc_branch_hash_entry): New.
(struct ppc_link_hash_entry): Add stub_cache, oh.
(struct ppc_link_hash_table): Add stub_hash_table etc.  Remove
sstub.  Add sbrlt, srelbrlt, has_14bit_branch, stub_iteration.
Rename plt_overflow to stub_error.
(ppc_stub_hash_lookup): Define.
(ppc_branch_hash_lookup): Define.
(stub_hash_newfunc): New function.
(branch_hash_newfunc): New function.
(link_hash_newfunc): Init new fields.
(ppc64_elf_link_hash_table_create): Likewise.
(ppc64_elf_link_hash_table_free): New function.
(ppc_stub_name): New function.
(ppc_get_stub_entry): New function.
(ppc_add_stub): New function.
(create_linkage_sections): Use bfd_make_section_anyway.  Create
.branch_lt and .rela.branch_lt sections.  Don't create .stub.
(ppc64_elf_check_relocs): Set has_14bit_branch on R_PPC64_REL14*,
and set up for plt call stubs.  Link func and func desc syms.
(ppc64_elf_gc_sweep_hook): Handle REL14* as per REL24.
(func_desc_adjust): Avoid hash lookup when func desc sym available
via shortcut, and set links when processing.
(ppc64_elf_hide_symbol): Likewise.
(allocate_dynrelocs): Don't allocate stub section here.
(ppc64_elf_size_dynamic_sections): Handle sbrlt and srelbrlt.
Remove sstub code.
(ppc_type_of_stub): New function.
(build_one_stub): Delete.
(ppc_build_one_stub): New function.
(ppc_size_one_stub): New function.
(ppc64_elf_setup_section_lists): New function.
(ppc64_elf_next_input_section): New function.
(group_sections): New function.
(get_local_syms): New function.
(ppc64_elf_size_stubs): Rewrite.
(ppc64_elf_build_stubs): Rewrite.
(ppc64_elf_relocate_section): Look up stub entry for REL24
relocs.  Don't propagate REL14* to dynamic objects.  Look for long
branch stubs if REL14* or REL24 relocs won't reach.
(bfd_elf64_bfd_link_hash_table_free): Define.

22 years ago * ppc-opc.c: Add "tlbsx." and "tlbsxe." for booke.
Alan Modra [Wed, 1 May 2002 01:22:00 +0000 (01:22 +0000)]
* ppc-opc.c: Add "tlbsx." and "tlbsxe." for booke.

22 years ago2002-04-30 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Wed, 1 May 2002 00:57:51 +0000 (00:57 +0000)]
2002-04-30  Michael Snyder  <msnyder@redhat.com>

* arm-tdep.c: Whitespace clean-ups.

22 years ago * config/tc-i386.c (extra_symbol_chars): Add '[' to the list.
Alan Modra [Wed, 1 May 2002 00:53:55 +0000 (00:53 +0000)]
* config/tc-i386.c (extra_symbol_chars): Add '[' to the list.

22 years ago * write.c (cvt_frag_to_fill): Set fr_offset to zero on .org
Alan Modra [Wed, 1 May 2002 00:33:09 +0000 (00:33 +0000)]
* write.c (cvt_frag_to_fill): Set fr_offset to zero on .org
backwards to prevent cascading errors.

22 years ago2002-04-30 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Wed, 1 May 2002 00:30:02 +0000 (00:30 +0000)]
2002-04-30  Michael Snyder  <msnyder@redhat.com>

* arm-tdep.c (arm_skip_prologue): Fix thinko; two lines
should have been removed as part of 4/24 change.

22 years ago*** empty log message ***
gdbadmin [Wed, 1 May 2002 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
Alan Modra [Wed, 1 May 2002 00:00:04 +0000 (00:00 +0000)]
daily update

22 years ago * rs6000-tdep.c: Added comment describing how fpscr register
Kevin Buettner [Tue, 30 Apr 2002 23:36:11 +0000 (23:36 +0000)]
* rs6000-tdep.c: Added comment describing how fpscr register
numbers were chosen.

22 years agoAdd support for AIX -blibpath and -bnolibpath.
Tom Rix [Tue, 30 Apr 2002 23:29:21 +0000 (23:29 +0000)]
Add support for AIX -blibpath and -bnolibpath.

22 years ago2002-04-30 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Tue, 30 Apr 2002 21:12:30 +0000 (21:12 +0000)]
2002-04-30  Michael Snyder  <msnyder@redhat.com>

* gnu-nat.c (gnu_find_memory_regions): Fix merge botch.

22 years ago2002-04-30 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Tue, 30 Apr 2002 19:01:57 +0000 (19:01 +0000)]
2002-04-30  Michael Snyder  <msnyder@redhat.com>

* gnu-nat.c (gnu_find_memory_regions): Fix merge botch.

22 years ago * Makefile.am (ALL_EMULATIONS): Add elf32ppcwindiss.o.
Mark Mitchell [Tue, 30 Apr 2002 17:49:01 +0000 (17:49 +0000)]
* Makefile.am (ALL_EMULATIONS): Add elf32ppcwindiss.o.
(eelf32ppcwindiss.c): New target.
* Makefile.in: Regenerated.
* configure.tgt: Add support for powerpc-*-windiss.
* emulparams/elf32ppcwindiss.sh: New file.

22 years ago * configure.in: Add support for powerpc-*-windiss.
Mark Mitchell [Tue, 30 Apr 2002 17:47:11 +0000 (17:47 +0000)]
* configure.in: Add support for powerpc-*-windiss.
* configure: Regenerated.

22 years ago * bfd/config.bfd: Add support for powerpc-*-windiss.
Mark Mitchell [Tue, 30 Apr 2002 17:42:34 +0000 (17:42 +0000)]
* bfd/config.bfd: Add support for powerpc-*-windiss.

22 years ago * config.guess: Updated to 2002-04-26's version.
Mark Mitchell [Tue, 30 Apr 2002 17:40:45 +0000 (17:40 +0000)]
* config.guess: Updated to 2002-04-26's version.
* config.sub: Updated to 2002-04-26's version.

22 years ago * ld-scripts/map-address.exp: New test.
Richard Sandiford [Tue, 30 Apr 2002 09:23:14 +0000 (09:23 +0000)]
* ld-scripts/map-address.exp: New test.
* ld-scripts/map-address.[td]: New files for it.

22 years ago * ldlang.c (print_assignment): Update print_dot for assignments to ".".
Richard Sandiford [Tue, 30 Apr 2002 09:21:27 +0000 (09:21 +0000)]
* ldlang.c (print_assignment): Update print_dot for assignments to ".".
* ldexp.c (exp_print_token): Add "infix_p" argument.
(exp_print_tree): Update accordingly.

22 years agoFix a problem with static linking with cross tools.
Tom Rix [Tue, 30 Apr 2002 04:32:51 +0000 (04:32 +0000)]
Fix a problem with static linking with cross tools.

22 years ago* config/mh-cxux: remove dead code
DJ Delorie [Tue, 30 Apr 2002 03:30:24 +0000 (03:30 +0000)]
* config/mh-cxux: remove dead code
* config/mh-dgux386: remove dead code
* config/mh-hp300: remove dead code
* config/mh-hpux: remove dead code
* config/mh-hpux8: remove dead code
* config/mh-irix5: remove dead code
* config/mh-irix6: remove dead code
* config/mh-ncr3000: remove dead code
* config/mh-ncrsvr43: remove dead code
* config/mh-necv4: remove dead code
* config/mh-sco: remove dead code
* config/mh-solaris: remove dead code
* config/mh-sysv: remove dead code
* config/mh-sysv4: remove dead code
* config/mh-sysv5: remove dead code
* config/mh-irix4: remove, contains only dead code
* configure.in: delete reference to absent file

22 years ago* configure.in: replace '[' with 'test'
DJ Delorie [Tue, 30 Apr 2002 03:17:27 +0000 (03:17 +0000)]
* configure.in: replace '[' with 'test'

22 years ago* configure.in (h8300*-*-rtems*): Disable libf2c and libgcj.
DJ Delorie [Tue, 30 Apr 2002 02:49:33 +0000 (02:49 +0000)]
* configure.in (h8300*-*-rtems*): Disable libf2c and libgcj.
(sparc-*-elf*, sparc64-*-elf*): Disable libgcj.

22 years ago* configure.in: Eliminate references to gash.
DJ Delorie [Tue, 30 Apr 2002 02:42:31 +0000 (02:42 +0000)]
* configure.in: Eliminate references to gash.
* Makefile.in: Eliminate references to gash.

22 years ago* configure.in: Remove useless references to 'pic' makefile fragments.
DJ Delorie [Tue, 30 Apr 2002 02:34:18 +0000 (02:34 +0000)]
* configure.in: Remove useless references to 'pic' makefile fragments.
* config/mt-armpic: Delete.
* config/mt-elfalphapic: Delete.
* config/mt-i370pic: Delete.
* config/mt-ia64pic: Delete.
* config/mt-m68kpic: Delete.
* config/mt-papic: Delete.
* config/mt-ppcpic: Delete.
* config/mt-s390pic: Delete.
* config/mt-sparcpic: Delete.
* config/mt-x86pic: Delete.

22 years ago* configure.in: Remove useless references to 'pic' makefile fragments.
DJ Delorie [Tue, 30 Apr 2002 02:28:43 +0000 (02:28 +0000)]
* configure.in: Remove useless references to 'pic' makefile fragments.

22 years ago* configure.in: (*-*-windows*) Finish removing.
DJ Delorie [Tue, 30 Apr 2002 02:19:55 +0000 (02:19 +0000)]
* configure.in: (*-*-windows*) Finish removing.