platform/upstream/binutils.git
18 years ago2005-08-30 Phil Edwards <phil@codesourcery.com>
DJ Delorie [Thu, 1 Sep 2005 21:03:00 +0000 (21:03 +0000)]
2005-08-30  Phil Edwards  <phil@codesourcery.com>

* configure.in (*-*-vxworks*):  Add target-libstdc++-v3 to noconfigdirs.
* configure:  Regenerated.

18 years ago20050901 Paul Gilliam <pgilliam@us.ibm.com>
Paul Gilliam [Thu, 1 Sep 2005 18:09:41 +0000 (18:09 +0000)]
20050901  Paul Gilliam  <pgilliam@us.ibm.com>

        * ppc-tdep.h (struct gdbarch_tdep): Better explanation of using
        -1 for nonexistant registers.
        * rs6000-tdep.c (rs6000_register_reggroup_p): Don't assume that
        tdep->ppc_vr0_regnum and tdep->ppc_ev0_regnum are not -1.

18 years ago* config/tc-mips.c (append_insn): Correctly handle mips16 case
David Ung [Thu, 1 Sep 2005 16:35:41 +0000 (16:35 +0000)]
* config/tc-mips.c (append_insn): Correctly handle mips16 case
when the frags are different for the 2 instructions we want to
swap.  If the lengths of the 2 instructions are not the same, we
won't do the swap but emit an nop.

18 years ago * arm-linux-tdep.c (arm_linux_push_arguments): Delete.
Richard Earnshaw [Thu, 1 Sep 2005 12:51:23 +0000 (12:51 +0000)]
* arm-linux-tdep.c (arm_linux_push_arguments): Delete.
(arm_linux_init_abi): Don't register it.

18 years ago2005-09-01 Dmitry Diky <diwil@spec.ru>
Dmitry Diky [Thu, 1 Sep 2005 12:41:25 +0000 (12:41 +0000)]
2005-09-01  Dmitry Diky  <diwil@spec.ru>

* config/tc-msp430.c (msp430_operands): Emit dwarf2_emit_insn()
as appropriate. Change frag_variant() to frag_var() for relaxes.

18 years ago2005-09-01 Dmitry Diky <diwil@spec.ru>
Dmitry Diky [Thu, 1 Sep 2005 11:27:15 +0000 (11:27 +0000)]
2005-09-01  Dmitry Diky <diwil@spec.ru>

* elf32-msp430.c (msp430_elf_relax_delete_bytes): Do not adjust
local symbols and move it to
(msp430_elf_relax_adjust_locals): New function - walk over the
sections in the bfd and adjust relocations as necessary.

18 years ago * ld-cris: Skip tests unsuitable for testing target
Hans-Peter Nilsson [Thu, 1 Sep 2005 01:47:25 +0000 (01:47 +0000)]
* ld-cris: Skip tests unsuitable for testing target
cris-axis-linux-gnu.

18 years ago * gas/cris: Adjust all files for testing target
Hans-Peter Nilsson [Thu, 1 Sep 2005 00:33:11 +0000 (00:33 +0000)]
* gas/cris: Adjust all files for testing target
cris-axis-linux-gnu.

18 years ago*** empty log message ***
gdbadmin [Thu, 1 Sep 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Thu, 1 Sep 2005 00:00:07 +0000 (00:00 +0000)]
daily update

18 years ago* elf32-i386.c (elf_i386_check_relocs): Don't cast a unary &
DJ Delorie [Wed, 31 Aug 2005 23:45:46 +0000 (23:45 +0000)]
* elf32-i386.c (elf_i386_check_relocs): Don't cast a unary &
address operator, as that breaks GCC's strict aliasing rules.
(elf_i386_size_dynamic_sections): Avoid the need for type
punning.
* elf64-x86-64.c (elf_x86_64_check_relocs): Don't cast a unary
& address operator, as that breaks GCC's strict aliasing
rules.
(elf_x86_64_size_dynamic_sections): Avoid the need for type
punning.

18 years ago* symfile.c (symbol_file_command, set_initial_language)
Mark Kettenis [Wed, 31 Aug 2005 21:07:33 +0000 (21:07 +0000)]
* symfile.c (symbol_file_command, set_initial_language)
(symfile_bfd_open, get_section_index, add_symtab_fns)
(find_sym_fns): Reformat code and comments.  Tweak comments.

18 years ago* m68k-tdep.c (m68k_register_name): Use ARRAY_SIZE.
Mark Kettenis [Wed, 31 Aug 2005 20:48:21 +0000 (20:48 +0000)]
* m68k-tdep.c (m68k_register_name): Use ARRAY_SIZE.

18 years agoFix gcc-4.0.1 compile error for i386-freebsd4.10 target.
Jim Wilson [Wed, 31 Aug 2005 20:02:33 +0000 (20:02 +0000)]
Fix gcc-4.0.1 compile error for i386-freebsd4.10 target.
* i386fbsd-tdep.c (i386fbsd_sc_reg_offset): Make it non-static.

18 years agodaily update
Alan Modra [Wed, 31 Aug 2005 00:00:07 +0000 (00:00 +0000)]
daily update

18 years ago*** empty log message ***
gdbadmin [Wed, 31 Aug 2005 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago(i[3-7]86-*-vxworks): Match vxworks* instead.
Nick Clifton [Tue, 30 Aug 2005 16:06:00 +0000 (16:06 +0000)]
(i[3-7]86-*-vxworks):  Match vxworks* instead.

18 years ago2005-08-30 Paul Brook <paul@codesourcery.com>
Paul Brook [Tue, 30 Aug 2005 11:21:59 +0000 (11:21 +0000)]
2005-08-30  Paul Brook  <paul@codesourcery.com>

opcodes/
* arm-dis.c (thumb_opcodes): Disassemble sub(3) as subs.
gas/testsuite/
* gas/arm/thumb.d: Change "sub rn, rn, rn" to "subs rn, rn, rn".
* gas/arm/thumb32.d: Ditto.

18 years ago*** empty log message ***
gdbadmin [Tue, 30 Aug 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Tue, 30 Aug 2005 00:00:08 +0000 (00:00 +0000)]
daily update

18 years ago2005-08-29 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 29 Aug 2005 22:25:04 +0000 (22:25 +0000)]
2005-08-29  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/1247
* elfxx-ia64.c (allocate_fptr): Check undefined symbol.

18 years ago(_bfd_mips_elf_relocate_section): Initialise 'value' to avoid compile time
Nick Clifton [Mon, 29 Aug 2005 16:42:15 +0000 (16:42 +0000)]
(_bfd_mips_elf_relocate_section): Initialise 'value' to avoid compile time
warning message.

18 years ago(generic_force_reloc): Do not call S_FORCE_RELOC if there is no symbol.
Nick Clifton [Mon, 29 Aug 2005 16:30:14 +0000 (16:30 +0000)]
(generic_force_reloc): Do not call S_FORCE_RELOC if there is no symbol.

18 years ago* environ.c (unset_in_environ): Use strncmp instead of
Mark Kettenis [Mon, 29 Aug 2005 12:57:49 +0000 (12:57 +0000)]
* environ.c (unset_in_environ): Use strncmp instead of
DEPRECATED_STREQN.
* exec.c (exec_file_attach): Remove DEPRECATED_HPUX_TEXT_END.
* language.c (set_case_command, language_enum): Use strcmp instead
of DEPRECATED_STREQ.
* source.c (select_source_symtab): Sprinkle a few consts.  Use
strcmp instead of DEPRECATED_STREQ.

18 years ago* solib-svr4.c (svr4_current_sos, svr4_fetch_objfile_link_map):
Mark Kettenis [Mon, 29 Aug 2005 09:27:19 +0000 (09:27 +0000)]
* solib-svr4.c (svr4_current_sos, svr4_fetch_objfile_link_map):
Use XZALLOC and xzalloc instead of xmalloc where appropriate.

18 years agodaily update
Alan Modra [Mon, 29 Aug 2005 00:00:06 +0000 (00:00 +0000)]
daily update

18 years ago*** empty log message ***
gdbadmin [Mon, 29 Aug 2005 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Sun, 28 Aug 2005 00:00:06 +0000 (00:00 +0000)]
daily update

18 years ago*** empty log message ***
gdbadmin [Sun, 28 Aug 2005 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago (Variables, Symbols): Document the "<incomplete type>" message and
Eli Zaretskii [Sat, 27 Aug 2005 12:51:30 +0000 (12:51 +0000)]
(Variables, Symbols): Document the "<incomplete type>" message and
its reasons.

18 years ago * main.c (print_gdb_help): Don't advertise the (long non-existent)
Eli Zaretskii [Sat, 27 Aug 2005 12:05:01 +0000 (12:05 +0000)]
* main.c (print_gdb_help): Don't advertise the (long non-existent)
option --mapped.

* gdb.texinfo (File Options): Don't document --mapped, it's gone
since 19-Jan-2004.
(Files): Likewise.

18 years ago*** empty log message ***
gdbadmin [Sat, 27 Aug 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Sat, 27 Aug 2005 00:00:06 +0000 (00:00 +0000)]
daily update

18 years agogas/
Jan Beulich [Fri, 26 Aug 2005 15:51:15 +0000 (15:51 +0000)]
gas/
2005-08-26  Jan Beulich  <jbeulich@novell.com>

* config/tc-i386.c (intel_e09): Set JumpAbsolute when seeing a PTR-
qualified operand of a branch.
(intel_bracket_expr): Set JumpAbsolute here...
(intel_e11): ... rather than here.

gas/testsuite/
2005-08-26  Jan Beulich  <jbeulich@novell.com>

* gas/i386/intel.s: Adjust.
* gas/i386/intelok.s: Add two more insns.
* gas/i386/intelok.d: Adjust.

18 years agoopcodes/
Jan Beulich [Fri, 26 Aug 2005 15:33:43 +0000 (15:33 +0000)]
opcodes/
2005-08-26  Jan Beulich  <jbeulich@novell.com>

* i386-dis.c (intel_operand_size): New, broken out from OP_E for
re-use.
(OP_E): Call intel_operand_size, move call site out of mode
dependent code.
(OP_OFF): Call intel_operand_size if suffix_always. Remove
ATTRIBUTE_UNUSED from parameters.
(OP_OFF64): Likewise.
(OP_ESreg): Call intel_operand_size.
(OP_DSreg): Likewise.
(OP_DIR): Use colon rather than semicolon as separator of far
jump/call operands.

gas/testsuite/
2005-08-26  Jan Beulich  <jbeulich@novell.com>

* gas/i386/intelok.d: Adjust.

18 years agoRe-enable GAS for z8k-coff
Nick Clifton [Fri, 26 Aug 2005 09:47:49 +0000 (09:47 +0000)]
Re-enable GAS for z8k-coff

18 years agodaily update
Alan Modra [Fri, 26 Aug 2005 00:00:10 +0000 (00:00 +0000)]
daily update

18 years ago*** empty log message ***
gdbadmin [Fri, 26 Aug 2005 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago* gas/mips/mips.exp: Run DSP test.
Chao-ying Fu [Thu, 25 Aug 2005 18:21:47 +0000 (18:21 +0000)]
* gas/mips/mips.exp: Run DSP test.
* gas/mips/mips32-dsp.[sdl]: New test.

18 years ago* config/tc-mips.c (mips_set_options): Add ase_dsp for DSP instructions.
Chao-ying Fu [Thu, 25 Aug 2005 18:17:36 +0000 (18:17 +0000)]
* config/tc-mips.c (mips_set_options): Add ase_dsp for DSP instructions.
(mips_opts): Add -1 to initialize ase_dsp.
(file_ase_dsp): New variable for -mdsp.
(CPU_HAS_DSP): New define.
(validate_mips_insn): Add supports for 3, 4, 5, 6, 7, 8, 9, 0, ', :, @
operand formats.
(mips_ip): Add min_range and max_range for checking singed numbers.
Check ase_dsp to enable DSP instructions.
Handle 3, 4, 5, 6, 7, 8, 9, 0, ', :, @ operand formats.
(OPTION_DSP, OPTION_NO_DSP): New define.
(OPTION_COMPAT_ARCH_BASE): Change because of inserting DSP define.
(md_parse_option): Parse OPTION_DSP and OPTION_NO_DSP.
(mips_after_parse_args): Set ase_dsp based on CPU.
(s_mipsset): Handle ".set dsp" and ".set nodsp".
(mips_elf_final_processing): Remind of adding new flag for DSP ASE.
(md_show_usage): Show usage of -mdsp and -mno-dsp.

18 years ago* mips-opc.c (WR_a, RD_a, MOD_a, DSP_VOLA, D32): New define.
Chao-ying Fu [Thu, 25 Aug 2005 18:12:44 +0000 (18:12 +0000)]
* mips-opc.c (WR_a, RD_a, MOD_a, DSP_VOLA, D32): New define.
(mips_builtin_opcodes): Add DSP instructions.
* mips-dis.c (mips_arch_choices): Enable INSN_DSP for mips32, mips32r2,
mips64, mips64r2.
(print_insn_args): Add supports for 3, 4, 5, 6, 7, 8, 9, 0, :, ', @
operand formats.

18 years ago* mips.h (OP_SH_DSPACC, OP_MASK_DSPACC, OP_SH_DSPACC_S,
Chao-ying Fu [Thu, 25 Aug 2005 18:09:24 +0000 (18:09 +0000)]
* mips.h (OP_SH_DSPACC, OP_MASK_DSPACC, OP_SH_DSPACC_S,
OP_MASK_DSPACC_S, OP_SH_DSPSFT, OP_MASK_DSPSFT, OP_SH_DSPSFT_7,
OP_MASK_DSPSFT_7, OP_SH_SA3, OP_MASK_SA3, OP_SH_SA4, OP_MASK_SA4,
OP_SH_IMM8, OP_MASK_IMM8, OP_SH_IMM10, OP_MASK_IMM10, OP_SH_WRDSP,
OP_MASK_WRDSP, OP_SH_RDDSP, OP_MASK_RDDSP): New define.
Document 3, 4, 5, 6, 7, 8, 9, 0, :, ', @ operand formats for DSP
instructions.
(INSN_DSP): New define for DSP ASE.

18 years ago * elf32-sh.c (sh_elf_get_flags_from_mach): Fix off-by-one error.
Kaz Kojima [Thu, 25 Aug 2005 05:10:22 +0000 (05:10 +0000)]
* elf32-sh.c (sh_elf_get_flags_from_mach): Fix off-by-one error.

18 years ago2005-08-24 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 25 Aug 2005 02:32:11 +0000 (02:32 +0000)]
2005-08-24  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/1208
* elf-hppa.h (elf_hppa_relocate_section): Print out the name
of unresolvable relocation.
* elf-m10300.c (mn10300_elf_relocate_section): Likewise.
* elf32-arm.c (elf32_arm_relocate_section): Likewise.
* elf32-i386.c (elf_i386_relocate_section): Likewise.
* elf32-m32r.c (m32r_elf_relocate_section): Likewise.
* elf32-m68k.c (elf_m68k_relocate_section): Likewise.
* elf32-s390.c (elf_s390_relocate_section): Likewise.
* elf32-sh.c (sh_elf_relocate_section): Likewise.
* elf32-xtensa.c (elf_xtensa_relocate_section): Likewise.
* elf64-s390.c (elf_s390_relocate_section): Likewise.
* elf64-sh64.c (sh_elf64_relocate_section): Likewise.
* elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise.
* elfxx-sparc.c (_bfd_sparc_elf_relocate_section): Likewise.

18 years ago*** empty log message ***
gdbadmin [Thu, 25 Aug 2005 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Thu, 25 Aug 2005 00:00:06 +0000 (00:00 +0000)]
daily update

18 years ago*** empty log message ***
gdbadmin [Wed, 24 Aug 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Wed, 24 Aug 2005 00:00:06 +0000 (00:00 +0000)]
daily update

18 years agoSync from gcc sources:
Richard Earnshaw [Tue, 23 Aug 2005 18:13:01 +0000 (18:13 +0000)]
Sync from gcc sources:
        * Makefile.def (libssp): Add to lang_env_dependencies.
        * Makefile.in: Regenerate.

18 years ago* config/tc-mips.c (mips_cpu_info_table): Add 5kf to the table of
David Ung [Tue, 23 Aug 2005 11:32:42 +0000 (11:32 +0000)]
* config/tc-mips.c (mips_cpu_info_table): Add 5kf to the table of
cpu names.

18 years ago* mips16-opc.c (mips16_opcodes): Add the MIPS16e jalrc/jrc
David Ung [Tue, 23 Aug 2005 11:06:10 +0000 (11:06 +0000)]
* mips16-opc.c (mips16_opcodes): Add the MIPS16e jalrc/jrc
instructions to the table.

18 years ago PR 1036
Alan Modra [Tue, 23 Aug 2005 06:18:45 +0000 (06:18 +0000)]
PR 1036
* config/tc-ppc.c (ppc_symbol_chars): Add '%' and '['.

18 years ago * configure.tgt (*-*-vxworks): Match vxworks* instead.
Alan Modra [Tue, 23 Aug 2005 03:23:12 +0000 (03:23 +0000)]
* configure.tgt (*-*-vxworks):  Match vxworks* instead.

18 years agodaily update
Alan Modra [Tue, 23 Aug 2005 00:00:08 +0000 (00:00 +0000)]
daily update

18 years ago*** empty log message ***
gdbadmin [Tue, 23 Aug 2005 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

18 years agogas/
Jan Beulich [Mon, 22 Aug 2005 12:37:37 +0000 (12:37 +0000)]
gas/
2005-08-22  Jan Beulich  <jbeulich@novell.com>

* config/tc-i386.c (object_64bit): New.
(i386_target_format): Initialize it.
(output_disp): Use object_64bit for relocation type determination.
(output_imm): Likewise.
(i386_validate_fix): Likewise.
(tc_gen_reloc): Likewise.
(lex_got): Likewise. Remove static mode_name. Change array size
of gotrel's rel field, and adjust its initializer. Adjust diagnostic.
(x86_cons): Use object_64bit for deciding whether quad fields can
have relocations.

gas/testsuite/
2005-08-22  Jan Beulich  <jbeulich@novell.com>

* gas/i386/mixed-mode-reloc.s, gas/i386/mixed-mode-reloc32.d,
gas/i386/mixed-mode-reloc64.d: New.
* gas/i386/i386.exp: Run new tests.

18 years ago*** empty log message ***
gdbadmin [Mon, 22 Aug 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Mon, 22 Aug 2005 00:00:05 +0000 (00:00 +0000)]
daily update

18 years ago* doublest.c (floatformat_mantissa): Use xsnprintf instead of
Mark Kettenis [Sun, 21 Aug 2005 16:53:05 +0000 (16:53 +0000)]
* doublest.c (floatformat_mantissa): Use xsnprintf instead of
sprintf.

18 years ago* vaxobsd-tdep.c: New file.
Mark Kettenis [Sun, 21 Aug 2005 15:51:41 +0000 (15:51 +0000)]
* vaxobsd-tdep.c: New file.
* config/vax/obsd.mt (TDEPFILES): Add vaxobsd-tdep.o.
* Makefile.in (vaxobsd-tdep.o): New dependency.

18 years ago* ppcobsd-tdep.c: Include "frame.h" and "frame-unwind.h". Don't
Mark Kettenis [Sun, 21 Aug 2005 10:47:48 +0000 (10:47 +0000)]
* ppcobsd-tdep.c: Include "frame.h" and "frame-unwind.h".  Don't
include "tramp-frame.h".
(ppcobsd_sigtramp_cache_init): Remove function.
(ppcobsd_sigtramp): Remove variable.
(ppcobsd_page_size, ppcobsd_sigreturn_offset): New variables.
(ppcobsd_sigtramp_p): New function.
(ppcobsd_sigtramp_frame_cache, ppcobsd_sigtramp_frame_this_id)
(ppcobsd_sigtramp_frame_prev_register): New functions.
(ppcobsd_sigtramp_frame_unwind): New variable.
(ppcobsd_sigtramp_frame_sniffer): New function.
(ppcobsd_init_abi): Adjust to register new sigtramp sniffer
instead of the old one.
* Makefile.in (ppcobsd-tdep.o): Update dependencies.

18 years ago* infcall.c (call_function_by_hand): For
Mark Kettenis [Sun, 21 Aug 2005 09:34:19 +0000 (09:34 +0000)]
* infcall.c (call_function_by_hand): For
RETURN_VALUE_ABI_RETURNS_ADDRESS and
RETURN_VALUE_ABI_PRESERVES_ADDRESS, use gdbarch_return_value to
get return value.

18 years ago* valarith.c (value_equal, value_less): Avoid compiler bug on
Mark Kettenis [Sun, 21 Aug 2005 09:33:11 +0000 (09:33 +0000)]
* valarith.c (value_equal, value_less): Avoid compiler bug on
systems where `long double' values are returned in static storage.

18 years agodaily update
Alan Modra [Sun, 21 Aug 2005 00:00:07 +0000 (00:00 +0000)]
daily update

18 years ago*** empty log message ***
gdbadmin [Sun, 21 Aug 2005 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago*** empty log message ***
gdbadmin [Sat, 20 Aug 2005 00:00:08 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Sat, 20 Aug 2005 00:00:07 +0000 (00:00 +0000)]
daily update

18 years ago*** empty log message ***
gdbadmin [Fri, 19 Aug 2005 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Fri, 19 Aug 2005 00:00:07 +0000 (00:00 +0000)]
daily update

18 years ago * ld-mips-elf/multi-got-1.d: Adjust for new ld behavior.
David Daney [Thu, 18 Aug 2005 16:46:22 +0000 (16:46 +0000)]
* ld-mips-elf/multi-got-1.d: Adjust for new ld behavior.
* ld-mips-elf/multi-got-no-shared.d: Likewise.
* ld-mips-elf/rel32-n32.d: Likewise.
* ld-mips-elf/rel32-o32.d: Likewise.
* ld-mips-elf/rel64.d: Likewise.

18 years ago* stack.c: Reformat. Improve comments. Include "valprint.h".
Mark Kettenis [Thu, 18 Aug 2005 13:26:41 +0000 (13:26 +0000)]
* stack.c: Reformat.  Improve comments.  Include "valprint.h".
(args_info, locals_info, backtrace_command, backtrace_command_1)
(backtrace_full_command, frame_info, frame_command, down_command)
(down_silently_base, down_silently_command, up_command)
(up_silently_base, up_silently_command, parse_frame_specification)
(current_frame_command, print_frame_args_vars, catch_info)
(args_plus_locals_info), print_frame_label_vars)
(print_block_frame_labels, print_block_frame_locals)
(func_command): Remove prototypes.
(print_stack_frame, backtrace_command_stub, backtrace_command,
backtrace_full_command, print_frame_args, print_frame_arg_vars,
print_args_stub, func_command): Remove redundant casts.
(addressprint): Remove extern declaration.
(frame_command): Make static.
(struct print_stack_frame_args, struct print_args_args): Rename
`fi' member to `frame'.
(print_stack_frame, print_frame_nameless_args, print_frame_args)
(set_current_sal_from_frame, print_frame_info, print_frame)
(show_stack_frame, print_block_frame_locals)
(print_frame_local_vars, print_frame_label_vars)
(print_frame_arg_vars, select_and_print_frame): Rename `fi'
argument to `frame'.
(func_command): Rename `fp' variable to `frame'.
(get_language): Restructure.
* Makefile.in (stack.o): Update dependencies.

18 years ago2005-08-18 Christian Groessler <chris@groessler.org>
Christian Groessler [Thu, 18 Aug 2005 11:54:33 +0000 (11:54 +0000)]
2005-08-18  Christian Groessler  <chris@groessler.org>

* config/tc-h8300.h: Remove TC_RELOC_MANGLE/tc_reloc_mangle.
* config/tc-mcore.h: Likewise.
* config/tc-z8k.h: Likewise.
* config/tc-z8k.c: Likewise.
* config/tc-sh.h: Remove TC_RELOC_MANGLE and
sh_coff_reloc_mangle declaration.
* config/tc-sh.c: (md_apply_fix): Fix comment for case
BFD_RELOC_SH_USES.

18 years ago * config/tc-sh64.c (sh64_target_format): Check preset_target_arch
Kaz Kojima [Thu, 18 Aug 2005 11:21:16 +0000 (11:21 +0000)]
* config/tc-sh64.c (sh64_target_format): Check preset_target_arch
to confirm that no ISA is specified.

18 years ago * config.bfd: Add bfd_elf32_shnbsd_vec and bfd_elf32_shlnbsd_vec
Kaz Kojima [Thu, 18 Aug 2005 11:06:58 +0000 (11:06 +0000)]
* config.bfd: Add bfd_elf32_shnbsd_vec and bfd_elf32_shlnbsd_vec
to targ_selvecs for sh5*-*-netbsd* and sh64*-*-netbsd*.

18 years ago(relax_segment): Count the number of frags being processed and use this to
Nick Clifton [Thu, 18 Aug 2005 09:26:16 +0000 (09:26 +0000)]
(relax_segment): Count the number of frags being processed and use this to
compute a maximum limit on the number of iterations that will be allowed when
attempting to relax the segment.

18 years ago * ld-d10v/default_layout.d: Adjust for section removal.
Alan Modra [Thu, 18 Aug 2005 07:51:08 +0000 (07:51 +0000)]
* ld-d10v/default_layout.d: Adjust for section removal.
* ld-elf/empty.s: Define "main".
* ld-elf/frame.exp: Don't run for hppa64 and v850.
* ld-elf/group1.d: xfail various targets.
* ld-elf/merge.d: Likewise.
* ld-elf/merge2.d: Likewise.
* ld-elf/warn1.d: Likewise.
* ld-scripts/defined2.d: Likewise.
* ld-scripts/defined3.d: Likewise.
* ld-scripts/empty-aligned.d: Likewise.
* ld-scripts/size-2.d: Likewise.
* ld-scripts/weak.exp: Likewise.
* ld-selective/sel-dump.exp: Likewise.
* ld-undefined/weak-undef.exp: Likewise.

18 years ago * scripttempl/elf.sc: Remove commented out defines.
Alan Modra [Thu, 18 Aug 2005 07:15:17 +0000 (07:15 +0000)]
* scripttempl/elf.sc: Remove commented out defines.

18 years agoRemove a29k files.
Alan Modra [Thu, 18 Aug 2005 03:59:24 +0000 (03:59 +0000)]
Remove a29k files.

18 years agoRemove a29k support.
Alan Modra [Thu, 18 Aug 2005 03:51:51 +0000 (03:51 +0000)]
Remove a29k support.

18 years ago * elf-m10300.c (_bfd_mn10300_elf_adjust_dynamic_symbol): Warn on
Alan Modra [Thu, 18 Aug 2005 01:28:26 +0000 (01:28 +0000)]
* elf-m10300.c (_bfd_mn10300_elf_adjust_dynamic_symbol): Warn on
zero size dynamic variables.
* elf32-arm.c (elf32_arm_adjust_dynamic_symbol): Likewise.
* elf32-cris.c (elf_cris_adjust_dynamic_symbol): Likewise.
* elf32-hppa.c (elf32_hppa_adjust_dynamic_symbol): Likewise.
* elf32-i370.c (i370_elf_adjust_dynamic_symbol): Likewise.
* elf32-i386.c (elf_i386_adjust_dynamic_symbol): Likewise.
* elf32-m32r.c (m32r_elf_adjust_dynamic_symbol): Likewise.
* elf32-m68k.c (elf_m68k_adjust_dynamic_symbol): Likewise.
* elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Likewise.
* elf32-s390.c (elf_s390_adjust_dynamic_symbol): Likewise.
* elf32-sh.c (sh_elf_adjust_dynamic_symbol): Likewise.
* elf32-vax.c (elf_vax_adjust_dynamic_symbol): Likewise.
* elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Likewise.
* elf64-s390.c (elf_s390_adjust_dynamic_symbol): Likewise.
* elf64-sh64.c (sh64_elf64_adjust_dynamic_symbol): Likewise.
* elf64-x86-64.c (elf64_x86_64_adjust_dynamic_symbol): Likewise.
* elfxx-sparc.c (_bfd_sparc_elf_adjust_dynamic_symbol): Likewise.

18 years agodaily update
Alan Modra [Thu, 18 Aug 2005 00:00:09 +0000 (00:00 +0000)]
daily update

18 years ago*** empty log message ***
gdbadmin [Thu, 18 Aug 2005 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago * NEWS (ms1-elf): New target.
Kevin Buettner [Wed, 17 Aug 2005 23:02:00 +0000 (23:02 +0000)]
* NEWS (ms1-elf): New target.

18 years ago* m68k-tdep.c (m68k_return_value): Properly return contents of
Mark Kettenis [Wed, 17 Aug 2005 18:34:17 +0000 (18:34 +0000)]
* m68k-tdep.c (m68k_return_value): Properly return contents of
structures passed in memory.

18 years agomerge from gcc
DJ Delorie [Wed, 17 Aug 2005 18:03:42 +0000 (18:03 +0000)]
merge from gcc

18 years ago2005-08-17 Christian Groessler <chris@groessler.org>
Christian Groessler [Wed, 17 Aug 2005 15:52:29 +0000 (15:52 +0000)]
2005-08-17  Christian Groessler  <chris@groessler.org>

* Makefile.tpl: (USUAL_CC_FOR_TARGET): Add missing trailing slash.
* Makefile.in: Regenerate.

18 years ago* infcmd.c (print_return_value): Move CHECK_TYPEDEF up. Deal with
Mark Kettenis [Wed, 17 Aug 2005 15:08:33 +0000 (15:08 +0000)]
* infcmd.c (print_return_value): Move CHECK_TYPEDEF up.  Deal with
RETURN_VALUE_ABI_PRESERVED_ADDRESS.

18 years agobfd/
H.J. Lu [Wed, 17 Aug 2005 14:28:01 +0000 (14:28 +0000)]
bfd/

2005-08-17  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/1179
* dwarf2.c (_bfd_dwarf2_find_nearest_line): Use section lma
instead of vma.
(_bfd_dwarf2_find_line): Likewise.

binutils/

2005-08-17  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/1179
* objdump.c (disassemble_bytes): Don't adjust
adjust_section_vma.
(adjust_addresses): Don't adjust vma for debugging section.
Adjust lma only for relocatable files.
(dump_bfd): Tell adjust_addresses if it is a relocatable file.

18 years ago * lib/ld-lib.exp (default_ld_compile): Append $cc arguments after
Jakub Jelinek [Wed, 17 Aug 2005 13:36:00 +0000 (13:36 +0000)]
* lib/ld-lib.exp (default_ld_compile): Append $cc arguments after
$CFLAGS instead of prepending them.

18 years ago * elf64-mmix.c (mmix_elf_add_symbol_hook): Mark reg section
Alan Modra [Wed, 17 Aug 2005 13:29:55 +0000 (13:29 +0000)]
* elf64-mmix.c (mmix_elf_add_symbol_hook): Mark reg section
SEC_LINKER_CREATED.
(mmix_elf_final_link): Check that section hasn't already been
removed before removing.
* mmo.c (mmo_scan): Mark reg contents section SEC_LINKER_CREATED.
(mmo_canonicalize_symtab): Likewise for reg section.

18 years ago * ldgram.y (vers_defns): Don't lose pattern list before
Jakub Jelinek [Wed, 17 Aug 2005 10:08:30 +0000 (10:08 +0000)]
* ldgram.y (vers_defns): Don't lose pattern list before
extern NAME {}.  Handle global, local and extern symbol names.
ld/testsuite/
* ld-elfvers/vers.exp: Add a new test, vers30.
* ld-elfvers/vers30.c: New file.
* ld-elfvers/vers30.map: New file.
* ld-elfvers/vers30.ver: New file.
* ld-elfvers/vers30.dsym: New file.

18 years agobfd/
Alan Modra [Wed, 17 Aug 2005 10:04:33 +0000 (10:04 +0000)]
bfd/
* elf32-cris.c (elf_cris_adjust_gotplt_to_got): Move assert later.
* elfxx-mips.c (_bfd_mips_elf_hide_symbol): Cope with being called
without any got section.

ld/testsuite/
* ld-alpha/tlsbin.rd: Update.
* ld-alpha/tlsbinr.rd: Update.
* ld-cris/locref1.d: Update.
* ld-cris/locref2.d: Update.
* ld-i386/tlsbin.rd: Update.
* ld-ia64/tlsbin.rd: Update.
* ld-powerpc/tlsexe.r: Update.
* ld-powerpc/tlsexe32.r: Update.
* ld-powerpc/tlsexetoc.r: Update.
* ld-s390/tlsbin.rd: Update.
* ld-s390/tlsbin_64.rd: Update.
* ld-sparc/tlssunbin32.rd: Update.
* ld-sparc/tlssunbin64.rd: Update.
* ld-x86-64/tlsbin.rd: Update.

18 years agogas
Danny Smith [Wed, 17 Aug 2005 09:07:35 +0000 (09:07 +0000)]
gas
Add ChangeLog entry missed in last commit.

18 years agobfd
Danny Smith [Wed, 17 Aug 2005 08:58:01 +0000 (08:58 +0000)]
bfd
* cofflink.c (_bfd_coff_generic_relocate_section): Correct
comment.

gas
* config/obj-coff.c (obj_coff_weak): Set auxiliary record
of NT weak externals to IMAGE_WEAK_EXTERN_SEARCH_NOLIBRARY.

18 years ago* ppc-sysv-tdep.c (do_ppc_sysv_return_value): Fix the code that
Mark Kettenis [Wed, 17 Aug 2005 07:44:13 +0000 (07:44 +0000)]
* ppc-sysv-tdep.c (do_ppc_sysv_return_value): Fix the code that
deals with the broken GCC convention.

18 years ago * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_after_allocation):
Kaz Kojima [Wed, 17 Aug 2005 05:13:13 +0000 (05:13 +0000)]
* emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_after_allocation):
Don't increment rel_count of .cranges here.  Set rawsize of .cranges.

18 years ago2005-08-17 Kelley Cook <kcook@gcc.gnu.org>
Kelley Cook [Wed, 17 Aug 2005 03:46:41 +0000 (03:46 +0000)]
2005-08-17  Kelley Cook  <kcook@gcc.gnu.org>

* strverscmp.c: Update FSF address.
* testsuite/Makefile.in: Likewise.
* testsuite/test-demangle.c: Likewise.
* testsuite/test-pexecute.c: Likewise.

18 years ago * elflink.c (_bfd_elf_define_linkage_sym): Don't call
Alan Modra [Wed, 17 Aug 2005 03:07:12 +0000 (03:07 +0000)]
* elflink.c (_bfd_elf_define_linkage_sym): Don't call
bfd_elf_link_record_dynamic_symbol.  Call elf_backend_hide_symbol.
(_bfd_elf_link_renumber_dynsyms): Formatting.
(struct elf_gc_sweep_symbol_info): New.
(elf_gc_sweep_symbol): Rewrite.
(elf_gc_sweep): Adjust params and elf_gc_sweep_symbol call.
Call _bfd_elf_link_renumber_dynsyms.
(bfd_elf_gc_sections): Adjust elf_gc_sweep call.

18 years agodaily update
Alan Modra [Wed, 17 Aug 2005 00:00:06 +0000 (00:00 +0000)]
daily update

18 years ago*** empty log message ***
gdbadmin [Wed, 17 Aug 2005 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***