binutils-gdb.git
18 years ago * ldlang.c (lang_size_sections): Call lang_reset_memory_regions
Daniel Jacobowitz [Wed, 17 May 2006 16:46:54 +0000 (16:46 +0000)]
* ldlang.c (lang_size_sections): Call lang_reset_memory_regions
before redoing one_lang_size_sections_pass.

18 years agoFix a typo.
Daniel Jacobowitz [Wed, 17 May 2006 14:57:33 +0000 (14:57 +0000)]
Fix a typo.

18 years ago * dwarf2-frame.c: Include "value.h".
Daniel Jacobowitz [Wed, 17 May 2006 14:53:02 +0000 (14:53 +0000)]
* dwarf2-frame.c: Include "value.h".
(read_reg): Use unpack_long and register_type.
* Makefile.in (dwarf2-frame.o): Update.

18 years ago * remote-rdp.c: Deleted.
Daniel Jacobowitz [Wed, 17 May 2006 14:40:39 +0000 (14:40 +0000)]
* remote-rdp.c: Deleted.
* NEWS: Mention removal of remote-rdp.c.

* Makefile.in (ALLDEPFILES): Remove remote-rdp.c.
(remote-rdp.o): Delete.
* README: Remove description of remote-rdp.c.
* arm-tdep.c (arm_breakpoint_from_pc): Remove obsolete comment.
* config/arm/embed.mt (TDEPFILES): Remove remote-rdp.o.

18 years ago * ld-elfweak/size2.d, ld-elfweak/size2a.s, ld-elfweak/size2b.s:
Thiemo Seufer [Wed, 17 May 2006 11:30:24 +0000 (11:30 +0000)]
* ld-elfweak/size2.d, ld-elfweak/size2a.s, ld-elfweak/size2b.s:
Add __start as entry symbol.

18 years ago * elf.c (assign_file_positions_for_segments): Split into..
Alan Modra [Wed, 17 May 2006 05:09:24 +0000 (05:09 +0000)]
* elf.c (assign_file_positions_for_segments): Split into..
(assign_file_positions_for_load_sections): ..this, and..
(assign_file_positions_for_non_load_sections): ..this new function,..
(assign_file_positions_except_relocs): ..writing program headers here.

18 years ago * elflink.c (elf_gc_sweep): Don't specially keep non-alloc,
Alan Modra [Wed, 17 May 2006 00:36:30 +0000 (00:36 +0000)]
* elflink.c (elf_gc_sweep): Don't specially keep non-alloc,
non-load sections if they have relocs.

18 years agodaily update
Alan Modra [Wed, 17 May 2006 00:00:05 +0000 (00:00 +0000)]
daily update

18 years ago*** empty log message ***
gdbadmin [Wed, 17 May 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago * ser-e7kpc.c: Include <time.h> if it is available.
Daniel Jacobowitz [Tue, 16 May 2006 20:22:02 +0000 (20:22 +0000)]
* ser-e7kpc.c: Include <time.h> if it is available.

18 years ago * version.in (version.in): Bump version number to 6.5.50 now
Joel Brobecker [Tue, 16 May 2006 19:43:57 +0000 (19:43 +0000)]
    * version.in (version.in): Bump version number to 6.5.50 now
        that the gdb-6.5 branch has been created.
        * NEWS: Create a new section for changes that are included
        since gdb-6.5. Name the "since gdb-6.4" section as the "in gdb-6.5"
        section.

18 years agogdb/ChangeLog:
Jim Blandy [Tue, 16 May 2006 17:55:21 +0000 (17:55 +0000)]
gdb/ChangeLog:
2006-05-16  Jim Blandy  <jimb@codesourcery.com>

* MAINTAINERS (Authorized Committers): Gaius Mulley has accepted
the Global Maintainers' invitation to be an authorized committer
for the Modula-2 support.

18 years ago * ld-elf/orphan.ld: Add placement for MIPS .reginfo section.
Thiemo Seufer [Tue, 16 May 2006 13:58:51 +0000 (13:58 +0000)]
* ld-elf/orphan.ld: Add placement for MIPS .reginfo section.

18 years ago* config/tc-avr.h (TC_VALIDATE_FIX): Allow fixups for immediate constant values.
Nick Clifton [Tue, 16 May 2006 08:23:43 +0000 (08:23 +0000)]
* config/tc-avr.h (TC_VALIDATE_FIX): Allow fixups for immediate constant values.

18 years ago*** empty log message ***
gdbadmin [Tue, 16 May 2006 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Tue, 16 May 2006 00:00:05 +0000 (00:00 +0000)]
daily update

18 years ago* ppcobsd-nat.c: Include "gdb_assert.h".
Mark Kettenis [Mon, 15 May 2006 21:53:20 +0000 (21:53 +0000)]
* ppcobsd-nat.c: Include "gdb_assert.h".
[PT_GETFPREGS] (getfpregs_supplies): New function.
(ppcobsd_fetch_registers, ppcobsd_fetch_registers): Hanlde OS
versions that have PT_GETFPREGS.
(_initialize_ppcobsd_nat) [PT_GETFPREGS]: Initialize
ppcobsd_fpreg_offsets.
* ppcobsd-tdep.h (ppcobsd_fpreg_offsets, ppcobsd_fpregset):
Declare.
* ppcobsd-tdep.c (ppcobsd_fpreg_offsets, ppcobsd_fpregset): New
variables.
(_initialize_ppcobsd_tdep): Initialize ppcobsd_fpreg_offsets.
* Makefile.in (ppcobsd-nat.o): Update dependencies.

18 years ago* mips32-dsp.s: Add some tests for shra_r.ph, shrav_r.ph, shra_r.w,
Chao-ying Fu [Mon, 15 May 2006 20:34:56 +0000 (20:34 +0000)]
* mips32-dsp.s: Add some tests for shra_r.ph, shrav_r.ph, shra_r.w,
shrav_r.w.

18 years ago* dsp.igen (do_ph_shift, do_w_shra): Fix bugs for rounding instructions.
Chao-ying Fu [Mon, 15 May 2006 20:34:18 +0000 (20:34 +0000)]
* dsp.igen (do_ph_shift, do_w_shra): Fix bugs for rounding instructions.

18 years ago2006-05-15 Paul Brook <paul@codesourcery.com>
Paul Brook [Mon, 15 May 2006 19:57:35 +0000 (19:57 +0000)]
2006-05-15  Paul Brook  <paul@codesourcery.com>

bfd/
* cpu-arm.c (bfd_is_arm_mapping_symbol_name): Rename ...
(bfd_is_arm_special_symbol_name): ... to this.  Add type argument.
Check symbol name is of specified type.
* elf32-arm.c (elf32_arm_is_target_special_symbol,
arm_elf_find_function, elf32_arm_output_symbol_hook): Use
bfd_is_arm_special_symbol_name.
* bfd-in.h (BFD_ARM_SPECIAL_SYM_TYPE_MAP,
BFD_ARM_SPECIAL_SYM_TYPE_TAG, BFD_ARM_SPECIAL_SYM_TYPE_OTHER,
BFD_ARM_SPECIAL_SYM_TYPE_ANY): Define.
(bfd_is_arm_mapping_symbol_name): Remove prototype.
(bfd_is_arm_special_symbol_name): Add prototype.
* bfd-in2.h: Regenerate.
gas/
* config/tc-arm.c (arm_adjust_symtab): Use
bfd_is_arm_special_symbol_name.
ld/testsuite/
* ld-arm/arm-be8.d: New test.
* ld-arm/arm-be8.s: New test.
* ld-arm/arm-elf.exp: Add arm-be8.

18 years ago * configure.ac: Use GCC_HEADER_STDINT.
Daniel Jacobowitz [Mon, 15 May 2006 17:11:59 +0000 (17:11 +0000)]
* configure.ac: Use GCC_HEADER_STDINT.
* acinclude.m4: Include stdint.m4.
* Makefile.in (gdb_stdint_h): Define.
(distclean): Remove gdb_stdint.h.
(Makefile, stamp-h): Update rules to generate only the correct
files.
(gdb_stdint.h, stamp-int): New rules.
* config.in, configure: Regenerated.

18 years agobfd:
Bob Wilson [Mon, 15 May 2006 17:03:15 +0000 (17:03 +0000)]
bfd:
        * elf32-xtensa.c (check_loop_aligned): Fix reversed check for
        undefined opcode.  Clean up assertions.
        (narrow_instruction, widen_instruction): Remove "do_it" parameters.
        Factor most of the code into separate functions....
        (can_narrow_instruction, can_widen_instruction): New.
        (prev_instr_is_a_loop): New.
        (compute_ebb_proposed_actions): Combine error handling code for
        decode errors.  Replace call to insn_decode_len with inline code.
        Use can_narrow_instruction and can_widen_instruction.  Handle errors
        from call to xtensa_opcode_is_loop.
        (relax_section): Adjust calls to narrow_instruction and
        widen_instruction.
gas:
        * config/tc-xtensa.c (is_direct_call_opcode, is_branch_jmp_to_next,
        xg_assemble_vliw_tokens, xtensa_mark_narrow_branches,
        xtensa_fix_short_loop_frags, is_local_forward_loop, relax_frag_immed):
        Handle errors from calls to xtensa_opcode_is_* functions.

18 years ago * valprint.c: Include "exceptions.h".
Daniel Jacobowitz [Mon, 15 May 2006 16:53:38 +0000 (16:53 +0000)]
* valprint.c: Include "exceptions.h".
(val_print): If something goes wrong while printing, supply an
error message.

18 years ago2006-05-15 Peter O'Gorman <gdb-patches@mlists.thewrittenword.com>
Daniel Jacobowitz [Mon, 15 May 2006 15:50:14 +0000 (15:50 +0000)]
2006-05-15  Peter O'Gorman  <gdb-patches@mlists.thewrittenword.com>

* source.c (get_current_source_symtab_and_line)
(set_current_source_symtab_and_line): Use { 0 }.
* cli/cli-cmds.c (list_command): Likewise.

18 years ago2006-05-15 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 15 May 2006 14:50:38 +0000 (14:50 +0000)]
2006-05-15  H.J. Lu  <hongjiu.lu@intel.com>

* dwarf.c (display_debug_frames): Don't return on ZERO
terminator.

18 years ago(Algorithms): Correct spelling and punctuation.
Nick Roberts [Mon, 15 May 2006 04:39:03 +0000 (04:39 +0000)]
(Algorithms): Correct spelling and punctuation.
(Releasing GDB, Testsuite): Remove details for including DejaGnu.

18 years ago*** empty log message ***
Nick Roberts [Mon, 15 May 2006 04:37:48 +0000 (04:37 +0000)]
*** empty log message ***

18 years ago PR 2658
Alan Modra [Mon, 15 May 2006 02:22:20 +0000 (02:22 +0000)]
PR 2658
* elf32-ppc.c (ppc_elf_relax_section): Don't segfault on non-pic
-shared link.

18 years ago2006-05-14 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 15 May 2006 00:48:44 +0000 (00:48 +0000)]
2006-05-14  H.J. Lu  <hongjiu.lu@intel.com>

* ld-elf/stab.d: Skip ia64-*-*.

18 years agodaily update
Alan Modra [Mon, 15 May 2006 00:00:07 +0000 (00:00 +0000)]
daily update

18 years ago*** empty log message ***
gdbadmin [Mon, 15 May 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago(gdbmi-send): Correct regexp for repeat commands.
Nick Roberts [Sun, 14 May 2006 22:27:26 +0000 (22:27 +0000)]
(gdbmi-send): Correct regexp for repeat commands.
(gdbmi): Use new variable name gdb-pc-address.
(gdbmi-frame-handler):  Use new variable name gdb-pc-address.
Check that a match has been found.

18 years ago*** empty log message ***
Nick Roberts [Sun, 14 May 2006 22:25:23 +0000 (22:25 +0000)]
*** empty log message ***

18 years ago [ gas/ChangeLog ]
Thiemo Seufer [Sun, 14 May 2006 15:35:22 +0000 (15:35 +0000)]
[ gas/ChangeLog ]
* config/tc-mips.c (macro_build): Test for currently active
mips16 option.
(mips16_ip): Reject invalid opcodes.

[ opcodes/ChangeLog ]
* mips16-opc.c (I1, I32, I64): New shortcut defines.
(mips16_opcodes): Change membership of instructions to their
lowest baseline ISA.

[ gas/testsuite/ChangeLog ]
* gas/mips/mips.exp: Run new tests.
* gas/mips/mips16e.s, gas/mips/mips16e.d, gas/mips/mips16e-64.s,
gas/mips/mips16e-64.d, gas/mips/mips16e-64.l: New tests.

18 years ago * gdb.texinfo (General Query Packets): Recommend not starting
Daniel Jacobowitz [Sun, 14 May 2006 15:09:51 +0000 (15:09 +0000)]
* gdb.texinfo (General Query Packets): Recommend not starting
new packets with qC and clarify.

18 years ago * config.sub, config.guess: Update from upstream sources.
Ben Elliston [Sun, 14 May 2006 00:51:19 +0000 (00:51 +0000)]
* config.sub, config.guess: Update from upstream sources.

18 years ago*** empty log message ***
gdbadmin [Sun, 14 May 2006 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Sun, 14 May 2006 00:00:06 +0000 (00:00 +0000)]
daily update

18 years agofixed spacing between name and email address.
Gaius Mulley [Sat, 13 May 2006 19:07:28 +0000 (19:07 +0000)]
fixed spacing between name and email address.

18 years agoremoved lengthy descriptions about function modifications.
Gaius Mulley [Sat, 13 May 2006 18:49:56 +0000 (18:49 +0000)]
removed lengthy descriptions about function modifications.

18 years agotidied up ChangeLog as per GNU Coding Standards.
Gaius Mulley [Sat, 13 May 2006 18:45:45 +0000 (18:45 +0000)]
tidied up ChangeLog as per GNU Coding Standards.

18 years agosplit up another line in excess of 80 characters
Gaius Mulley [Sat, 13 May 2006 16:16:13 +0000 (16:16 +0000)]
split up another line in excess of 80 characters

18 years agotidied up ChangeLogs (80 character line width), added reference
Gaius Mulley [Sat, 13 May 2006 16:03:04 +0000 (16:03 +0000)]
tidied up ChangeLogs (80 character line width), added reference
to gaius@glam.ac.uk included into gdb/MAINTAINERS

18 years ago2006-05-13 Gaius Mulley <gaius@glam.ac.uk>
Gaius Mulley [Sat, 13 May 2006 15:46:38 +0000 (15:46 +0000)]
2006-05-13  Gaius Mulley <gaius@glam.ac.uk>

* gdb/m2-lang.h: added function extern prototypes for m2_is_long_set
and get_long_set_bounds.
* gm2/m2-typeprint.c: This file has been completely
replaced to reflect the Modula-2 syntax rather than call the
c_print_type function.
(m2_print_type): walk the Modula-2 type tree.
(m2_type_name): added.
(m2_range): added.
(m2_typedef): added.
(m2_array): added.
(m2_pointer): added.
(m2_ref): added.
(m2_unknown): added.
(m2_union): added.
(m2_procedure): added.
(m2_print_bounds): added.
(m2_short_set): added.
(m2_is_long_set): added.
(m2_get_discrete_bounds): added.
(m2_is_long_set_of_type): added.
(m2_long_set): added.
(m2_record_fields): added.
(m2_enum): added.
* gdb/dwarf2read.c: added ability to detect the language Modula-2
and handle SET and CHAR types.
(read_set_type): added.
(process_die): call read_set_type.
(read_base_type): modifed signed/unsigned char handling for Modula-2.
(set_cu_language): added Modula-2 case clause.
* gdb/m2-valprint.c: complete replacement so that Modula-2 values are
printed rather than call the C language routines.
(print_function_pointer_address): added.
(get_long_set_bounds): added.
(m2_print_long_set): added.
(print_unpacked_pointer): added.
(print_variable_at_address): added.
(m2_val_print): replaced.

18 years ago*** empty log message ***
gdbadmin [Sat, 13 May 2006 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Sat, 13 May 2006 00:00:08 +0000 (00:00 +0000)]
daily update

18 years ago* ppcnbsd-tdep.h: Update copyright year. Include <stddef.h>
Mark Kettenis [Fri, 12 May 2006 20:53:15 +0000 (20:53 +0000)]
* ppcnbsd-tdep.h: Update copyright year.  Include <stddef.h>
(ppcnbsd_supply_reg, ppcnbsd_fill_reg, ppcnbsd_supply_fpreg)
(ppcnbsd_fill_fpreg): Remove prototypes.
(struct regset): Add forward declaration.
(ppcnbsd_gregset, ppcnbsd_fpregset): Extern declarations.
* ppcnbsd-tdep.c: Update copyright year.  Include "gdbtypes.h",
"regset.h" and "gdb_string.h".  Don't include "breakpoint.h",
"value.h", target.h and nbsd-tdep.h".  Reorder includes.
(REG_FIXREG_OFFSET, REG_LR_OFFSET, REG_CR_OFFSET, REG_XER_OFFSET)
(REG_CTR_OFFSET, REG_PC_OFFSET, SIZEOF_STRUCT_REG)
(FPREG_FPR_OFFSET, FPREG_FPSCR_OFFSET, SIZEOF_STRUCT_FPREG):
Remove macros.
(ppcnbsd_supply_reg, ppcnbsd_fill_reg, ppcnbsd_supply_fpreg)
(ppcnbsd_fill_fpreg): Remove functions.
(fetch_core_registers, fetch_elfcore_registers): Remove functions.
(ppcnbsd_core_fns, ppcnbsd_elfcore_fns): Remove variables.
(ppcnbsd_reg_offsets): New variable.
(ppcnbsd_gregset, ppcnbsd_fpregset): New variables.
(ppcnbsd_sigtramp_cache_init): Deal with new signal trampoline
introduced in NetBSD 2.0.
(ppcnbsd_sigtramp): Provide complete signal trampoline.
(ppcnbsd2_sigtramp): New variable.
(ppcnbsd_init_abi): Set svr4_fetch_link_map_offsets to
svr4_ilp32_fetch_link_map_offsets.  Set regset_from_core_section.
Add ppcnbs2_sigtramp unwinder.
(_initialize_ppcnbsd_tdep): Don't use deprecated_add_core_fns.
Initialize ppcnbsd_reg_offsets.
* ppcnbsd-nat.c: Update copyright year.  Reorder includes.
(getregs_supplies): Use regnum instead of regno.
(getfpregs_supplies): Likewise.
(ppcnbsd_fetch_inferior_registers): Likewise.  Call
ppc_supply_gregset and ppc_suppply_fpregset instead of
ppcnbsd_supply_reg and ppcnbsd_supply_fpreg
(ppcnbsd_store_inferior_registers): Likewise.  Call
ppc_collect_gregset and ppc_collect_fpregset instead of
ppcnbsd_fill_reg and ppcnbsd_fill_fpreg.
(ppcnbsd_supply_pcb): Use `gdb_byte *' instead of `char *'.
(_initialize_ppcnbsd_nat): Add some whitespace.
* Makefile.in (ppcnbsd-nat.o, ppcnbsd-tdep.o): Update dependencies.
* config/powerpc/nbsd.mh (NATDEPFILES): Remove infptrace.o.
(NAT_FILE): Remove.
* config/powerpc/nbsd.mt (TDEPFILES): Remove nbsd-tdep.o.

18 years agomerge from gcc
DJ Delorie [Fri, 12 May 2006 20:00:37 +0000 (20:00 +0000)]
merge from gcc

18 years ago * config.sub, config.guess: Update from upstream sources.
Ben Elliston [Fri, 12 May 2006 01:45:10 +0000 (01:45 +0000)]
    * config.sub, config.guess: Update from upstream sources.

18 years agodaily update
Alan Modra [Fri, 12 May 2006 00:00:07 +0000 (00:00 +0000)]
daily update

18 years ago*** empty log message ***
gdbadmin [Fri, 12 May 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago2006-05-11 Alfred M. Szmidt <ams@gnu.org>
Daniel Jacobowitz [Thu, 11 May 2006 19:37:52 +0000 (19:37 +0000)]
2006-05-11  Alfred M. Szmidt  <ams@gnu.org>

* gnu-nat.c (inf_validate_procs): Don't use lvalue in assignments.

18 years agobfd/doc/
Carlos O'Donell [Thu, 11 May 2006 16:11:29 +0000 (16:11 +0000)]
bfd/doc/

2006-05-11  Carlos O'Donell  <carlos@codesourcery.com>

* bfd.texinfo: Rename "Index" to "BFD Index"

gas/

2006-05-11  Carlos O'Donell  <carlos@codesourcery.com>

* doc/as.texinfo: Rename "Index" to "AS Index",
and "ABORT" to "ABORT (COFF)".

ld/

2006-05-11  Carlos O'Donell  <carlos@codesourcery.com>

* ld.texinfo: Rename "Index" to "LD Index"

18 years ago2006-05-11 Michael Matz <matz@suse.de>
H.J. Lu [Thu, 11 May 2006 15:55:40 +0000 (15:55 +0000)]
2006-05-11  Michael Matz  <matz@suse.de>

* elflink.c (match_group_member): Correctly iterate group
members.

18 years ago2006-05-11 Paul Brook <paul@codesourcery.com>
Paul Brook [Thu, 11 May 2006 15:17:34 +0000 (15:17 +0000)]
2006-05-11  Paul Brook  <paul@codesourcery.com>

bfd/
* elf32-arm.c (elf32_arm_reloc_map): Add MOVW and MOVT relocs.
(elf32_arm_final_link_relocate): Handle MOVW and MOVT relocs.
(elf32_arm_gc_sweep_hook, elf32_arm_check_relocs): Ditto.
* reloc.c: Ditto.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.
* libcoff.h: Regenerate.
gas/
* config/tc-arm.c (parse_half): New function.
(operand_parse_code): Remove OP_Iffff.  Add OP_HALF.
(parse_operands): Ditto.
(do_mov16): Reject invalid relocations.
(do_t_mov16): Ditto.  Use Thumb reloc numbers.
(insns): Replace Iffff with HALF.
(md_apply_fix): Add MOVW and MOVT relocs.
(tc_gen_reloc): Ditto.
* doc/c-arm.texi: Document relocation operators
ld/testsuite/
* ld-arm/arm-elf.exp: Add arm-movwt.
* ld-arm/arm-movwt.d: New test.
* ld-arm/arm-movwt.s: New test.
* ld-arm/arm.ld: Add .far.

18 years ago2006-05-11 Paul Brook <paul@codesourcery.com>
Paul Brook [Thu, 11 May 2006 15:05:17 +0000 (15:05 +0000)]
2006-05-11  Paul Brook  <paul@codesourcery.com>

gas/
* config/tc-arm.c (arm_fix_adjustable): Return 0 for function symbols.
gas/testsuite/
* gas/arm/local_function.d: New test.
* gas/arm/local_function.s: New test.

18 years ago [ gas/ChangeLog ]
Thiemo Seufer [Thu, 11 May 2006 14:30:58 +0000 (14:30 +0000)]
[ gas/ChangeLog ]
* config/tc-mips.c (append_insn): Don't check the range of j or
jal addresses.

[ gas/testsuite/ChangeLog ]
* gas/mips/jal-range.l: Don't check the range of j or jal
addresses.

18 years agoReviewed and approved by Daniel Jacobowitz <drow@false.org>
Fred Fish [Thu, 11 May 2006 13:09:58 +0000 (13:09 +0000)]
Reviewed and approved by Daniel Jacobowitz <drow@false.org>

2006-05-11  Fred Fish  <fnf@specifix.com>
* gdb.base/bang.exp: Ignore unexpected output between the
"program exited normally" and the gdb prompt, as many other
tests do.

18 years ago * ld-elf/stab.d: New.
Alan Modra [Thu, 11 May 2006 12:35:44 +0000 (12:35 +0000)]
* ld-elf/stab.d: New.

18 years ago * elf.c (_bfd_elf_init_private_section_data): Don't change
Alan Modra [Thu, 11 May 2006 12:34:46 +0000 (12:34 +0000)]
* elf.c (_bfd_elf_init_private_section_data): Don't change
section type if already set.

18 years agoReviewed and approved by Jim Blandy <jimb@codesourcery.com>
Fred Fish [Thu, 11 May 2006 09:29:52 +0000 (09:29 +0000)]
Reviewed and approved by Jim Blandy <jimb@codesourcery.com>

2006-05-11  Fred Fish  <fnf@specifix.com>
* symtab.c (skip_prologue_using_sal): Handle single line functions
like "foo(){}", which may optimize down to a single return inst.

18 years agoPR ld/2607
Nick Clifton [Thu, 11 May 2006 08:57:08 +0000 (08:57 +0000)]
PR ld/2607
* elfcode.h (valid_section_index_p): New function: Checks for a valid section
  index.  Allows indicies in the range SHN_LOPROC to SHN_HIOS.
  (elf_object_p): Use valid_section_index_p.

18 years agoApply fixes to allow arm WinCE toolchain to produce working executables.
Nick Clifton [Thu, 11 May 2006 08:48:58 +0000 (08:48 +0000)]
Apply fixes to allow arm WinCE toolchain to produce working executables.

18 years agodaily update
Alan Modra [Thu, 11 May 2006 00:00:07 +0000 (00:00 +0000)]
daily update

18 years ago*** empty log message ***
gdbadmin [Thu, 11 May 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago * hppa-hpux-tdep.c (initialize_hp_cxx_exception_support): Remove
Steve Ellcey [Wed, 10 May 2006 20:30:02 +0000 (20:30 +0000)]
* hppa-hpux-tdep.c (initialize_hp_cxx_exception_support): Remove
message.

18 years ago * agentexpr.texi: Add a copyright and license notice.
Daniel Jacobowitz [Wed, 10 May 2006 18:49:08 +0000 (18:49 +0000)]
* agentexpr.texi: Add a copyright and license notice.
* observer.texi: Likewise, with GPL clause for function prototypes.
Remove trailing whitespace.

18 years ago * ld-elf/sec64k.exp: Extend for MIPS ELF.
Thiemo Seufer [Wed, 10 May 2006 15:07:24 +0000 (15:07 +0000)]
* ld-elf/sec64k.exp: Extend for MIPS ELF.

18 years ago PR 2342
Alan Modra [Wed, 10 May 2006 04:55:43 +0000 (04:55 +0000)]
PR 2342
* elflink.c (_bfd_elf_default_action_discarded): Revert 2006-02-16.

18 years ago*** empty log message ***
gdbadmin [Wed, 10 May 2006 00:00:36 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Wed, 10 May 2006 00:00:07 +0000 (00:00 +0000)]
daily update

18 years ago * dwarf2-frame.c (struct dwarf2_fde): Add eh_frame_p.
Andreas Schwab [Tue, 9 May 2006 21:14:17 +0000 (21:14 +0000)]
* dwarf2-frame.c (struct dwarf2_fde): Add eh_frame_p.
(execute_cfa_program): Add parameter eh_frame_p.  Call
dwarf2_frame_eh_frame_regnum when true.
(dwarf2_frame_cache): Pass eh_frame_p from fde to
execute_cfa_program.
(decode_frame_entry_1): Call dwarf2_frame_eh_frame_regnum when
processing .eh_frame.  Copy eh_frame_p to the new fde.
(struct dwarf2_frame_ops): Add eh_frame_regnum.
(dwarf2_frame_set_eh_frame_regnum): Define.
(dwarf2_frame_eh_frame_regnum): Define.

* dwarf2-frame.h (dwarf2_frame_set_eh_frame_regnum): Declare.
(dwarf2_frame_eh_frame_regnum): Declare.

18 years ago2006-05-09 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 9 May 2006 17:05:55 +0000 (17:05 +0000)]
2006-05-09  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/x86-64-gidt.d: Adjusted.

18 years agogas/testsuite/
H.J. Lu [Tue, 9 May 2006 16:05:40 +0000 (16:05 +0000)]
gas/testsuite/

2006-05-09  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/i386.exp: Run x86-64-gidt.

* gas/i386/x86-64-gidt.d: New file.
* gas/i386/x86-64-gidt.s: Likewise.

opcodes/

2006-05-09  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (grps): Update sgdt/sidt for 64bit.

18 years ago * configure.srv (m68k*-*-uclinux*): New target.
Nathan Sidwell [Tue, 9 May 2006 15:21:19 +0000 (15:21 +0000)]
* configure.srv (m68k*-*-uclinux*): New target.
* linux-low.c (linux_create_inferior): Use vfork on mmuless systems.
(linux_resume_one_process): Remove extraneous cast.
(linux_read_offsets): New.
(linux_target_op): Add linux_read_offsets on mmuless systems.
* server.c (handle_query): Add qOffsets logic.
* target.h (struct target_ops): Add read_offsets.

18 years agoRevised test (that is not O(n2)) for checking for orphaned cloned symbols
Nick Clifton [Tue, 9 May 2006 15:13:22 +0000 (15:13 +0000)]
Revised test (that is not O(n2)) for checking for orphaned cloned symbols

18 years ago [ gas/ChangeLog ]
Thiemo Seufer [Tue, 9 May 2006 14:16:50 +0000 (14:16 +0000)]
[ gas/ChangeLog ]
* config/tc-mips.c (append_insn): Only warn about an out-of-range
j or jal address.

[ gas/testsuite/ChangeLog ]
* gas/mips/jal-range.l: Only warn about an out-of-range j or jal
        address.

18 years ago* config/tc-arm.c (arm_fix_adjustable): For COFF, convert fixups against
Nick Clifton [Tue, 9 May 2006 11:47:48 +0000 (11:47 +0000)]
* config/tc-arm.c (arm_fix_adjustable): For COFF, convert fixups against
   symbols which are not going to be placed into the symbol table.
* coffcode.h (coff_write_relocs): Produce an error message if a an
   out-of-range symbol index is detected in a reloc.

18 years ago * expr.c (operand): Remove `if (0 && ..)' statement and
Ben Elliston [Tue, 9 May 2006 04:54:32 +0000 (04:54 +0000)]
    * expr.c (operand): Remove `if (0 && ..)' statement and
        subsequently unused target_op label.  Collapse `if (1 || ..)'
        statement.
        * app.c (do_scrub_chars): Remove unused case 0, as it is handled
        separately above the switch.

18 years ago * elf64-ppc.c (ppc64_elf_finish_dynamic_symbol): Remove unused
Ben Elliston [Tue, 9 May 2006 03:38:30 +0000 (03:38 +0000)]
    * elf64-ppc.c (ppc64_elf_finish_dynamic_symbol): Remove unused
        local variable `dynobj'.

18 years agodaily update
Alan Modra [Tue, 9 May 2006 00:00:05 +0000 (00:00 +0000)]
daily update

18 years ago*** empty log message ***
gdbadmin [Tue, 9 May 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago * gas/mips/mips32.s, gas/mips/mips32.d: Extend testcase to check
Thiemo Seufer [Mon, 8 May 2006 18:18:09 +0000 (18:18 +0000)]
* gas/mips/mips32.s, gas/mips/mips32.d: Extend testcase to check
larger offset arguments for cache instructions.

18 years ago PR gas/2623b
Nick Clifton [Mon, 8 May 2006 17:08:34 +0000 (17:08 +0000)]
PR gas/2623b
* config/tc-msp430.c (line_separator_character): Define as |.

18 years ago [ gas/ChangeLog ]
Thiemo Seufer [Mon, 8 May 2006 15:57:05 +0000 (15:57 +0000)]
[ gas/ChangeLog ]
* config/tc-mips.c (mips_set_options): Add ase_smartmips flag.
(mips_opts): Likewise.
(file_ase_smartmips): New variable.
(ISA_HAS_ROR): SmartMIPS implements rotate instructions.
(macro_build): Handle SmartMIPS instructions.
(mips_ip): Likewise.
(md_longopts): Add argument handling for smartmips.
(md_parse_options, mips_after_parse_args): Likewise.
(s_mipsset): Add .set smartmips support.
(md_show_usage): Document -msmartmips/-mno-smartmips.
* doc/as.texinfo: Document -msmartmips/-mno-smartmips and
.set smartmips.
* doc/c-mips.texi: Likewise.

[ gas/testsuite/ChangeLog ]
* gas/mips/smartmips.s, gas/mips/smartmips.d: New smartmips test.
* gas/mips/mips.exp: Run smartmips test.

18 years agoRemove bfd/ in ChangeLog entry.
H.J. Lu [Mon, 8 May 2006 14:17:11 +0000 (14:17 +0000)]
Remove bfd/ in ChangeLog entry.

18 years agodaily update
Alan Modra [Mon, 8 May 2006 00:00:05 +0000 (00:00 +0000)]
daily update

18 years ago*** empty log message ***
gdbadmin [Mon, 8 May 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago * write.c (relax_segment): Add pass count arg. Don't error on
Alan Modra [Sun, 7 May 2006 23:03:48 +0000 (23:03 +0000)]
* write.c (relax_segment): Add pass count arg.  Don't error on
negative org/space on first two passes.
(relax_seg_info): New struct.
(relax_seg, write_object_file): Adjust.
* write.h (relax_segment): Update prototype.

18 years ago* gdb.base/help.exp: Make "delete checkpoint" part option for
Mark Kettenis [Sun, 7 May 2006 20:50:35 +0000 (20:50 +0000)]
* gdb.base/help.exp: Make "delete checkpoint" part option for
"help d" and "help delete" tests.

18 years agodaily update
Alan Modra [Sun, 7 May 2006 00:00:06 +0000 (00:00 +0000)]
daily update

18 years ago*** empty log message ***
gdbadmin [Sun, 7 May 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago * linux-nat.c (linux_nat_do_thread_registers): Check for
David S. Miller [Sat, 6 May 2006 23:55:36 +0000 (23:55 +0000)]
* linux-nat.c (linux_nat_do_thread_registers): Check for
NULL collect_regset method.

18 years ago * gdb.mi/mi-basics.exp: Add missing serial number to
Ulrich Weigand [Sat, 6 May 2006 20:39:15 +0000 (20:39 +0000)]
* gdb.mi/mi-basics.exp: Add missing serial number to
expected output in some mi_gdb_test statements.
* gdb.mi/mi2-basics.exp: Likewise.

18 years ago * s390-tdep.c (s390_collect_regset): New function.
Ulrich Weigand [Sat, 6 May 2006 01:12:11 +0000 (01:12 +0000)]
* s390-tdep.c (s390_collect_regset): New function.
(s390_gregset, s390x_gregset, s390_fpregset): Add it.

18 years agoMake LOC_OPTIMIZED_OUT the default value for a symbol.
Nick Roberts [Sat, 6 May 2006 00:14:03 +0000 (00:14 +0000)]
Make LOC_OPTIMIZED_OUT the default value for a symbol.

18 years ago*** empty log message ***
Nick Roberts [Sat, 6 May 2006 00:13:08 +0000 (00:13 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Sat, 6 May 2006 00:00:08 +0000 (00:00 +0000)]
daily update

18 years ago*** empty log message ***
gdbadmin [Sat, 6 May 2006 00:00:06 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago * linux-nat.c (exit_lwp): Fix NULL pointer access.
Ulrich Weigand [Fri, 5 May 2006 23:48:28 +0000 (23:48 +0000)]
* linux-nat.c (exit_lwp): Fix NULL pointer access.
(linux_nat_handle_extended): New parameter STOPPING.
(wait_lwp): Call it with STOPPING equals 1.
(linux_nat_wait): Call it with STOPPING equals 0.