external/binutils.git
20 years agoWhen scanning MS import libraries allow for the possible presence of static
Nick Clifton [Thu, 18 Dec 2003 14:56:44 +0000 (14:56 +0000)]
When scanning MS import libraries allow for the possible presence of static
objects.

20 years ago * ld-mips-elf/reloc-1[ab].s: New source files.
Richard Sandiford [Thu, 18 Dec 2003 10:25:12 +0000 (10:25 +0000)]
* ld-mips-elf/reloc-1[ab].s: New source files.
* ld-mips-elf/reloc-1-{n32,n64,rel}.d: New tests.
* ld-mips-elf/reloc-2[ab].s: New source files.
* ld-mips-elf/reloc-2.{d,ld}: New test.
* ld-mips-elf/reloc-3[ab].s: New source files.
* ld-mips-elf/reloc-3-{r,srec}.d: New tests.
* ld-mips-elf/mips-elf.exp: Run them.

20 years agobfd/
Richard Sandiford [Thu, 18 Dec 2003 10:23:10 +0000 (10:23 +0000)]
bfd/
* elf32-mips.c (elf_mips_howto_table_rel): Replace all uses of
mips_elf_generic_reloc with _bfd_mips_elf_generic_reloc.  Use
_bfd_mips_elf_hi16_reloc for R_MIPS_HI16 and R_MIPS_GNU_REL_HI16,
_bfd_mips_elf_lo16_reloc for R_MIPS_LO16 and R_MIPS_GNU_REL_LO16,
and _bfd_mips_elf_got16_reloc for R_MIPS_GOT16.  Change rightshift
to 16 for R_MIPS_HI16 and R_MIPS_GNU_REL_HI16.
(mips_elf_generic_reloc, struct mips_hi16, mips_elf_hi16_reloc)
(mips_elf_lo16_reloc, mips_elf_got16_reloc): Delete.
(_bfd_mips_elf32_gprel16_reloc): Remove special case.
(mips_elf_gprel32_reloc, mips32_64bit_reloc): Likewise.

* elf64-mips.c (mips_elf64_howto_table_rel): Replace all uses of
mips_elf_generic_reloc with _bfd_mips_elf_generic_reloc.  Use
_bfd_mips_elf_hi16_reloc for R_MIPS_HI16, _bfd_mips_elf_lo16_reloc
for R_MIPS_LO16 and _bfd_mips_elf_got16_reloc for R_MIPS_GOT16.
Change R_MIPS_HI16's rightshift to 16.
(mips_elf64_howto_table_rela): Replace all uses of
mips_elf_generic_reloc with _bfd_mips_elf_generic_reloc.
Use _bfd_mips_elf_generic_reloc for R_MIPS_GOT16 as well.
(mips_elf64_hi16_reloc, mips_elf64_got16_reloc): Delete.
(mips_elf64_shift6_reloc): Remove special case.  Use
_bfd_mips_elf_generic_reloc instead of returning bfd_reloc_continue.

* elfn32-mips.c (prev_reloc_section): Delete.
(prev_reloc_address, prev_reloc_addend): Delete.
(elf_mips_howto_table_rel, elf_mips_howto_table_rela): As for
elf64-mips.c
(GET_RELOC_ADDEND, SET_RELOC_ADDEND): Delete.
(mips_elf_generic_reloc, struct mips_hi16, mips_elf_hi16_reloc)
(mips_elf_lo16_reloc, mips_elf_got16_reloc): Delete.
(mips_elf_gprel16_reloc): Delete use of GET_RELOC_ADDEND.
(mips_elf_literal_reloc, mips_elf_gprel32_reloc): Likewise.
(mips16_jump_reloc, mips16_gprel_reloc): Likewise.
(mips_elf_shift6_reloc): Likewise.  Delete use of SET_RELOC_ADDEND.

* elfxx-mips.c (_bfd_mips_elf_gprel16_with_gp): Use
_bfd_relocate_contents to install an in-place addend.
(mips_hi16): New structure.
(mips_hi16_list): Moved from elf32-mips.c.
(_bfd_mips_elf_hi16_reloc, _bfd_mips_elf_got16_reloc): New functions.
(_bfd_mips_elf_lo16_reloc, _bfd_mips_elf_generic_reloc): New functions.
(mips_elf_calculate_relocation): Assume addend is unshifted.
(_bfd_mips_elf_relocate_section): Don't apply the howto rightshift
on top of the usual high-part shift.  Don't shift the addend right
before calling mips_elf_calculate_relocation.

* elfxx-mips.h (_bfd_mips_elf_hi16_reloc): Declare.
(_bfd_mips_elf_got16_reloc, _bfd_mips_elf_lo16_reloc): Declare.
(_bfd_mips_elf_generic_reloc): Declare.

gas/
* config/tc-mips.c (mips_need_elf_addend_fixup): Delete.
(md_apply_fix3): Remove bfd_install_relocation workarounds.
(tc_gen_reloc): Likewise. Factor handling of pc-relative relocations
and treat fx_addnumber as relative to the relocation address.

gas/testsuite/
* gas/mips/mips16-jalx.d: Use -mabi=o64.
* gas/mips/mips16.d: Likewise.
* gas/mips/elf-rel17.[sd]: New test.
* gas/mips/mips.exp: Run it.

20 years ago * config/tc-mips.c (s_change_section): When parsing the MIPS-specific
Richard Sandiford [Thu, 18 Dec 2003 10:18:17 +0000 (10:18 +0000)]
* config/tc-mips.c (s_change_section): When parsing the MIPS-specific
.section syntax, map SHT_MIPS_DWARF to SHT_PROGBITS.

20 years ago2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
Michael Chastain [Thu, 18 Dec 2003 07:48:37 +0000 (07:48 +0000)]
2003-12-16  Michael Chastain  <mec.gnu@mindspring.com>

* gdb.base/environ.exp: Handle compiling test case from multiple
source files.

20 years ago * config/tc-arm.c (arm_archs): Change "armv6" to "armv6j".
Mark Mitchell [Thu, 18 Dec 2003 05:45:13 +0000 (05:45 +0000)]
* config/tc-arm.c (arm_archs): Change "armv6" to "armv6j".
* doc/c-arm.texi (ARM Options): Likewise.

20 years ago*** empty log message ***
gdbadmin [Thu, 18 Dec 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
Alan Modra [Wed, 17 Dec 2003 23:00:04 +0000 (23:00 +0000)]
daily update

20 years ago2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
Michael Chastain [Wed, 17 Dec 2003 22:32:18 +0000 (22:32 +0000)]
2003-12-16  Michael Chastain  <mec.gnu@mindspring.com>

* gdb.base/structs.exp: Call gdb_exit as well as gdb_start.

20 years ago2003-12-17 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 17 Dec 2003 22:21:02 +0000 (22:21 +0000)]
2003-12-17  Jeff Johnston  <jjohnstn@redhat.com>

        * symtab.c (decode_line_spec): Change call to decode_line_1.

20 years ago2003-12-17 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 17 Dec 2003 21:47:47 +0000 (21:47 +0000)]
2003-12-17  Jeff Johnston  <jjohnstn@redhat.com>

        * linespec.h (decode_line_1): Add new not_found_ptr parameter.
        * linespec.c (decode_line_1): Add new parameter.  Pass on
        new parameter to decode_variable and symtab_from_filename
        functions.
        (decode_variable): Add new not_found_ptr parameter.  Throw exception
        rather than failing if the not_found_ptr is non-null and the
        function is not found.
        (symtab_from_filename): Add new not_found_ptr parametr.   Throw
        exception rather than failing if the not_found_ptr is non-null and
        the source file is not found.
        * breakpoint.c: Change all callers of decode_line_1 to add default
        extra parameter for decode_line_1 calls.
        * tracepoint.c: Ditto.
        * cli/cli-cmds.c: Ditto.

20 years ago* gdb.base/freebpcmd.c: Add copyright notice.
Jim Blandy [Wed, 17 Dec 2003 21:34:51 +0000 (21:34 +0000)]
* gdb.base/freebpcmd.c: Add copyright notice.

20 years ago* gdb.base/freebpcmd.exp: Mark the interesting failure as known.
Jim Blandy [Wed, 17 Dec 2003 21:28:40 +0000 (21:28 +0000)]
* gdb.base/freebpcmd.exp: Mark the interesting failure as known.

20 years ago2003-12-11 Michael Chastain <mec.gnu@mindspring.com>
Michael Chastain [Wed, 17 Dec 2003 20:13:54 +0000 (20:13 +0000)]
2003-12-11  Michael Chastain  <mec.gnu@mindspring.com>

* rlmbutil.h: Require HAVE_MBSTATE_T for HANDLE_MULTIBYTE.
Revert requirement of HAVE_MBRTOWC.  Delete macro definitions
that attempted to fake mbstate_t if HAVE_MBSRTOCWS is defined
and HAVE_MBSTATE_T is not defined.

20 years agoReplace --error-explicit-parallel-conflicts with --ignore-parallel-conflitcs.
Nick Clifton [Wed, 17 Dec 2003 09:41:07 +0000 (09:41 +0000)]
Replace --error-explicit-parallel-conflicts with --ignore-parallel-conflitcs.
Add test of parallel constraint checking.

20 years ago * irix5-nat.c: Include mips-tdep.h.
Joel Brobecker [Wed, 17 Dec 2003 06:19:29 +0000 (06:19 +0000)]
    * irix5-nat.c: Include mips-tdep.h.

20 years ago2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
Michael Chastain [Wed, 17 Dec 2003 05:43:46 +0000 (05:43 +0000)]
2003-12-16  Michael Chastain  <mec.gnu@mindspring.com>

* gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.

20 years ago*** empty log message ***
gdbadmin [Wed, 17 Dec 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
Alan Modra [Tue, 16 Dec 2003 23:00:04 +0000 (23:00 +0000)]
daily update

20 years agoFix typo.
Michael Snyder [Tue, 16 Dec 2003 21:49:41 +0000 (21:49 +0000)]
Fix typo.

20 years ago* solib.h (SOLIB_CREATE_CATCH_LOAD_HOOK)
Mark Kettenis [Tue, 16 Dec 2003 21:46:10 +0000 (21:46 +0000)]
* solib.h (SOLIB_CREATE_CATCH_LOAD_HOOK)
(SOLIB_CREATE_CATCH_UNLOAD_HOOK, SOLIB_LOADED_LIBRARY_PATHNAME)
(SOLIB_UNLOADED_LIBRARY_PATHNAME, SOLIB_HAVE_LOAD_EVENT)
(SOLIB_HAVE_UNLOAD_EVENT): Remove defines.

20 years ago* blockframe.c (inside_main_func): Don't treat a zero PC specially.
Mark Kettenis [Tue, 16 Dec 2003 21:23:50 +0000 (21:23 +0000)]
* blockframe.c (inside_main_func): Don't treat a zero PC specially.
Needed to fix PR backtrace/1476.

20 years ago2003-12-16 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Tue, 16 Dec 2003 20:21:09 +0000 (20:21 +0000)]
2003-12-16  Michael Snyder  <msnyder@redhat.com>

        Patch submitted by Anil Paranjape <AnilP1@KPITCummins.com>
        * sim-main.h (H8300H_MSIZE): Increase from 18 bits to 24 bits.

20 years ago2003-12-16 David Carlton <carlton@kealia.com>
David Carlton [Tue, 16 Dec 2003 19:27:11 +0000 (19:27 +0000)]
2003-12-16  David Carlton  <carlton@kealia.com>

* cp-support.c (class_name_from_physname): Add DMGL_PARAMS.
(method_name_from_physname): Ditto.

20 years agoRemove -8 bias on PC-relative load instructions for arm-wince-pe target
Nick Clifton [Tue, 16 Dec 2003 17:44:36 +0000 (17:44 +0000)]
Remove -8 bias on PC-relative load instructions for arm-wince-pe target

20 years agoOnly skip one instance of each prefix character, if they are present.
Nick Clifton [Tue, 16 Dec 2003 11:10:42 +0000 (11:10 +0000)]
Only skip one instance of each prefix character, if they are present.

20 years agomerge from gcc
DJ Delorie [Tue, 16 Dec 2003 00:58:45 +0000 (00:58 +0000)]
merge from gcc

20 years ago*** empty log message ***
gdbadmin [Tue, 16 Dec 2003 00:02:03 +0000 (00:02 +0000)]
*** empty log message ***

20 years agodaily update
Alan Modra [Mon, 15 Dec 2003 23:00:05 +0000 (23:00 +0000)]
daily update

20 years ago * gas/z8k/eidi.s: Add uppercase forms. Add forms with comma
Christian Groessler [Mon, 15 Dec 2003 22:03:20 +0000 (22:03 +0000)]
* gas/z8k/eidi.s: Add uppercase forms.  Add forms with comma
separated parameters.

20 years ago * config/tc-z8k.c (struct z8k_exp): Remove, not used anywhere.
Christian Groessler [Mon, 15 Dec 2003 22:02:42 +0000 (22:02 +0000)]
* config/tc-z8k.c (struct z8k_exp): Remove, not used anywhere.
(ctrl_table): Add "flags" keyword and some comments.
(flag_table): Convert to uppercase.
(get_flags_operand): Be case insensitive.
(get_interrupt_operand): Be case insensitive.  Support notation
where the inperrupt arguments are separated by commas.
(get_operands): Check whether get_flags_operand consumed all
arguments.  Return failure if get_ctrl_operand didn't recognize a
valid control register.
(get_specific): Add case CLASS_CTRL: Test for valid control
register for ldctlb opcode.
(build_bytes): Check for valid control registers.

20 years ago * z8k-dis.c (intr_names): Removed.
Christian Groessler [Mon, 15 Dec 2003 22:01:43 +0000 (22:01 +0000)]
* z8k-dis.c (intr_names): Removed.
(print_intr, print_flags): New functions.
(unparse_instr): Use new functions.

20 years ago* i386-sol2-tdep.c (i386_sol2_gregset_reg_offset): New variable.
Mark Kettenis [Mon, 15 Dec 2003 21:54:30 +0000 (21:54 +0000)]
* i386-sol2-tdep.c (i386_sol2_gregset_reg_offset): New variable.
(i386_sol2_init_abi): Initialize TDEP->gregset_reg_offset,
TDEP->gregset_num_regs, TDEP->sizeof_gregset and
TDEP->sizeof_fpregset.
* config/i386/i386sol2.mh (XM_FILE): Set to xm-i386.h.
(XM_CLIBS): Remove.
(NATDEPFILES): Remove core-regset.o and corelow.o.
* config/i386/i386sol2.mt (TDEPFILES): Add corelow.o.

20 years agomerge from gcc
DJ Delorie [Mon, 15 Dec 2003 19:03:58 +0000 (19:03 +0000)]
merge from gcc

20 years agomerge from gcc
DJ Delorie [Mon, 15 Dec 2003 17:45:42 +0000 (17:45 +0000)]
merge from gcc

20 years agoAdd PIPE_O attribute to "pop" instruction.
Nick Clifton [Mon, 15 Dec 2003 12:19:13 +0000 (12:19 +0000)]
Add PIPE_O attribute to "pop" instruction.

20 years ago(obj_crawl_symbol_chain): Skip defined symbols which resolve to symbolic values.
Nick Clifton [Mon, 15 Dec 2003 12:02:38 +0000 (12:02 +0000)]
(obj_crawl_symbol_chain): Skip defined symbols which resolve to symbolic values.

20 years agoEnsure that correct flags are set on known PE section types.
Nick Clifton [Mon, 15 Dec 2003 11:50:11 +0000 (11:50 +0000)]
Ensure that correct flags are set on known PE section types.

20 years ago * arm-opc.h (arm_opcodes): Put V6 instructions before XScale
Mark Mitchell [Mon, 15 Dec 2003 05:01:41 +0000 (05:01 +0000)]
* arm-opc.h (arm_opcodes): Put V6 instructions before XScale
instructions.

20 years ago * gas/arm/thumbv6.s: Add nops.
Mark Mitchell [Mon, 15 Dec 2003 04:47:23 +0000 (04:47 +0000)]
* gas/arm/thumbv6.s: Add nops.
* gas/arm/thumbv6.d: Use -M force-thumb option to objdump.  Add nops.

20 years ago*** empty log message ***
gdbadmin [Mon, 15 Dec 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
Alan Modra [Sun, 14 Dec 2003 23:00:05 +0000 (23:00 +0000)]
daily update

20 years ago* proc-api.c (procfs_note): Add format string to fprintf call.
Mark Kettenis [Sun, 14 Dec 2003 13:40:19 +0000 (13:40 +0000)]
* proc-api.c (procfs_note): Add format string to fprintf call.

20 years ago* i386-tdep.c (i386_analyze_frame_setup): Add missing encodings
Mark Kettenis [Sun, 14 Dec 2003 10:59:08 +0000 (10:59 +0000)]
* i386-tdep.c (i386_analyze_frame_setup): Add missing encodings
for `subl' and `xorl' instructions.

20 years ago*** empty log message ***
gdbadmin [Sun, 14 Dec 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago * gas/mmix/basep-8.d: Update for lcomm symbol type change.
Alan Modra [Sat, 13 Dec 2003 23:32:25 +0000 (23:32 +0000)]
* gas/mmix/basep-8.d: Update for lcomm symbol type change.
* gas/mmix/basep-9.d: Likewise.

20 years agodaily update
Alan Modra [Sat, 13 Dec 2003 23:00:05 +0000 (23:00 +0000)]
daily update

20 years ago* dwarf2read.c (dwarf2_add_member_fn, read_structure_scope):
Jim Blandy [Sat, 13 Dec 2003 22:29:06 +0000 (22:29 +0000)]
* dwarf2read.c (dwarf2_add_member_fn, read_structure_scope):
Replace uses of DEPRECATED_STREQ and DEPRECATED_STREQN with calls
to strcmp and strncmp.

20 years ago* osabi.c (gdbarch_init_osabi): Reformat error message with better
Jim Blandy [Sat, 13 Dec 2003 21:41:10 +0000 (21:41 +0000)]
* osabi.c (gdbarch_init_osabi): Reformat error message with better
line breaks.

20 years ago* gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
Jim Blandy [Sat, 13 Dec 2003 20:12:31 +0000 (20:12 +0000)]
* gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.

20 years ago * mmix-opc.c (mmix_opcodes): Use GO_INSN_BYTE, PUSHGO_INSN_BYTE,
Hans-Peter Nilsson [Sat, 13 Dec 2003 14:56:24 +0000 (14:56 +0000)]
* mmix-opc.c (mmix_opcodes): Use GO_INSN_BYTE, PUSHGO_INSN_BYTE,
SETL_INSN_BYTE, INCH_INSN_BYTE, INCMH_INSN_BYTE, INCML_INSN_BYTE
and SWYM_INSN_BYTE instead of raw numbers.

20 years ago* blockframe.c (inside_main_func): Reformat. Introduce new local
Mark Kettenis [Sat, 13 Dec 2003 13:16:52 +0000 (13:16 +0000)]
* blockframe.c (inside_main_func): Reformat.  Introduce new local
variables to prevent long lines.  Update comments to reflect
reality.

20 years ago * config/obj-elf.c: Convert to C90, remove unneeded prototypes and
Alan Modra [Sat, 13 Dec 2003 12:57:40 +0000 (12:57 +0000)]
* config/obj-elf.c: Convert to C90, remove unneeded prototypes and
casts.  Formatting.
* config/obj-elf.h: Remove PARAMS.

20 years ago * read.c (s_lcomm_internal): Make global.
Alan Modra [Sat, 13 Dec 2003 08:59:24 +0000 (08:59 +0000)]
* read.c (s_lcomm_internal): Make global.
* read.h (s_lcomm_internal): Declare.
* config/obj-elf.c (elf_pseudo_table): Handle lcomm.
(obj_elf_lcomm): New function.

20 years ago * read.c: Remove unneeded prototypes.
Alan Modra [Sat, 13 Dec 2003 08:23:05 +0000 (08:23 +0000)]
* read.c: Remove unneeded prototypes.
(s_comm): Split out code to..
(s_comm_internal): ..here.  Tidy error returns.  Rearrange so that
"name" from input line may be used in more places.  Merge code
testing for valid size from elf_common.  Merge code from
s_lcomm_internal.  Call comm_parse_extra.
(bss_alloc): New function, split out of s_lcomm_internal and
elf_common.
(parse_align): Likewise.
(s_lcomm_internal): Rewrite.
(s_lcomm, s_lcomm_bytes): Use s_comm_internal.
* read.h (bss_alloc, parse_align, s_comm_internal): Declare.
* config/obj-elf.c (elf_common): Split out code to..
(elf_common_parse): ..here.  Remove code common to s_comm_internal,
parse_align and bss_alloc.  Rearrange and Tidy.
* config/tc-alpha.h (TC_IMPLICIT_LCOMM_ALIGNMENT): Define.

20 years ago From David Mosberger <davidm@hpl.hp.com>:
Kevin Buettner [Sat, 13 Dec 2003 03:51:56 +0000 (03:51 +0000)]
From David Mosberger  <davidm@hpl.hp.com>:
* libunwind-frame.c (unw_find_dyn_list_p): Replace most arguments
with a single unw_dyn_info_t pointer.
(libunwind_find_dyn_list): Likewise.
* libunwind-frame.h: Likewise.
* ia64-tdep.c (ia64_find_unwind_table): Switch to using
UNW_INFO_FORMAT_REMOTE_TABLE so we can avoid having to read in the
entire unwind-table at once.  Support for this table format has
been added to libunwind v0.95.
(ia64_find_proc_info_x): Adjust for remote-unwind-table changes.
(ia64_get_dyn_info_list): Adjust for interface change for
libunwind_find_dyn_list().

20 years ago * gdb.asm/frv.inc: New file.
Kevin Buettner [Sat, 13 Dec 2003 01:01:08 +0000 (01:01 +0000)]
* gdb.asm/frv.inc: New file.
* gdb.asm/asm-source.exp: Add frv-*-* as a supported target.

20 years ago*** empty log message ***
gdbadmin [Sat, 13 Dec 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
Alan Modra [Fri, 12 Dec 2003 23:00:05 +0000 (23:00 +0000)]
daily update

20 years agoUpdated Romanian translation
Nick Clifton [Fri, 12 Dec 2003 20:42:51 +0000 (20:42 +0000)]
Updated Romanian translation

20 years ago2003-12-12 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 12 Dec 2003 19:04:46 +0000 (19:04 +0000)]
2003-12-12  Jeff Johnston  <jjohnstn@redhat.com>

        * breakpoint.c (breakpoint_enabled): New function to test whether
        breakpoint is active and enabled.
        (insert_bp_location, insert_breakpoints): Call new function to test
        for enabled breakpoint.
        (remove_breakpoint, breakpoint_here_p, breakpoint_thread_match)
        (bpstat_should_step, bpstat_have_active_hw_watchpoints)
        (disable_breakpoints_in_shlibs, hw_watchpoint_used_count)
        (disable_watchpoints_before_interactive_call_start)
        (breakpoint_re_set_one): Ditto.
        (bpstat_stop_status): Use new function and simplify test.

20 years agooops - forgot to add this file!
Nick Clifton [Fri, 12 Dec 2003 16:35:21 +0000 (16:35 +0000)]
oops - forgot to add this file!

20 years ago* observer.c (observer_test_first_observer)
Mark Kettenis [Fri, 12 Dec 2003 16:14:26 +0000 (16:14 +0000)]
* observer.c (observer_test_first_observer)
(observer_test_second_observer, observer_test_third_observer):
Don't define as `static'.
(observer_test_first_notification_function)
(observer_test_second_notification_function)
(observer_test_third_notification_function): Likewise.

20 years ago * elf64-hppa.c (elf64_hppa_link_output_symbol_hook): Check for
Alan Modra [Fri, 12 Dec 2003 14:11:58 +0000 (14:11 +0000)]
* elf64-hppa.c (elf64_hppa_link_output_symbol_hook): Check for
NULL dyn_h.

20 years ago*** empty log message ***
gdbadmin [Fri, 12 Dec 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
Alan Modra [Thu, 11 Dec 2003 23:00:06 +0000 (23:00 +0000)]
daily update

20 years ago(INCLUDE_SECTION_IN_SEGMENT): Skip PT_GNU_STACK segments.
Nick Clifton [Thu, 11 Dec 2003 18:10:19 +0000 (18:10 +0000)]
(INCLUDE_SECTION_IN_SEGMENT): Skip PT_GNU_STACK segments.

20 years ago* solib.h (SOLIB_UNLOADED_LIBRARY_PATHNAME): Define as "" instead
Mark Kettenis [Thu, 11 Dec 2003 13:45:12 +0000 (13:45 +0000)]
* solib.h (SOLIB_UNLOADED_LIBRARY_PATHNAME): Define as "" instead
of (0).

20 years agoAdd --only-keep-debug to the --help output.
Nick Clifton [Thu, 11 Dec 2003 13:22:51 +0000 (13:22 +0000)]
Add --only-keep-debug to the --help output.

20 years agoAdd support for the m32r2 processor
Nick Clifton [Thu, 11 Dec 2003 11:33:44 +0000 (11:33 +0000)]
Add support for the m32r2 processor

20 years ago * MAINTAINERS (write after approval): Add myself
Dhananjay Deshpande [Thu, 11 Dec 2003 06:30:10 +0000 (06:30 +0000)]
 * MAINTAINERS (write after approval): Add myself

20 years ago Fix GDB crash problem when object file of different H8 cpu is loaded
Dhananjay Deshpande [Thu, 11 Dec 2003 06:21:12 +0000 (06:21 +0000)]
 Fix GDB crash problem when object file of different H8 cpu is loaded

20 years ago*** empty log message ***
gdbadmin [Thu, 11 Dec 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
Alan Modra [Wed, 10 Dec 2003 23:00:05 +0000 (23:00 +0000)]
daily update

20 years agoopcodes:
Zack Weinberg [Wed, 10 Dec 2003 22:12:50 +0000 (22:12 +0000)]
opcodes:
* ppc-opc.c (MO): Make optional.
(RAO, RSO, SHO): New optional forms of RA, RS, SH operands.
(tlbwe): Accept for both PPC403 and BOOKE.  Make all operands optional.
gas:
* tc-ppc.c (md_assemble): Rewrite comment about optional operands
to indicate that 'all or none' is also handled.  Pluralize a
word in another comment.
gas/testsuite:
* gas/ppc/booke.s: Add two more forms of the mbar instruction
and three forms of the tlbwe instruction.
* gas/ppc/booke.d: Update to match.

20 years ago * frame.c (select_frame): Get the current frame PC using
Joel Brobecker [Wed, 10 Dec 2003 17:40:43 +0000 (17:40 +0000)]
    * frame.c (select_frame): Get the current frame PC using
        get_frame_address_in_block() instead of get_frame_pc().
        * stack.c (get_frame_language): Likewise.

20 years ago * gas/arm/arm.exp: Add r15-bad.
Paul Brook [Wed, 10 Dec 2003 12:50:26 +0000 (12:50 +0000)]
* gas/arm/arm.exp: Add r15-bad.
* gas/arm/r15-bad.s: New file.
* gas/arm/r15-bad.l: New file.

20 years ago * config/tc-arm.c (FPU_MAVERICK): Define.
Paul Brook [Wed, 10 Dec 2003 12:11:26 +0000 (12:11 +0000)]
* config/tc-arm.c (FPU_MAVERICK): Define.
(FPU_ARCH_MAVERICK): Define.
(arm_float_abi): Define.
(mfloat_abi_opt): New variable.
(md_begin): Use them.
(arm_opts): Add msoft-float and mhard-float.
(arm_cpus): Use FPU_ARCH_MAVERICK.
(arm_fpus): Add maverick.
(arm_float_abis): Add.
(arm_parse_float_abi): New function.
(arm_long_options): Add mfloat-abi.
* doc/as.texinfo: Document -mfloat-abi=.
* doc/c-arm.text: Ditto. Menution -fpu=maverick.

20 years agoRemove redundant returns in void functions.
Ben Elliston [Wed, 10 Dec 2003 06:41:08 +0000 (06:41 +0000)]
Remove redundant returns in void functions.

20 years ago*** empty log message ***
gdbadmin [Wed, 10 Dec 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
Alan Modra [Tue, 9 Dec 2003 23:00:06 +0000 (23:00 +0000)]
daily update

20 years agoCommitted after testing and independent approval/endorsement.
Fred Fish [Tue, 9 Dec 2003 18:19:20 +0000 (18:19 +0000)]
Committed after testing and independent approval/endorsement.

2003-12-09  Fred Fish  <fnf@redhat.com>
* gdb.base/break.c (marker1, marker2, marker3, marker4): Move
functions to break1.c and leave prototypes behind.  Add more
"set breakpoint NN here" comments.
* gdb.base/break1.c: New file.
* gdb.base/break.exp: Handle compiling test case from multiple
source files and change source file references as needed.
* gdb.base/completion.exp: Ditto.
* gdb.base/condbreak.exp: Ditto.
* gdb.base/define.exp: Ditto.
* gdb.base/ena-dis-br.exp: Ditto.
* gdb.base/info-proc.exp: Ditto.
* gdb.base/maint.exp: Ditto.
* gdb.base/until.exp: Ditto.
* gdb.base/condbreak.exp: Use bp_locationNN variables instead of
hardcoded line numbers.
* gdb.base/define.exp: Ditto.
* gdb.base/ena-dis-br.exp: Ditto.
* gdb.base/maint.exp: Ditto.
* gdb.base/until.exp: Ditto.
* gdb.base/completion.exp: Use "break1" for completion tests since
"break" is no longer a unique prefix.

20 years ago * config/tc-arm.c (do_umaal): Fix typo.
Paul Brook [Tue, 9 Dec 2003 17:41:12 +0000 (17:41 +0000)]
* config/tc-arm.c (do_umaal): Fix typo.

20 years ago*** empty log message ***
gdbadmin [Tue, 9 Dec 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
Alan Modra [Mon, 8 Dec 2003 23:00:06 +0000 (23:00 +0000)]
daily update

20 years ago2003-12-08 Thomas Fitzsimmons <fitzsim@redhat.com>
Thomas Fitzsimmons [Mon, 8 Dec 2003 21:19:41 +0000 (21:19 +0000)]
2003-12-08  Thomas Fitzsimmons  <fitzsim@redhat.com>

* configure.in (raw_libstdcxx_flags): Remove the leading space.
* configure: Regenerate.

20 years ago * elfxx-mips.h, elfxx-mips.c, cpu-mips.c: Convert prototypes.
Richard Sandiford [Mon, 8 Dec 2003 20:04:34 +0000 (20:04 +0000)]
* elfxx-mips.h, elfxx-mips.c, cpu-mips.c: Convert prototypes.
Remove casts that were only needed for K&R compatibility.

20 years ago * remote.c (remote_open_1, remote_cisco_open): Avoid closing
Kevin Buettner [Mon, 8 Dec 2003 17:00:06 +0000 (17:00 +0000)]
* remote.c (remote_open_1, remote_cisco_open): Avoid closing
remote_desc more than once.

20 years ago * elf-bfd.h (struct elf_backend_data): Remove "bfd *" and add
Alan Modra [Mon, 8 Dec 2003 13:05:11 +0000 (13:05 +0000)]
* elf-bfd.h (struct elf_backend_data): Remove "bfd *" and add
"elflink_hash_entry *" param to elf_backend_link_output_symbol_hook.
Add "elflink_hash_entry *" param to elf_backend_output_arch_syms.
* elflink.h (elf_link_output_sym): Add "elflink_hash_entry *" param,
and pass to output_symbol_hook.
(elf_bfd_final_link): Adjust elf_link_output_sym calls.
(elf_link_output_extsym): Likewise.
(elf_link_input_bfd): Likewise.
* elf32-sh64.c (sh64_elf_link_output_symbol_hook): Adjust.
* elf32-v850.c (v850_elf_link_output_symbol_hook): Likewise.
* elf64-mmix.c (mmix_elf_link_output_symbol_hook): Likewise.
* elf64-sh64.c (sh64_elf64_link_output_symbol_hook): Likewise.
* elfxx-mips.c (_bfd_mips_elf_link_output_symbol_hook): Likewise.
* elfxx-mips.h (_bfd_mips_elf_link_output_symbol_hook): Likewise.
* elf64-sparc.c (sparc64_elf_output_arch_syms): Likewise.
* elf64-hppa.c (elf64_hppa_link_output_symbol_hook): Likewise.
Validate dynh->h against h.
* elf64-ppc.c (struct ppc_link_hash_entry): Add adjust_done bitfield.
(link_hash_newfunc): Init it.
(adjust_opd_syms): New function.
(ppc64_elf_edit_opd): Set adjust_done when global .opd sym adjusted.
Set opd.adjust for all .opd relocs.  Call adjust_opd_syms.
(ppc64_elf_tls_optimize): Adjust possible .opd sym values here.
(ppc64_elf_relocate_section): Also adjust syms not a multiple of 24.
(ppc64_elf_output_symbol_hook): New function.
(elf_backend_link_output_symbol_hook): Define.

20 years ago2003-12-07 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 8 Dec 2003 03:43:33 +0000 (03:43 +0000)]
2003-12-07  H.J. Lu  <hongjiu.lu@intel.com>

* ldlang.c (lang_vers_match): Pass "DMGL_PARAMS | DMGL_ANSI" to
cplus_demangle.

20 years ago*** empty log message ***
gdbadmin [Mon, 8 Dec 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago * ldemul.c: Convert to ISO-C.
Kazu Hirata [Sun, 7 Dec 2003 23:52:44 +0000 (23:52 +0000)]
* ldemul.c: Convert to ISO-C.
* ldver.c: Likewise.

20 years agodaily update
Alan Modra [Sun, 7 Dec 2003 23:00:05 +0000 (23:00 +0000)]
daily update

20 years ago * ld-mips-elf/elf-rel-xgot-n32.d: Fix offset for "lw $5,dl1+34($5)".
Richard Sandiford [Sun, 7 Dec 2003 21:49:09 +0000 (21:49 +0000)]
* ld-mips-elf/elf-rel-xgot-n32.d: Fix offset for "lw $5,dl1+34($5)".
* ld-mips-elf/elf-rel-xgot-n64-linux.d: Likewise.

20 years ago * elf32-mips.c, elfn32-mips.c, elf64-mips.c: Convert prototypes.
Richard Sandiford [Sun, 7 Dec 2003 21:24:28 +0000 (21:24 +0000)]
* elf32-mips.c, elfn32-mips.c, elf64-mips.c: Convert prototypes.
Remove casts that were only needed for K&R compatibility.

20 years ago2003-12-07 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sun, 7 Dec 2003 17:22:29 +0000 (17:22 +0000)]
2003-12-07  Andrew Cagney  <cagney@redhat.com>

* defs.h (DEPRECATED_STREQN, DEPRECATED_STREQ): Simplify by
directly calling strcmp equivalents.  Add disclaimer.

20 years agoMore reversion of incomplete m32r changes. Should be back to normal.
Andrew Cagney [Sun, 7 Dec 2003 16:13:06 +0000 (16:13 +0000)]
More reversion of incomplete m32r changes.  Should be back to normal.

20 years agoRevert last commit, build problems.
Andrew Cagney [Sun, 7 Dec 2003 02:58:01 +0000 (02:58 +0000)]
Revert last commit, build problems.

20 years ago2003-12-02 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
Andrew Cagney [Sun, 7 Dec 2003 02:27:45 +0000 (02:27 +0000)]
2003-12-02  Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>

        * Makefile.in : Add new machine m32r2.
        * m32r2.c : New file for m32r2.
* mloop2.in : Ditto
* model2.c : Ditto
* sem2-switch.c : Ditto
        * m32r-sim.h : Add EVB register.
        * sim-if.h : Ditto
        * sim-main.h : Ditto
        * traps.c : Ditto

20 years ago * lexsup.c (is_num): Remove.
Kazu Hirata [Sun, 7 Dec 2003 00:08:41 +0000 (00:08 +0000)]
* lexsup.c (is_num): Remove.