binutils-gdb.git
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.

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

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

20 years ago2003-12-06 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sat, 6 Dec 2003 22:58:27 +0000 (22:58 +0000)]
2003-12-06  Andrew Cagney  <cagney@redhat.com>

* remote.c (remote_fetch_registers): For short packets, explicitly
supply a zero value.  Use regcache_raw_supply.  Fix suggested by
Jonathan Larmour.

20 years ago2003-12-06 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sat, 6 Dec 2003 22:49:02 +0000 (22:49 +0000)]
2003-12-06  Andrew Cagney  <cagney@redhat.com>

* gdb.base/structs.exp (test_struct_returns): When applicable, set
"return_value_unimplemented".  When an unimplemented struct return
architecture, report incorrect values as a KFAIL

20 years ago * dwarf2dbg.c: Convert to ISO-C.
Kazu Hirata [Sat, 6 Dec 2003 16:16:51 +0000 (16:16 +0000)]
* dwarf2dbg.c: Convert to ISO-C.
* write.c: Likewise.
* write.h: Likewise.

20 years agogas/
Richard Sandiford [Sat, 6 Dec 2003 13:52:23 +0000 (13:52 +0000)]
gas/
* config/tc-mips.c (macro): Switch misordered call to frag_grow()
and setting of tc_fr_offset.

gas/testsuite/
* gas/mips/elf-rel16.[sd]: New test.
* gas/mips/mips.exp: Run it.
* gas/mips/elf-rel-xgot-n32.d: Fix addends for "lw $5,dl1+34($5)".
* gas/mips/elf-rel-xgot-n64.d: Likewise.

20 years agoFia x comment typo.
Kazu Hirata [Sat, 6 Dec 2003 10:02:06 +0000 (10:02 +0000)]
Fia x comment typo.

20 years ago * common.h (DT_HIOS): Correct value.
Alan Modra [Sat, 6 Dec 2003 05:32:21 +0000 (05:32 +0000)]
* common.h (DT_HIOS): Correct value.

20 years ago2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
Michael Chastain [Sat, 6 Dec 2003 04:40:42 +0000 (04:40 +0000)]
2003-12-05  Michael Chastain  <mec.gnu@mindspring.com>

* gdb.cp/rtti.exp: Accept new wording of warning from
cp_lookup_rtti_type.

20 years ago2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
Michael Chastain [Sat, 6 Dec 2003 02:06:22 +0000 (02:06 +0000)]
2003-12-05  Michael Chastain  <mec.gnu@mindspring.com>

Partial fix for PR testsuite/1456.
* gdb.base/scope.exp (test_at_main): Replace references to
gcc_compiled with calls to test_compiler_info.
(test_at_foo): Likewise.
(test_at_bar): Likewise.

20 years ago * gas/arm/arm.exp: Add archv6 and thumbv6.
Mark Mitchell [Sat, 6 Dec 2003 01:25:29 +0000 (01:25 +0000)]
* gas/arm/arm.exp: Add archv6 and thumbv6.
* gas/arm/archv6.d: New file.
* gas/arm/archv6.s: Likewise.
* gas/arm/thumbv6.d: Likewise.
* gas/arm/thumbv6.s: Likewise.

Add V6 support.
* config/tc-arm.c (ARM_EXT_V6): New macro.
(ARM_ARCH_V6): Likewise.
(SHIFT_IMMEDIATE): Likewise.
(SHIFT_LSL_OR_ASR_IMMEDIATE): Likewise.
(SHIFT_ASR_IMMEDIATE): Likewise.
(SHIFT_LSL_IMMMEDIATE): Likewise.
(do_cps): New function.
(do_cpsi): Likewise.
(do_ldrex): Likewise.
(do_pkhbt): Likewise.
(do_pkhtb): Likewise.
(do_qadd16): Likewise.
(do_rev): Likewise.
(do_rfe): Likewise.
(do_sxtah): Likewise.
(do_sxth): Likewise.
(do_setend): Likewise.
(do_smlad): Likewise.
(do_smlald): Likewise.
(do_smmul): Likewise.
(do_ssat): Likewise.
(do_usat): Likewise.
(do_srs): Likewise.
(do_ssat16): Likewise.
(do_usat16): Likewise.
(do_strex): Likewise.
(do_umaal): Likewise.
(do_cps_mode): Likewise.
(do_cps_flags): Likewise.
(do_endian_specifier): Likewise.
(do_pkh_core): Likewise.
(do_sat): Likewise.
(do_sat16): Likewise.
(insns): Add V6 instructions.
(do_t_cps): New function.
(do_t_cpy): Likewise.
(do_t_setend): Likewise.
(THUMB_CPY): New macro.
(tinsns): Add V6 instructions.
(decode_shift): Handle V6 restricted-shift options.
(thumb_mov_compare): Support CPY.
(arm_cores): Add arm1136js and arm1136jfs.
(arm_archs): Add armv6.
(arm_fpus): Add arm1136jfs.
* doc/c-arm.texi (ARM Options): Mention arm1136js, arm1136jfs, and
armv6 options.

* gas/arm/arm.exp: Add archv6 and thumbv6.
* gas/arm/archv6.d: New file.
* gas/arm/archv6.s: Likewise.
* gas/arm/thumbv6.d: Likewise.
* gas/arm/thumbv6.s: Likewise.

* arm-dis.c (print_arm_insn): Add 'W' macro.
* arm-opc.h (arm_opcodes): Add V6 instructions.
(thumb_opcodes): Likewise.

20 years ago2003-12-05 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Sat, 6 Dec 2003 00:17:04 +0000 (00:17 +0000)]
2003-12-05  Jeff Johnston  <jjohnstn@redhat.com>

        * ia64-tdep.c (ia64_gdbarch_init): Set up the gdbarch long double
        format to be the i387 extended float format which is used for
        long doubles stored in memory.

20 years ago * ChangeLog-9197: Fix comment typos.
Kazu Hirata [Sat, 6 Dec 2003 00:06:12 +0000 (00:06 +0000)]
* ChangeLog-9197: Fix comment typos.
* coffgrok.c: Likewise.
* filemode.c: Likewise.
* objcopy.c: Likewise.
* objdump.c: Likewise.
* prdbg.c: Likewise.
* stabs.c: Likewise.
* unwind-ia64.c: Likewise.

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

20 years ago * config/tc-z8k.c (parse_reg): Be case insensitive when checking
Christian Groessler [Fri, 5 Dec 2003 23:40:04 +0000 (23:40 +0000)]
* config/tc-z8k.c (parse_reg): Be case insensitive when checking
register names.
(get_ctrl_operand): Be case insensitive when checking ctrl names.

20 years ago * gas/z8k/ctrl-names.d: New file.
Christian Groessler [Fri, 5 Dec 2003 23:37:02 +0000 (23:37 +0000)]
* gas/z8k/ctrl-names.d: New file.
* gas/z8k/ctrl-names.s: New file.
* gas/z8k/z8k.exp: Run new tests.

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

20 years ago2003-12-02 Alexandre Oliva <aoliva@redhat.com>
Michael Snyder [Fri, 5 Dec 2003 22:16:11 +0000 (22:16 +0000)]
2003-12-02  Alexandre Oliva  <aoliva@redhat.com>

* sh-opc.h: Add support for sh4a and no-fpu variants.
        * sh-dis.c: Ditto.

20 years agoDon't blame aoliva for my work.
Michael Snyder [Fri, 5 Dec 2003 22:00:39 +0000 (22:00 +0000)]
Don't blame aoliva for my work.

20 years agoFrom Ulrich Weigand <weigand@informatik.uni-erlangen.de>:
Mark Kettenis [Fri, 5 Dec 2003 21:14:49 +0000 (21:14 +0000)]
From Ulrich Weigand  <weigand@informatik.uni-erlangen.de>:
* dwarf2-frame.c (dwarf2_frame_cache): Use the untranslated RA
column instead of translating it.

20 years agoFix SH compilation problems introduced by previous delta
Nick Clifton [Fri, 5 Dec 2003 11:55:01 +0000 (11:55 +0000)]
Fix SH compilation problems introduced by previous delta

20 years agoFixes for use of ARM_26D reloc in arm-wince toolchain.
Nick Clifton [Fri, 5 Dec 2003 11:30:18 +0000 (11:30 +0000)]
Fixes for use of ARM_26D reloc in arm-wince toolchain.

20 years ago2003-12-04 Michael Chastain <mec.gnu@mindspring.com>
Michael Chastain [Fri, 5 Dec 2003 04:25:09 +0000 (04:25 +0000)]
2003-12-04  Michael Chastain  <mec.gnu@mindspring.com>

Partial fix for PR c++/1465.
Fix for PR c++/1377.
* cp-support.h (cp_lookup_rtti_type): New function.
* cp-support.c (cp_lookup_rtti_type): New function.
* gnu-v2-abi.c: Update copyright years.
(gnuv2_rtti_type): Call cp_lookup_rtti_type.
* gnu-v3-abi.c: Update copyright years.
(gnuv3_rtti_type): Call cp_lookup_rtti_type.

20 years ago2003-12-02 Alexandre Oliva <aoliva@redhat.com>
Michael Snyder [Fri, 5 Dec 2003 02:02:32 +0000 (02:02 +0000)]
2003-12-02  Alexandre Oliva  <aoliva@redhat.com>

* sh-opc.h: Add support for sh4a and no-fpu variants.
* sh-dis.c: Ditto.

20 years ago2003-12-03 Alexandre Oliva <aoliva@redhat.com>
Michael Snyder [Fri, 5 Dec 2003 01:59:55 +0000 (01:59 +0000)]
2003-12-03  Alexandre Oliva  <aoliva@redhat.com>

* config/tc-sh.c: Add support for sh4a and no-fpu variants,
with appropriate additions to md_show_usage.
* testsuite/gas/sh/basic.exp: Call tests for sh4a.
* testsuite/gas/sh/{err-sh4a-fp.s, err-sh4a.s,
err-sh4al-dsp.s, sh4a-dsp.d, sh4a-dsp.s, sh4a-fp.d,
sh4a-fp.s, sh4a.d, sh4a.s, sh4al-dsp.d, sh4al-dsp.s:
New files, tests for sh4a and related variants.
* doc/c-sh.texi: Document new -isa options.
* doc/c-sh64.texi: Ditto.
* NEWS: Mention new support for sh4a.

20 years ago2003-12-04 Michael Chastain <mec.gnu@mindspring.com>
Michael Chastain [Fri, 5 Dec 2003 01:53:46 +0000 (01:53 +0000)]
2003-12-04  Michael Chastain  <mec.gnu@mindspring.com>

Partial fix for PR testsuite/1456.
* gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
to test_compiler_info.

20 years ago * stabsread.c (read_type): Save a reference to types that are defined
Joel Brobecker [Fri, 5 Dec 2003 00:45:39 +0000 (00:45 +0000)]
    * stabsread.c (read_type): Save a reference to types that are defined
        as cross references to other types.

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

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

20 years ago2003-12-04 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 4 Dec 2003 22:48:20 +0000 (22:48 +0000)]
2003-12-04  H.J. Lu  <hongjiu.lu@intel.com>

* elf32-ppc.c (ppc_elf_relax_section): Don't check relax_finalizing.

20 years agobfd/
H.J. Lu [Thu, 4 Dec 2003 22:43:36 +0000 (22:43 +0000)]
bfd/

2003-12-04  H.J. Lu  <hongjiu.lu@intel.com>

* elfxx-ia64.c (elfNN_ia64_relax_section): Use the
need_relax_finalize field in link_info instead of
relax_finalizing to check if the relax finalize pass is being
done.

include/

2003-12-04  H.J. Lu  <hongjiu.lu@intel.com>

* bfdlink.h (bfd_link_info): Change relax_finalizing to
need_relax_finalize.

ld/

2003-12-04  H.J. Lu  <hongjiu.lu@intel.com>

* emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse): Set
link_info.need_relax_finalize to TRUE.

* ldlang.c (lang_process): Use link_info.need_relax_finalize
instead of link_info.relax_finalizing.
* ldmain.c (main): Likewise.

20 years agomerge from gcc
DJ Delorie [Thu, 4 Dec 2003 20:03:39 +0000 (20:03 +0000)]
merge from gcc

20 years agoDo not copy the object if the output file's format cannot be set to that of
Nick Clifton [Thu, 4 Dec 2003 18:24:07 +0000 (18:24 +0000)]
Do not copy the object if the output file's format cannot be set to that of
the input file.  If the input file's format is unknown, fail.

20 years agoDefine RELOCATEABLE_OUTPUT_FORMAT
Nick Clifton [Thu, 4 Dec 2003 17:51:43 +0000 (17:51 +0000)]
Define RELOCATEABLE_OUTPUT_FORMAT

20 years agoChange ARM26* to ARM_26* in comments to match definitions.
Nick Clifton [Thu, 4 Dec 2003 17:46:24 +0000 (17:46 +0000)]
Change ARM26* to ARM_26* in comments to match definitions.
Replace hard-coded constants with appropriate definitions (ARM_26*).

20 years ago * ldlang.c (lang_do_assignments): Function return is void.
Alan Modra [Thu, 4 Dec 2003 12:09:25 +0000 (12:09 +0000)]
* ldlang.c (lang_do_assignments): Function return is void.
* ldlang.h (lang_do_assignments): Ditto.
* emultempl/netbsd.em (gld${EMULATION_NAME}_before_parse): Declare.
* Makefile.am (ens32knbsd.c): Depend on netbsd.em.
* Makefile.in: Regenerate.

20 years ago * coff-i860.c (coff_i860_reloc_nyi): Return bfd_reloc_not_supported.
Alan Modra [Thu, 4 Dec 2003 12:08:42 +0000 (12:08 +0000)]
* coff-i860.c (coff_i860_reloc_nyi): Return bfd_reloc_not_supported.
* elf-m10300.c (elf32_mn10300_finish_hash_table_entry): Warning fixes.
(mn10300_elf_relax_section): Likewise.
* nlm32-alpha.c (ONES): Define.
(nlm32_alpha_howto_table): Use it to avoid warnings.

20 years ago * openrisc-asm.c: Regenerate.
Alan Modra [Thu, 4 Dec 2003 11:07:22 +0000 (11:07 +0000)]
* openrisc-asm.c: Regenerate.
* pj-opc.c: Update copyright date.

20 years ago2003-12-03 Michael Chastain <mec.gnu@mindspring.com>
Michael Chastain [Thu, 4 Dec 2003 04:37:54 +0000 (04:37 +0000)]
2003-12-03  Michael Chastain  <mec.gnu@mindspring.com>

* gdb.base/so-impl-ld.exp: Update copyright notice.

20 years ago * elf32-i386.c (elf_i386_object_p): Delete.
Alan Modra [Thu, 4 Dec 2003 03:03:27 +0000 (03:03 +0000)]
* elf32-i386.c (elf_i386_object_p): Delete.
(elf_backend_object_p): Don't define.
* elf32-s390.c (elf_s390_object_p): No need to alloc tdata here.
* elf32-sh.c (sh_elf_object_p): Likewise.
* elf32-sparc.c (elf32_sparc_object_p): Likewise.
* elf64-alpha.c (elf64_alpha_object_p): Likewise.
* elf64-s390.c (elf_s390_object_p): Likewise.
* elf64-x86-64.c (elf64_x86_64_elf_object_p): Likewise.

20 years ago2003-11-24 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 4 Dec 2003 00:54:16 +0000 (00:54 +0000)]
2003-11-24  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-alpha.c (s_alpha_end): Don't crash if there is no
matching .ent.

20 years ago.
Roland McGrath [Thu, 4 Dec 2003 00:20:51 +0000 (00:20 +0000)]
.

20 years ago2003-12-02 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 4 Dec 2003 00:20:25 +0000 (00:20 +0000)]
2003-12-02  Roland McGrath  <roland@redhat.com>

* thread-db.c (enable_thread_event): Change return type to
td_err_e.  Return TD_OK or error code.
(enable_thread_event_reporting): Update callers.

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

20 years ago * tc.h (md_pcrel_from): Don't declare if defined as a macro.
Alan Modra [Wed, 3 Dec 2003 23:39:38 +0000 (23:39 +0000)]
* tc.h (md_pcrel_from): Don't declare if defined as a macro.

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

20 years ago * NEWS: Mention new C++ demangler code.
Ian Lance Taylor [Wed, 3 Dec 2003 19:53:11 +0000 (19:53 +0000)]
* NEWS: Mention new C++ demangler code.

20 years ago2003-12-03 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Wed, 3 Dec 2003 19:37:03 +0000 (19:37 +0000)]
2003-12-03  Andrew Cagney  <cagney@redhat.com>

* ppc-linux-nat.c (store_register, fetch_register): Convert
between ptrace and regcache's wordsize.
(ppc_register_u_addr): Use the ptrace wordsize.

20 years agomerge from gcc
DJ Delorie [Wed, 3 Dec 2003 19:03:29 +0000 (19:03 +0000)]
merge from gcc

20 years agooops - forogot to mention the new support here.
Nick Clifton [Wed, 3 Dec 2003 17:42:12 +0000 (17:42 +0000)]
oops - forogot to mention the new support here.

20 years agoAdd support for the M32R2 processor.
Nick Clifton [Wed, 3 Dec 2003 17:38:48 +0000 (17:38 +0000)]
Add support for the M32R2 processor.

20 years agoAdd vax-linux-gnu target
Nick Clifton [Wed, 3 Dec 2003 15:07:17 +0000 (15:07 +0000)]
Add vax-linux-gnu target

20 years agoAdd "msp" to list of expected architectures.
Nick Clifton [Wed, 3 Dec 2003 10:48:53 +0000 (10:48 +0000)]
Add "msp" to list of expected architectures.

20 years ago(HEAP_SECTION_MSP430): New section for forthcoming devices.
Nick Clifton [Wed, 3 Dec 2003 10:44:50 +0000 (10:44 +0000)]
(HEAP_SECTION_MSP430): New section for forthcoming devices.
(_etext): provide this defenition for all scripts.

20 years ago * frv-tdep.c (frv_gdbarch_init): Add case for fr550.
Kevin Buettner [Wed, 3 Dec 2003 04:50:33 +0000 (04:50 +0000)]
* frv-tdep.c (frv_gdbarch_init): Add case for fr550.

20 years ago * messages.c: Convert to ISO-C.
Kazu Hirata [Wed, 3 Dec 2003 03:39:58 +0000 (03:39 +0000)]
* messages.c: Convert to ISO-C.
* obj.h: Likewise.
* output-file.c: Likewise.
* output-file.h: Likewise.
* sb.c: Likewise.
* sb.h: Likewise.
* stabs.c: Likewise.
* subsegs.c: Likewise.
* subsegs.h: Likewise.
* tc.h: Likewise.

20 years ago * emultempl/beos.em: Remove ARGSUSED.
Kazu Hirata [Wed, 3 Dec 2003 03:25:36 +0000 (03:25 +0000)]
* emultempl/beos.em: Remove ARGSUSED.

20 years ago * config/obj-elf.c: Remove ARGSUSED.
Kazu Hirata [Wed, 3 Dec 2003 03:20:13 +0000 (03:20 +0000)]
* config/obj-elf.c: Remove ARGSUSED.

20 years ago * alpha-opc.c: Remove ARGSUSED.
Kazu Hirata [Wed, 3 Dec 2003 03:15:14 +0000 (03:15 +0000)]
* alpha-opc.c: Remove ARGSUSED.
* i370-opc.c: Likewise.
* ppc-opc.c: Likewise.

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

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

20 years agoRename bfd_link_hash_entry field "next" -> "und_next".
Alan Modra [Tue, 2 Dec 2003 23:00:00 +0000 (23:00 +0000)]
Rename bfd_link_hash_entry field "next" -> "und_next".

20 years ago2003-12-02 Michael Chastain <mec.gnu@mindspring.com>
Michael Chastain [Tue, 2 Dec 2003 17:53:58 +0000 (17:53 +0000)]
2003-12-02  Michael Chastain  <mec.gnu@mindspring.com>

Partial fix for PR testsuite/1456.
* gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
to test_compiler_info.

20 years ago2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
Michael Chastain [Tue, 2 Dec 2003 17:03:30 +0000 (17:03 +0000)]
2003-11-28  Michael Chastain  <mec.gnu@mindspring.com>

* gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
from current versions of gdb.  Clean up regular expressions.
Delete redundant timeout case.

20 years ago2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
Michael Chastain [Tue, 2 Dec 2003 16:57:16 +0000 (16:57 +0000)]
2003-11-28  Michael Chastain  <mec.gnu@mindspring.com>

* gdb.objc/nondebug.exp: Match and KFAIL the output that comes
from current versions of gdb.  Clean up regular expressions.
Delete redundant timeout case.

20 years ago * dwarf2read.c (dwarf_info_offset, dwarf_abbrev_offset)
Daniel Jacobowitz [Tue, 2 Dec 2003 16:41:39 +0000 (16:41 +0000)]
* dwarf2read.c (dwarf_info_offset, dwarf_abbrev_offset)
(dwarf_line_offset, dwarf_pubnames_offset, dwarf_aranges_offset)
(dwarf_loc_offset, dwarf_macinfo_offset, dwarf_str_offset)
(dwarf_ranges_offset, dwarf_frame_offset, dwarf_eh_frame_offset):
Delete.
(dwarf2_read_section): Remove offset and size arguments.  Use
bfd_get_section_size_before_reloc and sectp->filepos.
(dwarf2_has_info): Clear section variables instead of offsets.
(dwarf2_locate_sections): Don't initialize the deleted variables.
(dwarf2_build_psymtabs): Update calls to dwarf2_read_section.
(dwarf2_build_psymtabs_easy): Likewise.
* dwarf2-frame.c (dwarf_frame_offset, dwarf_frame_size)
(dwarf_eh_frame_offset, dwarf_eh_frame_size): Remove extern
declarations.
(dwarf2_read_section): Update prototype.
(dwarf2_build_frame_info): Update calls to dwarf2_read_section.
Use bfd_get_section_size_before_reloc instead of global size
variables.

20 years agoUpdate docs to reflect fact the --undefined-symbols==ignore-all is no longer
Nick Clifton [Tue, 2 Dec 2003 15:38:46 +0000 (15:38 +0000)]
Update docs to reflect fact the --undefined-symbols==ignore-all is no longer
the default for shared libraries and dynamic executables.

20 years agoAdd alternative defintion of C_WEAKEXT for AIX 5.2
Nick Clifton [Tue, 2 Dec 2003 10:49:14 +0000 (10:49 +0000)]
Add alternative defintion of C_WEAKEXT for AIX 5.2

20 years agoAdd Romanian translation for bfd.
Nick Clifton [Tue, 2 Dec 2003 10:49:10 +0000 (10:49 +0000)]
Add Romanian translation for bfd.