binutils-gdb.git
18 years ago* pe-dll.c (autofilter_entry_type): Change name to const.
Christopher Faylor [Wed, 1 Nov 2006 00:48:25 +0000 (00:48 +0000)]
* pe-dll.c (autofilter_entry_type): Change name to const.
(pe_details_type) : Change target_name, object_target and autofilter_symbollist
to const.
(autofilter_symbollist_generic): Change to const.
(autofilter_symbollist_i386, pe_detail_list, pe_details, autofilter_liblist,
autofilter_objlist autofilter_symbolprefixlist, autofilter_symbolsuffixlist):
Likewise.
(is_import): Fix indentation.
(auto_export): Change afptr to const.  Move name declaration to beginning of
scope.
(make_tail): Clear undefined byte.
(jmp_ix86_bytes, jmp_sh_bytes, jmp_mips_bytes, jmp_arm_bytes): Change to const.
(make_one): Change jmp_bytes to const.  Make idata$6 member size arithmetic
explicit and add comment.

18 years ago*** empty log message ***
gdbadmin [Wed, 1 Nov 2006 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Tue, 31 Oct 2006 22:59:01 +0000 (22:59 +0000)]
daily update

18 years ago * stabs.texinfo (Macro define and undefine): New node describing
Eli Zaretskii [Tue, 31 Oct 2006 22:38:27 +0000 (22:38 +0000)]
* stabs.texinfo (Macro define and undefine): New node describing
stabs for #define and #undef.

18 years ago2006-10-31 Paul Brook <paul@codesourcery.com>
Paul Brook [Tue, 31 Oct 2006 20:33:40 +0000 (20:33 +0000)]
2006-10-31  Paul Brook  <paul@codesourcery.com>

gas/
* config/tc-arm.c (arm_adjust_symtab): Don't use STT_ARM_16BIT
for EABIv4.

18 years ago2006-10-30 Paul Brook <paul@codesourcery.com>
Paul Brook [Tue, 31 Oct 2006 20:21:57 +0000 (20:21 +0000)]
2006-10-30  Paul Brook  <paul@codesourcery.com>

binutils/
* objdump.c (disassemble_section): Set info->symtab_pos.
(disassemble_data): Set info->symtab and info->symtab_size.

include/
* dis-asm.h (disassemble_info): Add symtab, symtab_pos and
symtab_size.

opcodes/
* arm-dis.c (last_is_thumb, last_mapping_sym, last_mapping_addr): New.
(get_sym_code_type): New function.
(print_insn): Search for mapping symbols.

18 years ago2006-10-31 Paul Brook <paul@codesourcery.com>
Paul Brook [Tue, 31 Oct 2006 20:16:33 +0000 (20:16 +0000)]
2006-10-31  Paul Brook  <paul@codesourcery.com>

gas/
* config/tc-arm.c (object_arch): New variable.
(s_arm_object_arch): New function.
(md_pseudo_table): Add object_arch.
(aeabi_set_public_attributes): Obey object_arch.
* doc/c-arm.texi: Document .object_arch.

18 years agoImprove "help all".
Vladimir Prus [Tue, 31 Oct 2006 11:45:41 +0000 (11:45 +0000)]
Improve "help all".

18 years ago* tc-score.c (data_op2): Check invalid operands.
Nick Clifton [Tue, 31 Oct 2006 09:54:41 +0000 (09:54 +0000)]
* tc-score.c (data_op2): Check invalid operands.
  (my_get_expression): Const operand of some instructions can not be symbol in assembly.
  (get_insn_class_from_type): Handle instruction type Insn_internal.
  (do_macro_ldst_label): Modify inst.type.
  (Insn_PIC): Delete.
* score-inst.h (enum score_insn_type): Add Insn_internal.
* tc-score.c (data_op2): The immediate value in lw is 15 bit signed.
* score-dis.c (print_insn): Correct the error code to print correct PCE instruction disassembly.

18 years ago * elf.c (elfcore_write_note): Pad note descriptor to 4-byte
Alan Modra [Tue, 31 Oct 2006 02:36:18 +0000 (02:36 +0000)]
* elf.c (elfcore_write_note): Pad note descriptor to 4-byte
boundary.  Tidy.  Comment.

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

18 years agobfd/
H.J. Lu [Mon, 30 Oct 2006 23:25:51 +0000 (23:25 +0000)]
bfd/

2006-10-30  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/3111
* elf-bfd.h (elf_obj_tdata): Add symbuf.
(_bfd_elf_section_already_linked): Add struct bfd_link_info *.
(_bfd_elf_check_kept_section): Likewise.
(bfd_elf_match_symbols_in_sections): Likewise.

* elf.c (assign_section_numbers): Updated to add
struct bfd_link_info *.
(bfd_elf_match_symbols_in_sections): Updated. Cache symbol
buffer if info->reduce_memory_overheads is false.

* elflink.c (match_group_member): Updated to add
struct bfd_link_info *.
(_bfd_elf_check_kept_section): Likewise.
(elf_link_input_bfd): Likewise.
(_bfd_elf_section_already_linked): Likewise.
(bfd_elf_final_link): Free symbol buffer if
info->reduce_memory_overheads is false.

* libbfd-in.h (_bfd_nolink_section_already_linked): Add
struct bfd_link_info *.
(_bfd_generic_section_already_linked): Likewise.
* libbfd.h: Regenerated.

* linker.c (bfd_section_already_linked): Add
struct bfd_link_info *.
(_bfd_generic_section_already_linked): Likewise.
* targets.c (bfd_target): Add struct bfd_link_info * to
_section_already_linked.
* bfd-in2.h: Regenerated.

include/

2006-10-30  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/3111
* bfdlink.h (bfd_link_info): Add reduce_memory_overheads.

ld/

2006-10-30  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/3111
* ld.h (args_type): Remove reduce_memory_overheads.

* ldlang.c (lang_map): Updated.
(section_already_linked): Likewise.
(print_input_section): Likewise.
* ldmain.c (main): Likewise.
* lexsup.c (parse_args): Likewise.

18 years agodaily update
Alan Modra [Mon, 30 Oct 2006 22:59:02 +0000 (22:59 +0000)]
daily update

18 years ago * bfd-in2.h: Regenerate.
Alan Modra [Mon, 30 Oct 2006 07:44:11 +0000 (07:44 +0000)]
* bfd-in2.h: Regenerate.

18 years ago * bfd.c (bfd_error_type): Add bfd_error_on_input.
Alan Modra [Mon, 30 Oct 2006 07:41:17 +0000 (07:41 +0000)]
* bfd.c (bfd_error_type): Add bfd_error_on_input.
(input_bfd, input_error): New static vars.
(bfd_set_error): Handle bfd_error_on_input.
(bfd_errmsg): Likewise.
(bfd_perror): Simplify.
* archive.c (_bfd_write_archive_contents): Report errors on input.

18 years ago2006-10-29 Randolph Chung <tausq@debian.org>
Randolph Chung [Mon, 30 Oct 2006 01:10:46 +0000 (01:10 +0000)]
2006-10-29  Randolph Chung  <tausq@debian.org>

* gas/cfi/cfi.exp [hppa*-linux*]: Run hppa CFI test.
* gas/cfi/cfi-hppa-1.s: New file.
* gas/cfi/cfi-hppa-1.h: New file.

18 years ago2006-10-29 Randolph Chung <tausq@debian.org>
Randolph Chung [Mon, 30 Oct 2006 01:09:18 +0000 (01:09 +0000)]
2006-10-29  Randolph Chung  <tausq@debian.org>

* config/tc-hppa.c (hppa_cfi_frame_initial_instructions)
(hppa_regname_to_dw2regnum): New funcions.
* config/tc-hppa.h [OBJ_ELF] (TARGET_USE_CFIPOP): Define.
(tc_cfi_frame_initial_instructions)
(tc_regname_to_dw2regnum): Define.
(hppa_cfi_frame_initial_instructions)
(hppa_regname_to_dw2regnum): Declare.
(DWARF2_LINE_MIN_INSN_LENGTH, DWARF2_DEFAULT_RETURN_COLUMN)
(DWARF2_CIE_DATA_ALIGNMENT): Define.

18 years ago * ld-sh/sh64/abi32.xd, ld-sh/sh64/abi64.xd, ld-sh/sh64/cmpct1.xd,
Kaz Kojima [Mon, 30 Oct 2006 00:48:03 +0000 (00:48 +0000)]
* ld-sh/sh64/abi32.xd, ld-sh/sh64/abi64.xd, ld-sh/sh64/cmpct1.xd,
* ld-sh/sh64/crange1.rd, ld-sh/sh64/crange2.rd,
* ld-sh/sh64/crange3-cmpct.rd, ld-sh/sh64/crange3-media.rd,
* ld-sh/sh64/crange3.rd, ld-sh/sh64/mix1.xd, ld-sh/sh64/mix2.xd,
* ld-sh/sh64/shdl32.xd, ld-sh/sh64/shdl64.xd: Update for removal
of empty sections.

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

18 years ago * elf.c (elfcore_write_note): Pad to 4-byte boundary.
Alan Modra [Sun, 29 Oct 2006 23:49:37 +0000 (23:49 +0000)]
* elf.c (elfcore_write_note): Pad to 4-byte boundary.

18 years agodaily update
Alan Modra [Sun, 29 Oct 2006 22:59:02 +0000 (22:59 +0000)]
daily update

18 years ago2006-10-29 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Sun, 29 Oct 2006 19:18:47 +0000 (19:18 +0000)]
2006-10-29  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/3384
* configure.in (AC_CHECK_HEADERS): Add limits.h and sys/param.h.
* configure: Regenerated.
* config.in: Likewise.

* readelf.c: Include <limits.h> and <sys/param.h> for PATH_MAX.
(program_interpreter): Allocate PATH_MAX bytes instead of 64.
(process_program_headers): Don't assume that program interpreter
is shorter than 64 characters.

18 years ago2006-10-29 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Sun, 29 Oct 2006 19:07:54 +0000 (19:07 +0000)]
2006-10-29  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/3384
* configure.in (AC_CHECK_HEADERS): Add limits.h and sys/param.h.
* configure: Regenerated.
* config.in: Likewise.

* readelf.c: Include <limits.h> and <sys/param.h> for PATH_MAX.
(program_interpreter): Allocate PATH_MAX bytes instead of 64.
(process_program_headers): Don't assume that program interpreter
is shorter than 64 characters.

18 years ago* config/tc-spu.c (md_assemble): Cast printf string size parameter
Nick Clifton [Sun, 29 Oct 2006 18:18:34 +0000 (18:18 +0000)]
* config/tc-spu.c (md_assemble): Cast printf string size parameter
  to int in order to avoid a compiler warning.

18 years ago* pe-dll.c (make_singleton_name_thunk): Re-add the NULL terminator.
Christopher Faylor [Sun, 29 Oct 2006 17:14:37 +0000 (17:14 +0000)]
* pe-dll.c (make_singleton_name_thunk): Re-add the NULL terminator.

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

18 years agodaily update
Alan Modra [Sat, 28 Oct 2006 22:59:03 +0000 (22:59 +0000)]
daily update

18 years agoinclude/elf/
Richard Sandiford [Sat, 28 Oct 2006 10:13:49 +0000 (10:13 +0000)]
include/elf/
* mips.h (R_MIPS_GLOB_DAT): Define
(R_MIPS_max): Bump by 1.

bfd/
* elf32-mips.c (elf_mips_howto_table_rel): Add R_MIPS_GLOB_DAT.
* elfn32-mips.c (elf_mips_howto_table_rel): Likewise.
(elf_mips_howto_table_rela): Likewise.
* elf64-mips.c (mips_elf64_howto_table_rel): Likewise.
(mips_elf64_howto_table_rela): Likewise.

18 years ago*** empty log message ***
gdbadmin [Sat, 28 Oct 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Fri, 27 Oct 2006 23:59:04 +0000 (23:59 +0000)]
daily update

18 years ago2006-10-27 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 27 Oct 2006 23:00:35 +0000 (23:00 +0000)]
2006-10-27  Jeff Johnston  <jjohnstn@redhat.com>

        * COPYING.NEWLIB: Add spu license.
        * COPYING.LIBGLOSS: Ditto.

18 years ago2006-10-27 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 27 Oct 2006 22:57:03 +0000 (22:57 +0000)]
2006-10-27  Jeff Johnston  <jjohnstn@redhat.com>

        * COPYING.NEWLIB: Add spu license.

18 years ago * gdbcmd.h (detachlist): Declare.
Andreas Schwab [Fri, 27 Oct 2006 22:23:21 +0000 (22:23 +0000)]
* gdbcmd.h (detachlist): Declare.
* infcmd.c (_initialize_infcmd): Define "detach" as prefix
command.
* linux-fork.c (_initialize_linux_fork): Rename
"detach-checkpoint" to "detach checkpoint" and "detach-fork" to
"detach fork".
* cli/cli-cmds.c (detachlist): Define.
(init_cmd_lists): Initialize it.
* cli/cli-cmds.h (detachlist): Declare.

doc/:
* gdb.texinfo (Processes): Rename "detach-fork" to "detach fork".

testsuite/:
* gdb.base/multi-forks.exp: Use "detach fork" instead of
"detach-fork".

18 years ago2006-10-27 Andrew Stubbs <andrew.stubbs@st.com>
Andrew Stubbs [Fri, 27 Oct 2006 09:34:45 +0000 (09:34 +0000)]
2006-10-27  Andrew Stubbs  <andrew.stubbs@st.com>

* config/tc-sh.c (md_assemble): Define size of branches.

18 years ago2006-10-26 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 27 Oct 2006 04:15:50 +0000 (04:15 +0000)]
2006-10-26  H.J. Lu  <hongjiu.lu@intel.com>

* elf.c (_bfd_elf_init_private_section_data): Assert output
section ELF type instead of check if it is SHT_NULL.  Copy
OS/PROC specific flags from input section to output section.

18 years agobfd/
Alan Modra [Fri, 27 Oct 2006 03:22:09 +0000 (03:22 +0000)]
bfd/
* section.c (SEC_KEEP): Update comment.
* bfd-in2.h: Regenerate.
* elflink.c (bfd_elf_gc_sections): Ignore SEC_EXCLUDE sections.
* merge.c (_bfd_merge_sections): Set SEC_KEEP on excluded sections.
* stabs.c (_bfd_discard_section_stabs): Likewise.
(_bfd_link_section_stabs): Likewise.  Simplify abs_section check.
ld/
* ldlang.c (lang_map): Don't say SEC_LINKER_CREATED and SEC_KEEP
sections have been discarded.
(lang_do_version_exports_section): Set SEC_KEEP on export section.
* emultempl/elf32.em (before_allocation): Set SEC_KEEP on warning
sections.

18 years ago*** empty log message ***
gdbadmin [Fri, 27 Oct 2006 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Thu, 26 Oct 2006 23:59:04 +0000 (23:59 +0000)]
daily update

18 years ago2006-10-26 Ben Elliston <bje@au.ibm.com>
Peter Bergner [Thu, 26 Oct 2006 17:37:26 +0000 (17:37 +0000)]
2006-10-26  Ben Elliston  <bje@au.ibm.com>
    Anton Blanchard  <anton@samba.org>
    Peter Bergner  <bergner@vnet.ibm.com>

* ppc-opc.c (A_L, DCM, DGM, TE, RMC, R, SP, S, SH16, XRT_L, EH,
AFRALFRC_MASK, Z, ZRC, Z_MASK, XLRT_MASK, XEH_MASK): Define.
(POWER6): Define.
(powerpc_opcodes): Extend "lwarx", "ldarx", "dcbf", "fres", "fres.",
"frsqrtes", "frsqrtes." "fre", "fre.", "frsqrte" and "frsqrte.".
Add "doze", "nap", "sleep", "rvwinkle", "dcbfl", "prtyw", "prtyd",
"mfcfar", "cmpb", "lfdpx", "stfdpx", "mtcfar", "mffgpr", "mftgpr",
"lwzcix", "lhzcix", "lbzcix", "ldcix", "lfiwax", "stwcix", "sthcix",
"stbcix", "stdcix", "lfdp", "dadd", "dadd.", "dqua", "dqua.", "dmul",
"dmul.", "drrnd", "drrnd.", "dscli", "dscli.", "dquai", "dquai.",
"dscri", "dscri.", "drintx", "drintx.", "dcmpo", "dtstex", "dtstdc",
"dtstdg", "dtstsf", "drintn", "drintn.", "dctdp", "dctdp.", "dctfix",
"dctfix.", "ddedpd", "ddedpd.", "dxex", "dxex.", "dsub", "dsub.",
"ddiv", "ddiv.", "dcmpu", "drsp", "drsp.", "dcffix", "dcffix.",
"denbcd", "denbcd.", "diex", "diex.", "stfdp", "daddq", "daddq.",
"dquaq", "dquaq.", "fcpsgn", "fcpsgn.", "dmulq", "dmulq.",
"drrndq", "drrndq.", "dscliq", "dscliq.", "dquaiq", "dquaiq.",
"dscriq", "dscriq.", "drintxq", "drintxq.", "dcmpoq", "dtstexq",
"dtstdcq", "dtstdgq", "dtstsfq", "drintnq", "drintnq.",
"dctqpq", "dctqpq.", "dctfixq", "dctfixq.", "ddedpdq", "ddedpdq.",
"dxexq", "dxexq.", "dsubq", "dsubq.", "ddivq", "ddivq.", "dcmpuq",
"drdpq", "drdpq.", "dcffixq", "dcffixq.", "denbcdq", "denbcdq.",
"diexq" and "diexq." opcodes.

18 years ago * h8300-dis.c (bfd_h8_disassemble): Add missing consts.
Daniel Jacobowitz [Thu, 26 Oct 2006 15:37:21 +0000 (15:37 +0000)]
* h8300-dis.c (bfd_h8_disassemble): Add missing consts.

18 years ago2006-10-26 Joseph S. Myers <joseph@codesourcery.com>
Joseph Myers [Thu, 26 Oct 2006 12:52:39 +0000 (12:52 +0000)]
2006-10-26  Joseph S. Myers  <joseph@codesourcery.com>
            Mark Mitchell  <mark@codesourcery.com>

* configure.tgt (arm*linux*): Support both big- and little-endian.

18 years agomerge from gcc
DJ Delorie [Thu, 26 Oct 2006 04:18:42 +0000 (04:18 +0000)]
merge from gcc

18 years ago2006-10-25 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 26 Oct 2006 00:31:59 +0000 (00:31 +0000)]
2006-10-25  H.J. Lu  <hongjiu.lu@intel.com>

* emulparams/hppa64linux.sh (LARGE_SECTIONS): Renamed to ...
(OTHER_BSS_SECTIONS): This.
* scripttempl/elf.sc (OTHER_BSS_SECTIONS): Support LARGE_SECTIONS.
(LARGE_SECTIONS): Move .lbss sections to OTHER_BSS_SECTIONS.

18 years ago * reloc.c (_bfd_relocate_contents): Remove explicit case 0.
Ben Elliston [Thu, 26 Oct 2006 00:22:52 +0000 (00:22 +0000)]
* reloc.c (_bfd_relocate_contents): Remove explicit case 0.

18 years ago * write.c (chain_frchains_together_1): Assert that this function
Ben Elliston [Thu, 26 Oct 2006 00:17:49 +0000 (00:17 +0000)]
* write.c (chain_frchains_together_1): Assert that this function
never returns a pointer to the auto variable `dummy'.

18 years ago * dw2gencfi.c (cfi_add_CFA_offset):
Ben Elliston [Thu, 26 Oct 2006 00:16:50 +0000 (00:16 +0000)]
* dw2gencfi.c (cfi_add_CFA_offset):
Assert DWARF2_CIE_DATA_ALIGNMENT is non-zero.

18 years ago * elf.c (bfd_section_from_shdr): Remove extraneous breaks.
Ben Elliston [Thu, 26 Oct 2006 00:14:39 +0000 (00:14 +0000)]
* elf.c (bfd_section_from_shdr): Remove extraneous breaks.
* targets.c (find_target): Remove extraneous break.

18 years ago * coff-maxq.c (coff_maxq20_reloc): Remove unused variable `howto'.
Ben Elliston [Thu, 26 Oct 2006 00:10:43 +0000 (00:10 +0000)]
* coff-maxq.c (coff_maxq20_reloc): Remove unused variable `howto'.
(struct maxq_reloc_map): Unused; remove.
(maxq_reloc_map): Likewise.
(maxq_reloc_type_lookup): Remove loop over maxq_reloc_map.

18 years ago * elf.c (bfd_elf_set_dyn_lib_class): Change second argument type
Ben Elliston [Thu, 26 Oct 2006 00:01:31 +0000 (00:01 +0000)]
* elf.c (bfd_elf_set_dyn_lib_class): Change second argument type
from int to enum dynamic_lib_link_class lib_class.
* bfd-in.h (bfd_elf_set_dyn_lib_class): Likewise.
* bfd-in2.h: Regenerate.

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

18 years agodaily update
Alan Modra [Wed, 25 Oct 2006 23:59:05 +0000 (23:59 +0000)]
daily update

18 years agogdb/ChangeLog:
Jim Blandy [Wed, 25 Oct 2006 21:26:41 +0000 (21:26 +0000)]
gdb/ChangeLog:
2006-10-25  Jim Blandy  <jimb@codesourcery.com>

* p-valprint.c (pascal_object_print_value): Add 'static' keyword
to function definition, to match declaration earlier in file.

18 years agoNew Cell SPU port.
Alan Modra [Wed, 25 Oct 2006 06:49:21 +0000 (06:49 +0000)]
New Cell SPU port.

18 years agomerge from gcc
DJ Delorie [Wed, 25 Oct 2006 01:42:44 +0000 (01:42 +0000)]
merge from gcc

18 years agomissed from last commit
Alan Modra [Wed, 25 Oct 2006 00:44:26 +0000 (00:44 +0000)]
missed from last commit

18 years ago*** empty log message ***
gdbadmin [Wed, 25 Oct 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Tue, 24 Oct 2006 23:59:05 +0000 (23:59 +0000)]
daily update

18 years ago*** empty log message ***
Nick Roberts [Tue, 24 Oct 2006 20:23:56 +0000 (20:23 +0000)]
*** empty log message ***

18 years ago * expr.c (expr): Replace O_add case in switch (op_left) explaining
Ben Elliston [Tue, 24 Oct 2006 18:10:57 +0000 (18:10 +0000)]
* expr.c (expr): Replace O_add case in switch (op_left) explaining
why it can never occur.

18 years ago * ld-powerpc/plt1.s: New.
Alan Modra [Tue, 24 Oct 2006 13:29:37 +0000 (13:29 +0000)]
* ld-powerpc/plt1.s: New.
* ld-powerpc/plt1.d: New.
* ld-powerpc/relbrlt.s: New.
* ld-powerpc/relbrlt.d: New.
* ld-powerpc/powerpc.exp: Run them.

18 years ago * lexsup.c (parse_args): Add a comment noting a fall-through.
Ben Elliston [Tue, 24 Oct 2006 03:35:49 +0000 (03:35 +0000)]
* lexsup.c (parse_args): Add a comment noting a fall-through.

18 years agoAdd powerpc cell support.
Alan Modra [Tue, 24 Oct 2006 01:27:29 +0000 (01:27 +0000)]
Add powerpc cell support.

18 years ago*** empty log message ***
gdbadmin [Tue, 24 Oct 2006 00:00:10 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Mon, 23 Oct 2006 23:59:09 +0000 (23:59 +0000)]
daily update

18 years agoFix AMDFAM10 POPCNT instruction
Michael Meissner [Mon, 23 Oct 2006 22:53:29 +0000 (22:53 +0000)]
Fix AMDFAM10 POPCNT instruction

18 years ago2006-10-24 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 23 Oct 2006 16:44:17 +0000 (16:44 +0000)]
2006-10-24  H.J. Lu  <hongjiu.lu@intel.com>

* configure.in (AC_CHECK_HEADERS): Add limits.h and sys/param.h.
* configure: Regenerated.
* config.in: Likewise.

18 years ago * emulparams/h8300elf.sh (TINY_DATA_SECTION, TINY_BSS_SECTION): Don't
Alan Modra [Mon, 23 Oct 2006 03:30:02 +0000 (03:30 +0000)]
* emulparams/h8300elf.sh (TINY_DATA_SECTION, TINY_BSS_SECTION): Don't
set section address on a relocatable link.

18 years agowrap overlong lines
Alan Modra [Mon, 23 Oct 2006 03:26:08 +0000 (03:26 +0000)]
wrap overlong lines

18 years ago * config/tc-m68hc11.c (md_assemble): Quiet warning.
Alan Modra [Mon, 23 Oct 2006 03:23:49 +0000 (03:23 +0000)]
* config/tc-m68hc11.c (md_assemble): Quiet warning.

18 years ago * elf64-ppc.c (ppc64_elf_edit_opd): Clarify comment.
Alan Modra [Mon, 23 Oct 2006 03:20:56 +0000 (03:20 +0000)]
* elf64-ppc.c (ppc64_elf_edit_opd): Clarify comment.

18 years ago * ld.texinfo (Output Section Discarding): Fix xref.
Alan Modra [Mon, 23 Oct 2006 03:09:35 +0000 (03:09 +0000)]
* ld.texinfo (Output Section Discarding): Fix xref.

18 years agomissed from 2006-10-19 commit.
Alan Modra [Mon, 23 Oct 2006 03:07:49 +0000 (03:07 +0000)]
missed from 2006-10-19 commit.

18 years ago * elf32-score.c: Formatting.
Alan Modra [Mon, 23 Oct 2006 02:41:11 +0000 (02:41 +0000)]
* elf32-score.c: Formatting.
(elf_backend_omit_section_dynsym): Define.
(score_elf_create_dynamic_relocation): Remove code copied from mips.
Don't use section syms in dynamic relocs.  Remove unused param.
(score_elf_final_link_relocate): Remove unused param.

18 years ago * linker.c (fix_syms): Choose best of previous and next
Alan Modra [Mon, 23 Oct 2006 02:35:38 +0000 (02:35 +0000)]
* linker.c (fix_syms): Choose best of previous and next
section based on section flags and vma.

18 years ago*** empty log message ***
gdbadmin [Mon, 23 Oct 2006 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Sun, 22 Oct 2006 23:59:13 +0000 (23:59 +0000)]
daily update

18 years ago * gas/sh/sh64/syntax-1.d: Update.
Kaz Kojima [Sun, 22 Oct 2006 01:19:06 +0000 (01:19 +0000)]
* gas/sh/sh64/syntax-1.d: Update.

* ld-sh/sh64/abi32.xd, ld-sh/sh64/abi64.xd, ld-sh/sh64/cmpct1.xd,
* ld-sh/sh64/crange1.rd, ld-sh/sh64/crange2.rd,
* ld-sh/sh64/crange3-cmpct.rd, ld-sh/sh64/crange3-media.rd,
* ld-sh/sh64/crange3.rd, ld-sh/sh64/crangerel1.rd,
* ld-sh/sh64/crangerel2.rd, ld-sh/sh64/mix1.xd,
* ld-sh/sh64/mix2.xd, ld-sh/sh64/rel32.xd, ld-sh/sh64/rel64.xd,
* ld-sh/sh64/reldl32.rd, ld-sh/sh64/reldl64.rd,
* ld-sh/sh64/shdl32.xd, ld-sh/sh64/shdl64.xd: Update.

18 years ago * emulparams/shelf32.sh: Set default stack to 0x80000.
Kaz Kojima [Sun, 22 Oct 2006 01:07:30 +0000 (01:07 +0000)]
* emulparams/shelf32.sh: Set default stack to 0x80000.
* emulparams/shelf64.sh: Likewise.

18 years ago * elf32-sh64.c (sh64_elf_merge_symbol_attribute): Do merging
Kaz Kojima [Sun, 22 Oct 2006 01:02:38 +0000 (01:02 +0000)]
* elf32-sh64.c (sh64_elf_merge_symbol_attribute): Do merging
only when the non visibility part of st_other is non-zero.
* elf64-sh64.c (sh64_elf64_merge_symbol_attribute): Likewise.

18 years ago*** empty log message ***
gdbadmin [Sun, 22 Oct 2006 00:00:07 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Sat, 21 Oct 2006 23:59:12 +0000 (23:59 +0000)]
daily update

18 years ago * callback.c: Include "xmalloc.h".
Ulrich Weigand [Sat, 21 Oct 2006 20:47:07 +0000 (20:47 +0000)]
* callback.c: Include "xmalloc.h".
* Makefile.in: Add dependency.

18 years ago2006-10-21 Paul Brook <paul@codesourcery.com>
Paul Brook [Sat, 21 Oct 2006 17:59:08 +0000 (17:59 +0000)]
2006-10-21  Paul Brook  <paul@codesourcery.com>

* remote.c (remote_fetch_registers): Fix error message.

18 years ago gdb.texinfo (Source Annotations): Fix index entries by adding
Eli Zaretskii [Sat, 21 Oct 2006 13:06:04 +0000 (13:06 +0000)]
gdb.texinfo (Source Annotations): Fix index entries by adding
"annotation" to them, to discriminate from index entries that point
to the more general topic descriptions.

18 years ago(Breakpoints): Fix a typo.
Eli Zaretskii [Sat, 21 Oct 2006 12:54:18 +0000 (12:54 +0000)]
(Breakpoints): Fix a typo.

18 years ago * gdb.texinfo (Breakpoints, Set Watchpoints): Elaborate and
Eli Zaretskii [Sat, 21 Oct 2006 12:50:16 +0000 (12:50 +0000)]
* gdb.texinfo (Breakpoints, Set Watchpoints): Elaborate and
clarify on the possible meanings of ``expression'' watched by
watchpoints.  Add indexing.

18 years ago(Backtrace): Fix a typo.
Eli Zaretskii [Sat, 21 Oct 2006 12:20:59 +0000 (12:20 +0000)]
(Backtrace): Fix a typo.

18 years ago*** empty log message ***
gdbadmin [Sat, 21 Oct 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Fri, 20 Oct 2006 23:59:12 +0000 (23:59 +0000)]
daily update

18 years ago * gcore.c (MAX_COPY_BYTES): Define.
Daniel Jacobowitz [Fri, 20 Oct 2006 22:06:28 +0000 (22:06 +0000)]
* gcore.c (MAX_COPY_BYTES): Define.
(gcore_copy_callback): Use it to limit allocation.

18 years agoFramework for relocation scanning. Implement simple static TLS
Ian Lance Taylor [Fri, 20 Oct 2006 20:40:49 +0000 (20:40 +0000)]
Framework for relocation scanning.  Implement simple static TLS
relocations.

18 years ago * ld-sh/tlsbin-1.d: Update.
Kaz Kojima [Fri, 20 Oct 2006 15:16:44 +0000 (15:16 +0000)]
* ld-sh/tlsbin-1.d: Update.
* ld-sh/tlspic-1.d: Likewise.
* ld-sh/tlstpoff-1.d: Likewise.

18 years ago2006-10-20 Andrew Stubbs <andrew.stubbs@st.com>
Andrew Stubbs [Fri, 20 Oct 2006 14:47:05 +0000 (14:47 +0000)]
2006-10-20  Andrew Stubbs  <andrew.stubbs@st.com>

opcodes/

* sh-dis.c (print_insn_sh): Remove 0x from output to prevent GDB
duplicating it.

gas/testsuite/

* gas/sh/pcrel-coff.d: Update patterns (remove 0x on addresses).
* gas/sh/pcrel-hms.d: Likewise.
* gas/sh/pcrel.d: Likewise.
* gas/sh/pcrel2.d: Likewise.
* gas/sh/pic.d: Likewise.
* gas/sh/tlsd.d: Likewise.
* gas/sh/tlsdnopic.d: Likewise.
* gas/sh/tlsdpic.d: Likewise.

18 years agobfd/
Richard Sandiford [Fri, 20 Oct 2006 07:59:44 +0000 (07:59 +0000)]
bfd/
* elfxx-mips.c (_bfd_mips_elf_modify_segment_map): Don't extend
PT_DYNAMIC on GNU/Linux targets.

18 years agobfd/
Richard Sandiford [Fri, 20 Oct 2006 07:58:17 +0000 (07:58 +0000)]
bfd/
* elfxx-mips.c (_bfd_mips_elf_finish_dynamic_sections): Make the
size of .rel.dyn reflect the value of DT_RELSZ.

ld/testsuite/
* ld-mips-elf/multi-got-1.d: Remove trailing R_MIPS_NONE entries.
* ld-mips-elf/tls-multi-got-1.got: Likewise.
* ld-mips-elf/tls-multi-got-1.r: Likewise.

18 years agobfd/
Richard Sandiford [Fri, 20 Oct 2006 07:57:03 +0000 (07:57 +0000)]
bfd/
* elfxx-mips.c (_bfd_mips_elf_additional_program_headers): Allocate
a PT_NULL header for dynamic objects.
(_bfd_mips_elf_modify_segment_map): Add it.

ld/testsuite/
* ld-mips-elf/multi-got-1.d: Do not expect a particular address
for DT_HASH.
* ld-mips-elf/rel32-o32.d: Bump addresses by 0x20 to account for
the extra program header.
* ld-mips-elf/rel32-n32.d: Likewise.
* ld-mips-elf/tlslib-o32.got: Likewise.
* ld-mips-elf/tlslib-o32-hidden.got: Likewise.
* ld-mips-elf/tlslib-o32-ver.got: Likewise.
* ld-mips-elf/tls-multi-got-1.got: Likewise.
* ld-mips-elf/tls-multi-got-1.r: Likewise.
* ld-mips-elf/rel64.d: Bump addresses by 0x30 to account for the
extra program header.
* ld-mips-elf/tlsdyn-o32.d: Reduce the GOT offset by 32 to account
for the extra program header, and thus the shorter gap between the
text and data segments.
* ld-mips-elf/tlsdyn-o32-1.d: Likewise.
* ld-mips-elf/tlsdyn-o32-2.d: Likewise.
* ld-mips-elf/tlsdyn-o32-3.d: Likewise.
* ld-mips-elf/tlsdyn-o32.got: Bump GOT text addresses by 0x20
to account for the extra program header.
* ld-mips-elf/tlsdyn-o32-1.got: Likewise.
* ld-mips-elf/tlsdyn-o32-2.got: Likewise.
* ld-mips-elf/tlsdyn-o32-3.got: Likewise.

18 years agold/
Richard Sandiford [Fri, 20 Oct 2006 07:55:37 +0000 (07:55 +0000)]
ld/
* emulparams/elf32bmip.sh (OTHER_GOT_RELOC_SECTIONS): Define.
* emulparams/elf32bmipn32-defs.sh (OTHER_GOT_RELOC_SECTIONS): Likewise.

ld/testsuite/
* ld-mips-elf/rel32-o32.d: Bump the section number of .text by 1
to account for the fact that .rel.dyn is now before .text in the
section table.
* ld-mips-elf/rel32-n32.d: Likewise.
* ld-mips-elf/rel64.d: Likewise.

18 years ago * linux-thread-db.c (check_for_thread_db): Don't attempt to use
Ulrich Weigand [Fri, 20 Oct 2006 01:08:14 +0000 (01:08 +0000)]
* linux-thread-db.c (check_for_thread_db): Don't attempt to use
thread_db for remote targets.
* remote.c (remote_new_objfile): Always call predecessor on
new_objfile event chain.

18 years ago2005-10-19 Ulrich Weigand <uweigand@de.ibm.com>
Ulrich Weigand [Fri, 20 Oct 2006 00:34:35 +0000 (00:34 +0000)]
2005-10-19  Ulrich Weigand  <uweigand@de.ibm.com>

        * configure.srv [s390-*-linux*, s390x-*-linux*]: Set srv_linux_regsets
        and srv_linux_thread_db to yes.
        * linux-s390-low.c (s390_fill_gregset): New function.
        (target_regsets): Define data structure.

18 years ago* config/tc-i386.c (md_parse_option): Use CONST_STRNEQ.
Mike Frysinger [Fri, 20 Oct 2006 00:32:43 +0000 (00:32 +0000)]
* config/tc-i386.c (md_parse_option): Use CONST_STRNEQ.
(x86_64_section_letter): Likewise.