binutils-gdb.git
22 years agocomment typo fixes
Alan Modra [Mon, 21 Jan 2002 14:03:27 +0000 (14:03 +0000)]
comment typo fixes

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 agoZap an IEEE_FLOAT.
Andrew Cagney [Mon, 21 Jan 2002 03:34:30 +0000 (03:34 +0000)]
Zap an IEEE_FLOAT.

22 years ago* infttrace.c: Include <sys/pstat.h>.
Andrew Cagney [Mon, 21 Jan 2002 01:27:01 +0000 (01:27 +0000)]
* infttrace.c: Include <sys/pstat.h>.
(child_pid_to_exec_file): Revamp.  Use pstat call to get the
exec file if the ttrace equivalent fails.

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 ago*** empty log message ***
gdbadmin [Mon, 21 Jan 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

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

22 years ago* rdi-share/devsw.c (openLogFile): Delete unused ``struct tm lt''.
Andrew Cagney [Sun, 20 Jan 2002 22:44:44 +0000 (22:44 +0000)]
* rdi-share/devsw.c (openLogFile): Delete unused ``struct tm lt''.
(closeLogFile): Ditto.

22 years ago2002-01-20 Michael Chastain <mec@shout.net>
Michael Chastain [Sun, 20 Jan 2002 22:05:15 +0000 (22:05 +0000)]
2002-01-20  Michael Chastain  <mec@shout.net>

* top.c (print_gdb_version): Bump copyright year to 2002.

22 years ago* MAINTAINERS (Blanket Write Privs): Add Kevin Buettner, Elena
Andrew Cagney [Sun, 20 Jan 2002 21:47:27 +0000 (21:47 +0000)]
* MAINTAINERS (Blanket Write Privs): Add Kevin Buettner, Elena
Zannoni and Eli Zaretskii.

22 years agoCopyright year updates.
Daniel Jacobowitz [Sun, 20 Jan 2002 19:46:32 +0000 (19:46 +0000)]
Copyright year updates.

22 years ago2002-01-20 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Sun, 20 Jan 2002 19:42:04 +0000 (19:42 +0000)]
2002-01-20  Daniel Jacobowitz  <drow@mvista.com>

* buildsym.c: Update copyright years.
* c-typeprint.c: Likewise.
* dwarf2read.c: Likewise.
* f-typeprint.c: Likewise.
* gdbtypes.c: Likewise.
* gdbtypes.h: Likewise.
* hp-symtab-read.c: Likewise.
* hpread.c: Likewise.
* mdebugread.c: Likewise.
* p-typeprint.c: Likewise.

22 years agoAssume TARGET_BYTE_ORDER_SELECTABLE{,_P} is always true.
Andrew Cagney [Sun, 20 Jan 2002 19:26:50 +0000 (19:26 +0000)]
Assume TARGET_BYTE_ORDER_SELECTABLE{,_P} is always true.

22 years ago2002-01-20 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Sun, 20 Jan 2002 19:22:13 +0000 (19:22 +0000)]
2002-01-20  Daniel Jacobowitz  <drow@mvista.com>

* gdb.c++/classes.exp: Update for improved v3 support and skipping
artificial methods/arguments.
* gdb.c++/derivation.exp: Likewise.
* gdb.c++/inherit.exp: Likewise.
* gdb.c++/method.exp: Likewise.
* gdb.c++/virtfunc.exp: Likewise.

22 years ago2002-01-20 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Sun, 20 Jan 2002 19:20:16 +0000 (19:20 +0000)]
2002-01-20  Daniel Jacobowitz  <drow@mvista.com>

* gdbtypes.h (struct cplus_struct_type): Add is_artificial to
member function fields.  Add accessor macro
TYPE_FN_FIELD_ARTIFICIAL.
* dwarf2read.c (dwarf2_add_member_fn): Check for artificial methods.
* c-typeprint.c (c_type_print_base): Skip artificial member
functions.

22 years ago2002-01-20 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Sun, 20 Jan 2002 19:14:59 +0000 (19:14 +0000)]
2002-01-20  Daniel Jacobowitz  <drow@mvista.com>

* f-typeprint.c: Delete unused function f_type_print_args.
* p-typeprint.c: Delete unused function pascal_type_print_args.

22 years ago2002-01-15 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Sun, 20 Jan 2002 19:12:23 +0000 (19:12 +0000)]
2002-01-15  Daniel Jacobowitz  <drow@mvista.com>

* gdbtypes.h (struct type): Fix whitespace.  Remove obsolete
comment.  Add ``artificial'' to ``union field_location''.

* dwarf2read.c: Remove ad-hoc TYPE_FIELD_ARTIFICIAL.

* buildsym.c (finish_block): Initialize TYPE_FIELD_ARTIFICIAL to 0.
* mdebugread.c (parse_symbol): Likewise.
* stabsread.c (define_symbol): Likewise.
* hp-symtab-read.c (hpread_function_type): Likewise, instead of
initializing TYPE_FIELD_BITPOS to n (obsolete).
(hpread_doc_function_type): Likewise.
* hpread.c (hpread_function_type): Likewise.

22 years agoRemove assumption that there is a host.
Andrew Cagney [Sun, 20 Jan 2002 18:19:30 +0000 (18:19 +0000)]
Remove assumption that there is a host.

22 years agoEliminate IEEE_FLOAT.
Andrew Cagney [Sun, 20 Jan 2002 18:05:54 +0000 (18:05 +0000)]
Eliminate IEEE_FLOAT.

22 years ago (DJGPP Native): Fix overfull hboxes in examples. From Brian Youmans
Eli Zaretskii [Sun, 20 Jan 2002 11:59:38 +0000 (11:59 +0000)]
(DJGPP Native): Fix overfull hboxes in examples.  From Brian Youmans
<3diff@gnu.org>

22 years agoFix a typo.
Eli Zaretskii [Sun, 20 Jan 2002 11:45:22 +0000 (11:45 +0000)]
Fix a typo.

22 years ago * rluser.texinfo (Sample Init File): Prevent overfull hboxes.
Eli Zaretskii [Sun, 20 Jan 2002 11:27:37 +0000 (11:27 +0000)]
    * rluser.texinfo (Sample Init File): Prevent overfull hboxes.
        From Brian Youmans <3diff@gnu.org>.

22 years agoFix last change.
Eli Zaretskii [Sun, 20 Jan 2002 11:21:25 +0000 (11:21 +0000)]
Fix last change.

22 years ago * gdb.texinfo: Beautify copyright years; fix a typo.
Eli Zaretskii [Sun, 20 Jan 2002 11:18:28 +0000 (11:18 +0000)]
* gdb.texinfo: Beautify copyright years; fix a typo.

22 years ago2002-01-20 Jiri Smid <smid@suse.cz>
Andreas Jaeger [Sun, 20 Jan 2002 09:29:41 +0000 (09:29 +0000)]
2002-01-20  Jiri Smid  <smid@suse.cz>

* config/i386/x86-64linux.mh (NATDEPFILES): x86-64-nat.o removed.
* x86-64-linux-nat.c (x86_64_register_u_addr): New function.
* config/i386/nm-x86-64.h (ATTACH_LWP): Removed.
* Makefile.in (x86-64-tdep.o, x86-64-linux-tdep.o,
x86-64-linux-nat.o): Fix dependencies.

22 years ago2002-01-20 Jiri Smid <smid@suse.cz>
Andreas Jaeger [Sun, 20 Jan 2002 09:10:27 +0000 (09:10 +0000)]
2002-01-20  Jiri Smid  <smid@suse.cz>

* configure.host, configure.tgt: Support x86-64.
* NEWS: Note new target x86-64.

22 years agoEliminate MALLOC_INCOMPATIBLE.
Andrew Cagney [Sun, 20 Jan 2002 04:23:29 +0000 (04:23 +0000)]
Eliminate MALLOC_INCOMPATIBLE.

22 years ago2002-01-20 Ben Elliston <bje@redhat.com>
Ben Elliston [Sun, 20 Jan 2002 04:09:23 +0000 (04:09 +0000)]
2002-01-20  Ben Elliston  <bje@redhat.com>

* sim-fpu.h (SIM_FPU_IS_QNAN): Replace "Quite" with "Quiet" in
the comment for this enumerator.

22 years agoZap empty host lynx header files.
Andrew Cagney [Sun, 20 Jan 2002 03:29:01 +0000 (03:29 +0000)]
Zap empty host lynx header files.

22 years ago* alpha-tdep.c (alpha_register_byte): New function.
Jason Thorpe [Sun, 20 Jan 2002 01:33:15 +0000 (01:33 +0000)]
* alpha-tdep.c (alpha_register_byte): New function.
(alpha_register_raw_size): Ditto.
(alpha_register_virtual_size): Ditto.
(alpha_skip_prologue_internal): Renamed from
alpha_skip_prologue.
(alpha_skip_prologue): New version that calls
alpha_skip_prologue_internal.
(alpha_in_lenient_prologue): Use alpha_skip_prologue_internal.
* config/alpha/tm-alpha.h (SKIP_PROLOGUE): Remove
second argument from alpha_skip_prologue.
(REGISTER_BYTE): Use alpha_register_byte.
(REGISTER_RAW_SIZE): Use alpha_register_raw_size.
(REGISTER_VIRTUAL_SIZE): Use alpha_register_virtual_size.
(FRAMELESS_FUNCTION_INVOCATION): Use
generic_frameless_function_invocation_not.
(FRAME_NUM_ARGS): Use frame_num_args_unknown.
(COERCE_FLOAT_TO_DOUBLE): Use standard_coerce_float_to_double.

22 years agoZap empty or unused xm-*.h files.
Andrew Cagney [Sun, 20 Jan 2002 01:12:51 +0000 (01:12 +0000)]
Zap empty or unused xm-*.h files.

22 years agoUse MAXPATHLEN when no PATH_MAX.
Andrew Cagney [Sun, 20 Jan 2002 00:44:47 +0000 (00:44 +0000)]
Use MAXPATHLEN when no PATH_MAX.

22 years ago* alpha-tdep.c (alpha_call_dummy_words): New.
Jason Thorpe [Sun, 20 Jan 2002 00:23:10 +0000 (00:23 +0000)]
* alpha-tdep.c (alpha_call_dummy_words): New.
* config/alpha/tm-alpha.h (CALL_DUMMY): Remove.
(CALL_DUMMY_P): Define.
(CALL_DUMMY_WORDS): Define.
(SIZEOF_CALL_DUMMY_WORDS): Define.

22 years ago * gnu-v3-abi.c (gnuv3_rtti_type): Guard that vtable_symbol_name
Per Bothner [Sun, 20 Jan 2002 00:09:59 +0000 (00:09 +0000)]
* gnu-v3-abi.c (gnuv3_rtti_type):  Guard that vtable_symbol_name
isn't NULL, which can happen with some gcj-3.x-produced code.

22 years ago*** empty log message ***
gdbadmin [Sun, 20 Jan 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

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

22 years ago* alpha-tdep.c (alpha_register_virtual_type): New function.
Jason Thorpe [Sat, 19 Jan 2002 20:22:28 +0000 (20:22 +0000)]
* alpha-tdep.c (alpha_register_virtual_type): New function.
(alpha_init_frame_pc_first): Ditto.
(alpha_fix_call_dummy): Ditto.
(alpha_store_struct_return): Ditto.
(alpha_extract_struct_value_address): Ditto.
* config/alpha/tm-alpha.h (REGISTER_VIRTUAL_TYPE): Use
alpha_register_virtual_type.
(STORE_STRUCT_RETURN): Use alpha_store_struct_return.
(EXTRACT_STRUCT_VALUE_ADDRESS): Use
alpha_extract_struct_value_address.
(FIX_CALL_DUMMY): Use alpha_fix_call_dummy.
(INIT_FRAME_PC): Use init_frame_pc_noop.
(INIT_FRAME_PC_FIRST): Use alpha_init_frame_pc_first.

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* i386gnu-nat.c: Include "i386-tdep.h".
Mark Kettenis [Sat, 19 Jan 2002 12:51:04 +0000 (12:51 +0000)]
* i386gnu-nat.c: Include "i386-tdep.h".
(fetch_fpregs): Simplify code dealing with uninitialized floating
point states such that it doesn't require FP7_REGNUM.

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 ago* alpha-tdep.c (frame_extra_info): New.
Jason Thorpe [Sat, 19 Jan 2002 06:44:56 +0000 (06:44 +0000)]
* alpha-tdep.c (frame_extra_info): New.
(alpha_find_saved_regs): Make static.  Use
frame->extra_info.
(alpha_frame_init_saved_regs): New function.
(alpha_frame_saved_pc): Use frame->extra_info.
(temp_saved_regs): Don't declare as struct frame_saved_regs.
(heuristic_proc_desc): Adjust for temp_saved_regs changes.
(init_extra_frame_info): Rename to...
(alpha_init_extra_frame_info): ...this.  Use frame->extra_info.
(alpha_print_extra_frame_info): New function.
(alpha_frame_locals_address): Ditto.
(alpha_frame_args_address): Ditto.
(alpha_pop_frame): Use frame->extra_info.
* config/alpha/tm-alpha.h (FRAME_ARGS_ADDRESS): Use
alpha_frame_args_address.
(FRAME_LOCALS_ADDRESS): Use alpha_frame_locals_address.
(alpha_find_saved_regs): Remove prototype.
(FRAME_INIT_SAVED_REGS): Use alpha_frame_init_saved_regs.
(EXTRA_FRAME_INFO): Remove.
(INIT_EXTRA_FRAME_INFO): Use alpha_init_extra_frame_info.
(PRINT_EXTRA_FRAME_INFO): Use alpha_print_extra_frame_info.

22 years ago* alpha-tdep.c (alpha_osf_in_sigtramp): New function.
Jason Thorpe [Sat, 19 Jan 2002 05:26:47 +0000 (05:26 +0000)]
* alpha-tdep.c (alpha_osf_in_sigtramp): New function.
(alpha_cannot_fetch_register): Ditto.
(alpha_cannot_store_register): Ditto.
(alpha_register_convertible): Ditto.
(alpha_use_struct_convention): Ditto.
* config/alpha/tm-alpha.h: Update copyright years.
(IN_SIGTRAMP): Use alpha_osf_in_sigtramp.
(INNER_THAN): Use core_addr_lessthan.
(CANNOT_FETCH_REGISTER): Use alpha_cannot_fetch_register.
(CANNOT_STORE_REGISTER): Use alpha_cannot_store_register.
(REGISTER_CONVERTIBLE): Use alpha_register_convertible.
(USE_STRUCT_CONVENTION): Use alpha_use_struct_convention.
(FRAME_CHAIN): Remove unnecessary cast.

22 years agoMark testsuite/gdb.hp/gdb.threads-hp/ as obsolete.
Andrew Cagney [Sat, 19 Jan 2002 03:48:21 +0000 (03:48 +0000)]
Mark testsuite/gdb.hp/gdb.threads-hp/ as obsolete.

22 years agoRemove ATTRIBUTE_UNUSED. Update (C).
Andrew Cagney [Sat, 19 Jan 2002 03:32:43 +0000 (03:32 +0000)]
Remove ATTRIBUTE_UNUSED.  Update (C).

22 years ago* alpha-tdep.c (alpha_register_name): New function.
Jason Thorpe [Sat, 19 Jan 2002 00:09:16 +0000 (00:09 +0000)]
* alpha-tdep.c (alpha_register_name): New function.
* config/alpha/tm-alpha.h (REGISTER_NAMES): Remove.
(REGISTER_NAME): Define.

22 years ago*** empty log message ***
gdbadmin [Sat, 19 Jan 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

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

22 years ago* config/nm-nbsd.h (KERNEL_U_ADDR): Remove.
Jason Thorpe [Fri, 18 Jan 2002 18:14:51 +0000 (18:14 +0000)]
* config/nm-nbsd.h (KERNEL_U_ADDR): Remove.

22 years ago* alpha-tdep.c: Update copyright years.
Jason Thorpe [Fri, 18 Jan 2002 18:00:44 +0000 (18:00 +0000)]
* alpha-tdep.c: Update copyright years.
(alpha_next_pc): New function.
(alpha_software_single_step): Ditto.
* config/alpha/tm-alpha.h: Add prototype for
alpha_software_single_step.

22 years ago* alphabsd-nat.c: Update copyright years.
Jason Thorpe [Fri, 18 Jan 2002 17:47:13 +0000 (17:47 +0000)]
* alphabsd-nat.c: Update copyright years.
(fill_gregset): Use regcache_collect.
(fill_fpregset): Likewise.
(fetch_inferior_registers): Only fetch integer registers
if requested to do so.
(store_inferior_registers): Only store integer registers
if requested to do so.

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 agoRemove XDEPFILES from GDB.
Andrew Cagney [Fri, 18 Jan 2002 04:51:10 +0000 (04:51 +0000)]
Remove XDEPFILES from GDB.

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* gdb.asm/asm-source.exp (info symbol): Take another shot at
Jim Blandy [Fri, 18 Jan 2002 00:13:00 +0000 (00:13 +0000)]
* gdb.asm/asm-source.exp (info symbol): Take another shot at
anchoring the pattern matching the entry point symbol's name.

22 years ago*** empty log message ***
gdbadmin [Fri, 18 Jan 2002 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

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 agoChange behavour of internal-error to quit and dump core by default.
Andrew Cagney [Thu, 17 Jan 2002 23:33:39 +0000 (23:33 +0000)]
Change behavour of internal-error to quit and dump core by default.

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 agoAdd an appendix for maintenance commands.
Andrew Cagney [Thu, 17 Jan 2002 23:06:47 +0000 (23:06 +0000)]
Add an appendix for maintenance commands.

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

22 years agoRemove links from @node
Andrew Cagney [Thu, 17 Jan 2002 22:56:48 +0000 (22:56 +0000)]
Remove links from @node

22 years agoRemove else clause to #if UI_OUT.
Andrew Cagney [Thu, 17 Jan 2002 22:15:18 +0000 (22:15 +0000)]
Remove else clause to #if UI_OUT.

22 years ago2002-01-17 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Thu, 17 Jan 2002 21:13:50 +0000 (21:13 +0000)]
2002-01-17  Daniel Jacobowitz  <drow@mvista.com>

        * gdbserver/low-hppabsd.c, gdbserver/low-lynx.c,
        gdbserver/low-nbsd.c, gdbserver/low-sim.c,
        gdbserver/low-sparc.c, gdbserver/low-sun3.c,
        gdbserver/low-linux.c, gdbserver/server.c: Correct copyright notices.

22 years ago2002-01-17 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Thu, 17 Jan 2002 20:46:16 +0000 (20:46 +0000)]
2002-01-17  Daniel Jacobowitz  <drow@mvista.com>

        * low-hppabsd.c (myattach): New function, returning -1.
        * low-lynx.c (myattach): Likewise.
        * low-nbsd.c (myattach): Likewise.
        * low-sim.c (myattach): Likewise.
        * low-sparc.c (myattach): Likewise.
        * low-sun3.c (myattach): Likewise.

        * low-linux.c (myattach): New function.

        * server.c (attach_inferior): New function.
        (main): Handle "--attach".

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 ago2002-01-17 H.J. Lu (hjl@gnu.org)
H.J. Lu [Thu, 17 Jan 2002 17:21:31 +0000 (17:21 +0000)]
2002-01-17  H.J. Lu  (hjl@gnu.org)

* support/config.guess: Import from master sources, rev 1.225.
* support/config.sub: Import from master sources, rev 1.238.

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 ago * gdb.texinfo: @include fdl.texi. Fixes for overfull hboxes and
Eli Zaretskii [Thu, 17 Jan 2002 08:54:12 +0000 (08:54 +0000)]
* gdb.texinfo: @include fdl.texi.  Fixes for overfull hboxes and
for monstrous @multitable (from Brian Youmans).

* fdl.texi: New file.

* Makefile.in (SFILES_INCLUDED): Add fdl.texi.

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 agoDaniel J as C++ maintainer.
Andrew Cagney [Thu, 17 Jan 2002 02:04:27 +0000 (02:04 +0000)]
Daniel J as C++ maintainer.

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

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 * c-typeprint.c (is_type_conversion_operator): Add additional
Daniel Jacobowitz [Wed, 16 Jan 2002 02:43:38 +0000 (02:43 +0000)]
    * c-typeprint.c (is_type_conversion_operator): Add additional
        check for non-conversion operators.

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 ago*** empty log message ***
gdbadmin [Wed, 16 Jan 2002 00:00:06 +0000 (00:00 +0000)]
*** empty log message ***

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

22 years agoFix oops with previous checkin.
Michael Snyder [Tue, 15 Jan 2002 20:14:04 +0000 (20:14 +0000)]
Fix oops with previous checkin.

22 years ago2002-01-10 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Tue, 15 Jan 2002 20:10:55 +0000 (20:10 +0000)]
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".

22 years ago2002-01-15 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Tue, 15 Jan 2002 20:00:56 +0000 (20:00 +0000)]
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.