binutils-gdb.git
17 years ago * MAINTAINERS (Write After Approval): Add myself.
Pedro Alves [Sat, 10 Feb 2007 18:30:55 +0000 (18:30 +0000)]
   * MAINTAINERS (Write After Approval): Add myself.

17 years ago2007-02-10 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Sat, 10 Feb 2007 12:50:23 +0000 (12:50 +0000)]
2007-02-10  Paolo Bonzini  <bonzini@gnu.org>

* configure: Regenerate.

17 years ago*** empty log message ***
gdbadmin [Sat, 10 Feb 2007 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago 2007-02-09 Fred Fish <fnf@specifix.com>
Fred Fish [Fri, 9 Feb 2007 23:45:35 +0000 (23:45 +0000)]
2007-02-09  Fred Fish  <fnf@specifix.com>
Based on work by Apple Computer, Inc.
* event-top.c (async_request_quit): Call quit() whenever either
quit_flag is set or immediate_quit is set.

17 years agodaily update
Alan Modra [Fri, 9 Feb 2007 23:00:05 +0000 (23:00 +0000)]
daily update

17 years ago PR bootstrap/30748
Daniel Jacobowitz [Fri, 9 Feb 2007 22:35:45 +0000 (22:35 +0000)]
PR bootstrap/30748
* configure.ac: Correct syntax for Solaris ksh.
* configure: Regenerated.

17 years ago2007-02-09 Gabriel Dos Reis <gdr@integrable-solutions.net>
Gabriel Dos Reis [Fri, 9 Feb 2007 20:52:16 +0000 (20:52 +0000)]
2007-02-09  Gabriel Dos Reis  <gdr@integrable-solutions.net>

        * ada-lang.c (remove_out_of_scope_renamings): Change third
          parameter's
        type to a pointer to const struct block.
        (ada_lookup_symbol_list): Don't cast away constness when
          calling
        remove_out_of_scope_renamings.

2007-02-09  Gabriel Dos Reis  <gdr@integrable-solutions.net>

        * linux-nat.c (linux_nat_find_memory_regions): Don't check the
        address of 'filename'; it is always non null.

17 years ago * exec.c (add_to_section_table): Do not discard empty sections.
Joel Brobecker [Fri, 9 Feb 2007 20:11:47 +0000 (20:11 +0000)]
    * exec.c (add_to_section_table): Do not discard empty sections.

17 years agoAdd myself to "write atfer approval" section.
Gabriel Dos Reis [Fri, 9 Feb 2007 19:49:17 +0000 (19:49 +0000)]
Add myself to "write atfer approval" section.

17 years ago2007-02-09 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Fri, 9 Feb 2007 19:24:42 +0000 (19:24 +0000)]
2007-02-09  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.def: Sync with GCC.
* Makefile.tpl: Sync with GCC.
* Makefile.in: Regenerate.
* configure: Regenerate.

* config/acx.m4: Sync with GCC.
* config/depstand.m4: Sync with GCC.
* config/tls.m4: Sync with GCC.

17 years ago2007-02-09 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 9 Feb 2007 18:20:24 +0000 (18:20 +0000)]
2007-02-09  H.J. Lu  <hongjiu.lu@intel.com>

* configure.in (targ_extra_emuls): Add $targ64_extra_emuls if
want64 is true.
(targ_extra_libpath): Add $targ64_extra_libpath if want64 is
true
* configure: Regenerated.

* configure.tgt (targ_extra_libpath): Initialize.
(targ64_extra_emuls): New. Document. Initialize.
(targ64_extra_libpath): Likewise.
(i[3-7]86-*-linux-*): Set targ64_extra_emuls and
targ64_extra_libpath.
(powerpc*-*-linux*): Likewise.
(s390-*-linux*): Likewise.

17 years agoFix ChangeLog entry.
Paul Brook [Fri, 9 Feb 2007 17:45:11 +0000 (17:45 +0000)]
Fix ChangeLog entry.

17 years agomerge from gcc
DJ Delorie [Fri, 9 Feb 2007 17:21:45 +0000 (17:21 +0000)]
merge from gcc

17 years ago * Makefile.tpl (build_alias, host_alias, target_alias): Use
Daniel Jacobowitz [Fri, 9 Feb 2007 15:15:38 +0000 (15:15 +0000)]
* Makefile.tpl (build_alias, host_alias, target_alias): Use
noncanonical equivalents.
* configure.in: Rename to...
* configure.ac: ...this.  Update AC_PREREQ.  Prevent error for
AS_FOR_TARGET.  Set build_noncanonical, host_noncanonical, and
target_noncanonical.  Use them.  Rewrite removal of configure
arguments for autoconf 2.59.  Discard variable settings.  Force
program_transform_name for native tools.

* Makefile.in: Regenerated.
* configure: Regenerated with autoconf 2.59.

* src-release (DEVO_SUPPORT, do-proto-toplev): Expect configure.ac.

* acx.m4 (ACX_CHECK_INSTALLED_TARGET_TOOL): Avoid AC_PATH_PROG
with an empty path.

17 years ago*** empty log message ***
gdbadmin [Fri, 9 Feb 2007 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Thu, 8 Feb 2007 23:00:07 +0000 (23:00 +0000)]
daily update

17 years ago * features/Makefile, features/arm-with-iwmmxt.xml,
Daniel Jacobowitz [Thu, 8 Feb 2007 21:39:04 +0000 (21:39 +0000)]
* features/Makefile, features/arm-with-iwmmxt.xml,
features/gdbserver-regs.xsl, features/number-regs.xsl,
features/sort-regs.xsl, features/xscale-iwmmxt.xml: New files.
* regformats/arm-with-iwmmxt.dat: Generate.
* NEWS: Mention iWMMXt.

* gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.

* Makefile.in (OBS): Add $(XML_BUILTIN).
(XML_DIR, XML_TARGET, XML_FILES, XML_BUILTIN): New.
(clean): Update.
(target.xml, xml-builtin.c, stamp-xml, arm-with-iwmmxt.o)
(arm-with-iwmmxt.c): New.
* config.in, configure: Regenerate.
* configure.ac: Check for iWMMXt.  Handle srv_xmltarget,
srv_xmlbuiltin, and srv_xmlfiles.  Define USE_XML.
* configure.srv: Mention srv_xmltarget and srv_xmlfiles.
(arm*-*-linux*): Add iWMMXt and regset support.
* linux-arm-low.c (PTRACE_GETWMMXREGS, PTRACE_SETWMMXREGS): Define.
(arm_fill_gregset, arm_store_gregset, arm_fill_wmmxregset)
(arm_store_wmmxregset, target_regsets): New.
* server.c (get_features_xml): Take annex argument.  Check builtin
XML documents.
(handle_query): Handle multiple annexes.

17 years ago2007-02-08 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 8 Feb 2007 21:32:33 +0000 (21:32 +0000)]
2007-02-08  Jeff Johnston  <jjohnstn@redhat.com>

        * COPYING.LIBGLOSS: Reformat default Red Hat
        license to fit within 80 columns.
        * COPYING.NEWLIB: Ditto.

17 years ago * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
Daniel Jacobowitz [Thu, 8 Feb 2007 21:14:12 +0000 (21:14 +0000)]
* tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.

17 years ago * Makefile.in (arm-tdep.o, eval.o, target-descriptions.o)
Daniel Jacobowitz [Thu, 8 Feb 2007 21:00:36 +0000 (21:00 +0000)]
* Makefile.in (arm-tdep.o, eval.o, target-descriptions.o)
(xml-tdesc.o): Update.
* xml-support.c: Add a comment.
(gdb_xml_enums_boolean): New variable.
(gdb_xml_parse_attr_enum): Use strcasecmp.
* xml-support.h (gdb_xml_enums_boolean): Declare.
* xml-tdesc.c (struct tdesc_parsing_data): Record current_feature,
next_regnum, and current_union.
(tdesc_start_feature, tdesc_start_reg, tdesc_start_union)
(tdesc_end_union, tdesc_start_field, tdesc_start_vector)
(field_attributes, union_children, reg_attributes, union_attributes)
(vector_attributes, feature_attributes, feature_children): New.
(target_children): Make static.  Add <feature>.
(tdesc_elements): Make static.
* target-descriptions.c (struct tdesc_reg, tdesc_reg_p, type_p)
(struct tdesc_feature, tdesc_feature_p): New types.
(struct target_desc): Add features member.
(struct tdesc_arch_data, tdesc_data): New.
(target_find_description): Clarify error message.  Warn about
ignored register descriptions.
(tdesc_has_registers, tdesc_find_feature, tdesc_feature_name)
(tdesc_named_type, tdesc_data_init, tdesc_data_alloc)
(tdesc_data_cleanup, tdesc_numbered_register)
(tdesc_numbered_register_choices, tdesc_find_register)
(tdesc_register_name, tdesc_register_type)
(tdesc_remote_register_number, tdesc_register_reggroup_p)
(set_tdesc_pseudo_register_name, set_tdesc_pseudo_register_type)
(set_tdesc_pseudo_register_reggroup_p, tdesc_use_registers)
(tdesc_free_reg, tdesc_create_reg, tdesc_free_feature)
(tdesc_create_feature, tdesc_record_type): New.
(free_target_description): Free features.
(_initialize_target_descriptions): Initialize tdesc_data.
* arch-utils.c (default_remote_register_number): New.
* arch-utils.h (default_remote_register_number): New prototype.
* target-descriptions.h (set_tdesc_pseudo_register_name)
(set_tdesc_pseudo_register_type, set_tdesc_pseudo_register_reggroup_p)
(tdesc_use_registers, tdesc_data_alloc, tdesc_data_cleanup)
(tdesc_numbered_register, tdesc_numbered_register_choices)
(tdesc_has_registers, tdesc_find_feature, tdesc_feature_name)
(tdesc_named_type, tdesc_create_feature, tdesc_record_type)
(tdesc_create_reg): Declare.
* gdbarch.sh (remote_register_number): New entry.
* gdbarch.c, gdbarch.h: Regenerate.
* remote.c (init_remote_state): Use gdbarch_remote_register_number.
* features/gdb-target.dtd: Add feature, reg, vector, union, and field.

* arm-tdep.c (arm_register_aliases): New.
(arm_register_name_strings): Rename to...
(arm_register_names): ...this.  Make const.  Delete the old version.
(current_option, arm_register_byte): Delete.
(set_disassembly_style): Simplify.  Do not adjust arm_register_names.
(value_of_arm_user_reg): New.
(arm_gdbarch_init): Verify any described registers.  Call
tdesc_use_registers.  Don't use arm_register_byte.  Create aliases
for standard register names.
(_initialize_arm_tdep): Do not adjust arm_register_names.
* user-regs.c (struct user_reg): Add baton member.
(append_user_reg, user_reg_add_builtin, user_regs_init)
(user_reg_add, value_of_user_reg): Use a baton for user
register functions.
* std-regs.c: Update.
* user-regs.h (user_reg_read_ftype, user_reg_add_builtin)
(user_reg_add): Add baton argument.
* NEWS: Mention target description register support.
* features/arm-core.xml, features/arm-fpa.xml: New.
* eval.c (evaluate_subexp_standard): Allow ptype $register
when the program is not running.

* gdb.texinfo (-target-disconnect): Use @smallexample.
(Requirements): Add anchor for Expat.  Update description.
(Target Descriptions): Mention Expat.
(Target Description Format): Document new elements.  Use
@smallexample.
(Predefined Target Types, Standard Target Features): New sections.
* doc/gdbint.texinfo (Target Descriptions): New section.

* gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.

17 years ago*** empty log message ***
Nick Roberts [Thu, 8 Feb 2007 20:39:42 +0000 (20:39 +0000)]
*** empty log message ***

17 years agoUpdate tests to include value field in output of -var-create.
Nick Roberts [Thu, 8 Feb 2007 20:35:08 +0000 (20:35 +0000)]
Update tests to include value field in output of -var-create.

mi/mi-cmd-var.c (mi_cmd_var_create):  Add value field.

17 years agoFormatting fix.
Daniel Jacobowitz [Thu, 8 Feb 2007 20:24:16 +0000 (20:24 +0000)]
Formatting fix.

17 years agoUpdate tests to include value field in output of -var-create.
Nick Roberts [Thu, 8 Feb 2007 19:51:14 +0000 (19:51 +0000)]
Update tests to include value field in output of -var-create.

mi/mi-cmd-var.c (mi_cmd_var_create):  Add value field.

17 years ago*** empty log message ***
Nick Roberts [Thu, 8 Feb 2007 19:48:31 +0000 (19:48 +0000)]
*** empty log message ***

17 years ago* mi/mi-cmd-var.c (mi_cmd_var_create): Add value field.
Nick Roberts [Thu, 8 Feb 2007 19:46:30 +0000 (19:46 +0000)]
* mi/mi-cmd-var.c (mi_cmd_var_create): Add value field.

* gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
* gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
* gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
* gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
* gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
* gdb.mi/gdb792.exp, gdb.mi/gdb792.exp
* lib/mi-support.exp:
Update tests to include value field in output of -var-create.

17 years ago2007-02-08 Thiago Jung Bauermann <bauerman@br.ibm.com>
Daniel Jacobowitz [Thu, 8 Feb 2007 18:05:23 +0000 (18:05 +0000)]
2007-02-08  Thiago Jung Bauermann  <bauerman@br.ibm.com>

* rs6000-tdep.c (gdb_print_insn_powerpc): Set
info->disassembler_options to "any".

17 years ago * varobj.c (install_new_value): Only call value_get_print_value
Daniel Jacobowitz [Thu, 8 Feb 2007 17:39:48 +0000 (17:39 +0000)]
* varobj.c (install_new_value): Only call value_get_print_value
if changeable.

17 years ago * gdb.mi/mi-var-child.exp: Fix matching display of function value.
Andreas Schwab [Thu, 8 Feb 2007 17:06:01 +0000 (17:06 +0000)]
* gdb.mi/mi-var-child.exp: Fix matching display of function value.

17 years ago Reported by timeless@gmail.com:
Daniel Jacobowitz [Thu, 8 Feb 2007 16:31:57 +0000 (16:31 +0000)]
Reported by timeless@gmail.com:
* gdb/target.c (target_flash_erase): Do not return void value.
(target_flash_done): Likewise.
* gdb/cli/cli-cmds.c (source_command): Likewise.

Reported by timeless@gmail.com:
* wrapper.c (sim_target_parse_arg_array): Do not return void value.

17 years agoReviewed by Daniel Jacobowitz <drow@false.org>
Fred Fish [Thu, 8 Feb 2007 16:25:25 +0000 (16:25 +0000)]
Reviewed by Daniel Jacobowitz <drow@false.org>

2008-02-08  Fred Fish  <fnf@specifix.com>
* event-top.c (handle_sigint): Set quit_flag.
(async_request_quit): Don't set quit_flag.  Avoid calling quit()
if quit_flag has already been reset.

17 years ago * ser-mingw.c (pipe_windows_close): Move variable initialization back
Daniel Jacobowitz [Thu, 8 Feb 2007 16:24:11 +0000 (16:24 +0000)]
* ser-mingw.c (pipe_windows_close): Move variable initialization back
up.

17 years agoReviewed and approved by Daniel Jacobowitz <drow@false.org>
Fred Fish [Thu, 8 Feb 2007 16:18:56 +0000 (16:18 +0000)]
Reviewed and approved by Daniel Jacobowitz <drow@false.org>

2007-02-08  Fred Fish  <fnf@specifix.com>
* defs.h (request_quit): Remove declaration.
* utils.c (request_quit): Remove definition.

17 years agoCorrect some 2006 dates.
Daniel Jacobowitz [Thu, 8 Feb 2007 16:16:12 +0000 (16:16 +0000)]
Correct some 2006 dates.

17 years ago * rs6000-tdep.c (bl_to_blrl_insn_p): New function.
Daniel Jacobowitz [Thu, 8 Feb 2007 14:22:53 +0000 (14:22 +0000)]
* rs6000-tdep.c (bl_to_blrl_insn_p): New function.
(skip_prologue): Allow bl->blrl used by PIC code.

17 years ago * cp-valprint.c (cp_print_value_fields, cp_print_value): Always
Daniel Jacobowitz [Thu, 8 Feb 2007 14:20:56 +0000 (14:20 +0000)]
* cp-valprint.c (cp_print_value_fields, cp_print_value): Always
initialize tmp_obstack.
* p-valprint.c (pascal_object_print_value_fields)
(pascal_object_print_value): Likewise.

17 years ago * features/feature_to_c.sh: Use %s to avoid problems with nawk.
Daniel Jacobowitz [Thu, 8 Feb 2007 13:56:13 +0000 (13:56 +0000)]
* features/feature_to_c.sh: Use %s to avoid problems with nawk.

17 years ago * sparcnbsd-tdep.c: Include "gdbtypes.h" instead of "floatformat.h".
Mark Kettenis [Thu, 8 Feb 2007 10:39:19 +0000 (10:39 +0000)]
    * sparcnbsd-tdep.c: Include "gdbtypes.h" instead of "floatformat.h".
        * Makefile.in (sparcnbsd-tdep.o): Update dependencies.

17 years ago*** empty log message ***
gdbadmin [Thu, 8 Feb 2007 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Wed, 7 Feb 2007 23:00:08 +0000 (23:00 +0000)]
daily update

17 years ago * xml-tdesc.c (struct tdesc_xml_cache, tdesc_xml_cache_s)
Daniel Jacobowitz [Wed, 7 Feb 2007 22:51:36 +0000 (22:51 +0000)]
* xml-tdesc.c (struct tdesc_xml_cache, tdesc_xml_cache_s)
(xml_cache): New.
(tdesc_parse_xml): Cache expanded descriptions.

17 years ago * Makefile.in (XMLFILES): New.
Daniel Jacobowitz [Wed, 7 Feb 2007 22:48:06 +0000 (22:48 +0000)]
* Makefile.in (XMLFILES): New.
(COMMON_OBS): Add xml-builtin.o.
(xml-builtin.c, stamp-xml): New rules.
(xml-tdesc.o): Update.
* features/feature_to_c.sh: New file.
* xml-support.c (MAX_XINCLUDE_DEPTH): Define.
(struct gdb_xml_parser): Add dtd_name and is_xinclude.
(gdb_xml_start_element): Initialize scope after possibly reallocating
scopes.  Move cleanup later.  Handle the XInclude description
specially.
(gdb_xml_end_element): Only parse the body if there is a current element.
Call XML_DefaultCurrent if there is no element.
(gdb_xml_fetch_external_entity, gdb_xml_use_dtd): New.
(struct xinclude_parsing_data, xinclude_start_include)
(xinclude_end_include, xml_xinclude_default)
(xml_xinclude_start_doctype, xml_xinclude_end_doctype)
(xml_xinclude_xml_decl, xml_xinclude_cleanup, xinclude_attributes)
(xinclude_elements, xml_process_xincludes, fetch_xml_builtin): New.
* xml-support.h (xml_fetch_another, xml_process_xincludes)
(fetch_xml_builtin, xml_builtin, gdb_xml_use_dtd): New declarations.
* xml-tdesc.c (tdesc_parse_xml): Add fetcher_baton argument.  Expand
XInclude directives.  Use the compiled in DTD.
(fetch_xml_from_file): Add baton argument.  Treat it as a containing
directory name.  Do not warn here.
(file_read_description_xml): Update call.  Warn here instead.  Pass
a dirname as baton.
(fetch_available_features_from_target): New.
(target_read_description_xml): Use it.
* features/gdb-target.dtd: Add copyright notice.  Use xinclude.dtd
to handle XInclude.
* features/xinclude.dtd: New file.

* gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.

* gdb.texinfo (Target Description Format): Add section on XInclude.

17 years ago2007-02-07 Paul Brook <paul@codesourcery.com>
Paul Brook [Wed, 7 Feb 2007 17:06:20 +0000 (17:06 +0000)]
2007-02-07  Paul Brook  <paul@codesourcery.com>

ld/
* configure.tgt: Add arm*-*-uclinux-*eabi.
gas/
* configure.tgt: Ditto.

17 years agoAdd myself as maintainer of the MeP port.
Dave Brolley [Wed, 7 Feb 2007 16:55:29 +0000 (16:55 +0000)]
Add myself as maintainer of the MeP port.

17 years ago*** empty log message ***
gdbadmin [Wed, 7 Feb 2007 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Tue, 6 Feb 2007 23:00:07 +0000 (23:00 +0000)]
daily update

17 years agoAdd myself as the maintainer of the MeP port.
Dave Brolley [Tue, 6 Feb 2007 21:00:12 +0000 (21:00 +0000)]
Add myself as the maintainer of the MeP port.

17 years agoFix entries for MeP submission.
Dave Brolley [Tue, 6 Feb 2007 19:51:33 +0000 (19:51 +0000)]
Fix entries for MeP submission.

17 years agoFix entries for MeP submission.
Dave Brolley [Tue, 6 Feb 2007 18:57:08 +0000 (18:57 +0000)]
Fix entries for MeP submission.

17 years agoFix entries for MeP submission and complex relocations.
Dave Brolley [Tue, 6 Feb 2007 18:53:45 +0000 (18:53 +0000)]
Fix entries for MeP submission and complex relocations.

17 years agoFix entries for MeP submission.
Dave Brolley [Tue, 6 Feb 2007 18:16:55 +0000 (18:16 +0000)]
Fix entries for MeP submission.

17 years agoFix entries for MeP port and complex relocations.
Dave Brolley [Tue, 6 Feb 2007 18:10:34 +0000 (18:10 +0000)]
Fix entries for MeP port and complex relocations.

17 years agoAdd missing cast to (unsigned long)
Nick Clifton [Tue, 6 Feb 2007 16:47:47 +0000 (16:47 +0000)]
Add missing cast to (unsigned long)

17 years ago2007-02-06 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 6 Feb 2007 16:03:52 +0000 (16:03 +0000)]
2007-02-06  H.J. Lu  <hongjiu.lu@intel.com>

* ldlang.c (lang_size_sections_1): Add a missing `)'.

17 years agoPR ld/3805
Nick Clifton [Tue, 6 Feb 2007 15:26:53 +0000 (15:26 +0000)]
PR ld/3805
* ld-elf/sec64k.exp: Expect the relocatable version of this test to fail for
  the m32r because it creates both .rel and .rela sections.

17 years agoPR gas/3800
Nick Clifton [Tue, 6 Feb 2007 15:15:13 +0000 (15:15 +0000)]
PR gas/3800
* readelf.c: Include elf/h8.h twice.  The first time in order to get the reloc
  numbers, the second time in order to get the reloc decoder function.
  (dump_section): Tell the user if the section being displayed has unprocessed
  relocs associated with it.
  (get_reloc_size): New function - returns the size of a reloc.
  (debug_apply_rela_addends): Use get_reloc_size().
* dwarf.c (read_and_display_attr_value): Extend number of languages known for
  the DW_AT_language attribute.
  (process_debug_info): Display the attribute offset before decoding the
  attribute, in case there are problems.

17 years agoPR gas/3810 gas/3800
Nick Clifton [Tue, 6 Feb 2007 15:13:26 +0000 (15:13 +0000)]
PR gas/3810 gas/3800
* gas/elf/elf.exp: Expect the redef test to fail on targets which do not
  convert fixups against ordinary symbols into relocs against section symbols.
* gas/all/gas.exp: Likewise.

17 years agoFix comment attached to #endif
Nick Clifton [Tue, 6 Feb 2007 14:50:58 +0000 (14:50 +0000)]
Fix comment attached to #endif

17 years ago * ldlang.c (lang_size_sections_1): Don't warn on backwards dot
Alan Modra [Tue, 6 Feb 2007 13:56:38 +0000 (13:56 +0000)]
* ldlang.c (lang_size_sections_1): Don't warn on backwards dot
move unless section size is non-zero.

17 years ago*** empty log message ***
gdbadmin [Tue, 6 Feb 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago2007-02-05 Dave Brolley <brolley@redhat.com>
Dave Brolley [Mon, 5 Feb 2007 23:15:38 +0000 (23:15 +0000)]
2007-02-05  Dave Brolley  <brolley@redhat.com>
            Stan Cox  <scox@redhat.com>

        PR ld/3972
        * elflink.c (elf_link_input_bfd): Always setup finfo->internal_syms.

17 years agodaily update
Alan Modra [Mon, 5 Feb 2007 23:00:10 +0000 (23:00 +0000)]
daily update

17 years agoRemove white spaces at the end of line.
H.J. Lu [Mon, 5 Feb 2007 20:53:09 +0000 (20:53 +0000)]
Remove white spaces at the end of line.

17 years agoSupport for Toshiba MeP.
Dave Brolley [Mon, 5 Feb 2007 20:16:32 +0000 (20:16 +0000)]
Support for Toshiba MeP.

17 years agoSupport for Toshiba MeP and for complex relocations.
Dave Brolley [Mon, 5 Feb 2007 20:10:25 +0000 (20:10 +0000)]
Support for Toshiba MeP and for complex relocations.

17 years ago2007-02-05 Dave Brolley <brolley@redhat.com>
Dave Brolley [Mon, 5 Feb 2007 20:04:22 +0000 (20:04 +0000)]
2007-02-05  Dave Brolley  <brolley@redhat.com>

        * mep-*: New support for Toshiba Media Processor (MeP).
        * Makefile.am: Add support for MeP.
        * configure.in: Likewise.
        * disassemble.c: Likewise.
        * Makefile.in: Regenerated.
        * configure: Regenerated.

17 years ago * linux-thread-db.c (check_for_thread_db): Return early if we have
Daniel Jacobowitz [Mon, 5 Feb 2007 20:02:51 +0000 (20:02 +0000)]
* linux-thread-db.c (check_for_thread_db): Return early if we have
no libthread_db support.

17 years ago2007-02-05 Dave Brolley <brolley@redhat.com>
Dave Brolley [Mon, 5 Feb 2007 19:56:32 +0000 (19:56 +0000)]
2007-02-05  Dave Brolley  <brolley@redhat.com>

        * readelf.c (dump_relocations): Don't check for
        (rtype == NULL && type == R_RELC).

2007-02-05  Dave Brolley  <brolley@redhat.com>

        * Contribute the following changes:
        2003-10-29  Dave Brolley  <brolley@redhat.com>

        * configure.in: Define SKIP_ZEROES and SKIP_ZEROES_AT_END for mep.
        * configure: Regenerated.

        2001-04-03  Ben Elliston  <bje@redhat.com>

        * readelf.c: Include "elf/mep.h".
        (guess_is_rela): Handle EM_CYGNUS_MEP.
        (get_machine_name): Ditto.
        (dump_relocations): Ditto.

17 years agoAdd correct entrty for the addition of MeP.
Dave Brolley [Mon, 5 Feb 2007 19:55:14 +0000 (19:55 +0000)]
Add correct entrty for the addition of MeP.

17 years agoSupport for Toshiba MeP and for complex relocations.
Dave Brolley [Mon, 5 Feb 2007 19:50:12 +0000 (19:50 +0000)]
Support for Toshiba MeP and for complex relocations.

17 years agoFix year.
H.J. Lu [Mon, 5 Feb 2007 19:49:22 +0000 (19:49 +0000)]
Fix year.

17 years agoFix year in entries.
H.J. Lu [Mon, 5 Feb 2007 19:37:12 +0000 (19:37 +0000)]
Fix year in entries.

17 years ago2007-02-05 Dave Brolley <brolley@redhat.com>
Dave Brolley [Mon, 5 Feb 2007 19:17:10 +0000 (19:17 +0000)]
2007-02-05  Dave Brolley  <brolley@redhat.com>

        * Contribute the following changes:
        2001-03-26  Ben Elliston  <bje@redhat.com>

        * dis-asm.h (print_insn_mep): Declare.

17 years ago2007-02-05 Dave Brolley <brolley@redhat.com>
Dave Brolley [Mon, 5 Feb 2007 19:15:43 +0000 (19:15 +0000)]
2007-02-05  Dave Brolley  <brolley@redhat.com>

        * Contribute the following Changes:
        2005-08-22  Dave Brolley  <brolley@redhat.com>

        * mep.h (EF_MEP_CPU_C4): New macro.
        (EF_MEP_CPU_H1): Change to 0x10000000.

        2005-04-22  Richard Sandiford  <rsandifo@redhat.com>

        * mep.h (EF_MEP_LIBRARY): New flag.
        (EF_MEP_ALL_FLAGS): Update accordingly.

        2004-06-21  Dave Brolley  <brolley@redhat.com>

        * mep.h (EF_MEP_CPU_MASK, EF_MEP_CPU_MEP, EF_MEP_CPU_C2)
        (EF_MEP_CPU_C3, EF_MEP_CPU_H1, EF_MEP_INDEX_MASK)
        (EF_MEP_ALL_FLAGS): New macros.

        2001-09-28  Richard Henderson  <rth@redhat.com>

        * mep.h (SHF_MEP_VLIW, SEC_MEP_VLIW): New.

        2001-07-12  DJ Delorie  <dj@redhat.com>

        * mep.h (R_MEP_GNU_VTINHERIT, R_MEP_GNU_VTENTRY): Mark as no-overflow.

        2001-06-25  DJ Delorie  <dj@redhat.com>

        * mep.h: Add vtable relocs.

        2001-05-10  DJ Delorie  <dj@redhat.com>

        * mep.h: Fix bit offsets for HI16*, make them no-overflow.  Add
        comment about mep-relocs.pl.

        2001-05-01  DJ Delorie  <dj@redhat.com>

        * mep.h: Add MeP-specific relocs.

        2001-03-22  Ben Elliston  <bje@redhat.com>

        * mep.h: New file.

        2001-03-20  Ben Elliston  <bje@redhat.com>

        * common.h (EM_CYGNUS_MEP): Define.

17 years ago2007-02-05 Dave Brolley <brolley@redhat.com>
Dave Brolley [Mon, 5 Feb 2007 19:15:07 +0000 (19:15 +0000)]
2007-02-05  Dave Brolley  <brolley@redhat.com>

        * Contribute the following Changes:
        2005-08-22  Dave Brolley  <brolley@redhat.com>

        * mep.h (EF_MEP_CPU_C4): New macro.
        (EF_MEP_CPU_H1): Change to 0x10000000.

        2005-04-22  Richard Sandiford  <rsandifo@redhat.com>

        * mep.h (EF_MEP_LIBRARY): New flag.
        (EF_MEP_ALL_FLAGS): Update accordingly.

        2004-06-21  Dave Brolley  <brolley@redhat.com>

        * mep.h (EF_MEP_CPU_MASK, EF_MEP_CPU_MEP, EF_MEP_CPU_C2)
        (EF_MEP_CPU_C3, EF_MEP_CPU_H1, EF_MEP_INDEX_MASK)
        (EF_MEP_ALL_FLAGS): New macros.

        2001-09-28  Richard Henderson  <rth@redhat.com>

        * mep.h (SHF_MEP_VLIW, SEC_MEP_VLIW): New.

        2001-07-12  DJ Delorie  <dj@redhat.com>

        * mep.h (R_MEP_GNU_VTINHERIT, R_MEP_GNU_VTENTRY): Mark as no-overflow.

        2001-06-25  DJ Delorie  <dj@redhat.com>

        * mep.h: Add vtable relocs.

        2001-05-10  DJ Delorie  <dj@redhat.com>

        * mep.h: Fix bit offsets for HI16*, make them no-overflow.  Add
        comment about mep-relocs.pl.

        2001-05-01  DJ Delorie  <dj@redhat.com>

        * mep.h: Add MeP-specific relocs.

        2001-03-22  Ben Elliston  <bje@redhat.com>

        * mep.h: New file.

        2001-03-20  Ben Elliston  <bje@redhat.com>

        * common.h (EM_CYGNUS_MEP): Define.

2007-02-15  Dave Brolley  <brolley@redhat.com>

        From Graydon Hoare  <graydon@redhat.com>:
        * common.h (STT_RELC, STT_SRELC, R_RELC): New macros.

17 years ago2007-02-05 Dave Brolley <brolley@redhat.com>
Dave Brolley [Mon, 5 Feb 2007 19:12:54 +0000 (19:12 +0000)]
2007-02-05  Dave Brolley  <brolley@redhat.com>

        * mt-mep: New.

17 years ago2007-02-05 Dave Brolley <brolley@redhat.com>
Dave Brolley [Mon, 5 Feb 2007 19:10:45 +0000 (19:10 +0000)]
2007-02-05  Dave Brolley  <brolley@redhat.com>

        * Contribute the following changes:
        2006-11-28  DJ Delorie  <dj@redhat.com>

        * configure.in: Fix typo for mep's target_makefile_frag.
        * configure: Regenerated.

        2005-04-22  Richard Sandiford  <rsandifo@redhat.com>

        * configure.in (mep*): Add -mlibrary to FLAGS_FOR_TARGET.
        * configure: Regenerate.

        2001-09-19  DJ Delorie  <dj@redhat.com>

        * configure.in (target_makefile_frag): use mt-mep

        2001-06-12  Don Howard  <dhoward@redhat.com>

        * configure.in: Remove gdb from MeP skip list.

        2001-04-05  DJ Delorie  <dj@redhat.com>

        * configure.in (noconfigdirs): Remove gcc from MeP skip list.

        2001-03-20  Ben Elliston  <bje@redhat.com>

        * configure.in (noconfigdirs): Add gcc and gdb for MeP.

        2001-03-19  Ben Elliston  <bje@redhat.com>

        * config.sub (mep, mep-*): Add.

17 years agold/testsuite/
H.J. Lu [Mon, 5 Feb 2007 18:22:49 +0000 (18:22 +0000)]
ld/testsuite/

2076-02-05  H.J. Lu  <hongjiu.lu@intel.com>

* ld-i386/pcrel16.d: Undo the last change.
* ld-x86-64/pcrel16.d: Likewise.

opcodes/

2076-02-05  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (OP_J): Undo the last change. Properly handle 64K
wrap around within the same segment in 16bit mode.

17 years ago * elf32-xtensa.c (elf_xtensa_make_sym_local): Delete.
Bob Wilson [Mon, 5 Feb 2007 17:42:38 +0000 (17:42 +0000)]
* elf32-xtensa.c (elf_xtensa_make_sym_local): Delete.
(elf_xtensa_hide_symbol, elf_backend_hide_symbol): Delete.
(elf_xtensa_fix_refcounts, elf_xtensa_allocate_plt_size)
(elf_xtensa_allocate_got_size): Replace these with...
(elf_xtensa_allocate_dynrelocs): ...this new function.
(elf_xtensa_size_dynamic_sections): Use it.

17 years ago * elf32-xtensa.c (elf_howto_table) <R_XTENSA_GLOB_DAT>
Bob Wilson [Mon, 5 Feb 2007 17:18:39 +0000 (17:18 +0000)]
* elf32-xtensa.c (elf_howto_table) <R_XTENSA_GLOB_DAT>
<R_XTENSA_JMP_SLOT, R_XTENSA_RELATIVE, R_XTENSA_PLT, R_XTENSA_DIFF32>:
Set src_mask to zero.
<R_XTENSA_DIFF8, R_XTENSA_DIFF16>: Likewise.  Also fix dst_mask.
<R_XTENSA_ASM_EXPAND>: Set pcrel_offset to TRUE.

17 years ago * mi/mi-parse.h: Include <sys/time.h>.
Daniel Jacobowitz [Mon, 5 Feb 2007 13:22:20 +0000 (13:22 +0000)]
* mi/mi-parse.h: Include <sys/time.h>.

17 years ago2076-02-04 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 5 Feb 2007 02:36:47 +0000 (02:36 +0000)]
2076-02-04  H.J. Lu  <hongjiu.lu@intel.com>

PR gas/3961
* gas/i386/secrel.d: Support 64bit host.

17 years ago*** empty log message ***
gdbadmin [Mon, 5 Feb 2007 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Sun, 4 Feb 2007 23:00:07 +0000 (23:00 +0000)]
daily update

17 years ago*** empty log message ***
Nick Roberts [Sun, 4 Feb 2007 20:57:26 +0000 (20:57 +0000)]
*** empty log message ***

17 years ago* config/tc-m32c.c (m32c_cons_fix_new): New. Added to support 3
DJ Delorie [Sun, 4 Feb 2007 04:45:36 +0000 (04:45 +0000)]
* config/tc-m32c.c (m32c_cons_fix_new): New.  Added to support 3
byte relocs.
* config/tc-m32c.h (TC_CONS_FIX_NEW): Define.
(m32c_cons_fix_new): Prototype.

17 years ago*** empty log message ***
gdbadmin [Sun, 4 Feb 2007 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Sat, 3 Feb 2007 23:00:07 +0000 (23:00 +0000)]
daily update

17 years ago * elf32-xtensa.c (xtensa_elf_dynamic_symbol_p): Renamed to...
Bob Wilson [Sat, 3 Feb 2007 06:34:22 +0000 (06:34 +0000)]
    * elf32-xtensa.c (xtensa_elf_dynamic_symbol_p): Renamed to...
        (elf_xtensa_dynamic_symbol_p): ...this.

17 years ago * elf32-xtensa.c (plt_reloc_count): Move into link hash table.
Bob Wilson [Sat, 3 Feb 2007 06:25:00 +0000 (06:25 +0000)]
    * elf32-xtensa.c (plt_reloc_count): Move into link hash table.
        (struct elf_xtensa_link_hash_table): New.
        (elf_xtensa_hash_table): New.
        (elf_xtensa_link_hash_table_create): New.
        (elf_xtensa_check_relocs): Update plt_reloc_count references.
        Update arguments to add_extra_plt_sections.
        (elf_xtensa_create_dynamic_sections): Record new sections in the hash
        table.  Update for plt_reloc_count and add_extra_plt_sections.
        (add_extra_plt_sections, elf_xtensa_create_plt_entry): Replace dynobj
        argument with link info.  Update calls to elf_xtensa_get_plt_section
        and elf_xtensa_get_gotplt_section.
        (elf_xtensa_allocate_local_got_size, elf_xtensa_size_dynamic_sections)
        (elf_xtensa_relocate_section, elf_xtensa_finish_dynamic_sections)
        (elf_xtensa_discard_info_for_section, shrink_dynamic_reloc_sections)
        (relax_property_section): Get sections from the hash table and update
        function calls.
        (elf_xtensa_get_plt_section, elf_xtensa_get_gotplt_section): Replace
        dynobj argument with link info.  Get sections for first plt chunk from
        the hash table.
        (bfd_elf32_bfd_link_hash_table_create): Define.

17 years ago*** empty log message ***
Nick Roberts [Sat, 3 Feb 2007 05:41:46 +0000 (05:41 +0000)]
*** empty log message ***

17 years agoNumerous formatting changes.
Nick Roberts [Sat, 3 Feb 2007 05:41:15 +0000 (05:41 +0000)]
Numerous formatting changes.
(mi_cmd_data_write_register_values): Replace clause inadvertantly
removed in my previous change.

17 years ago*** empty log message ***
Nick Roberts [Sat, 3 Feb 2007 05:17:00 +0000 (05:17 +0000)]
*** empty log message ***

17 years agoCosmetic change.
H.J. Lu [Sat, 3 Feb 2007 00:55:42 +0000 (00:55 +0000)]
Cosmetic change.

17 years agold/testsuite/
H.J. Lu [Sat, 3 Feb 2007 00:46:22 +0000 (00:46 +0000)]
ld/testsuite/

2076-02-02  H.J. Lu  <hongjiu.lu@intel.com>

* ld-i386/pcrel16.d: Updated.
* ld-x86-64/pcrel16.d: Likewise.

opcodes/

2076-02-02  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (OP_J): Mask to 16bit only if there is a data16
prefix.

17 years ago * config/tc-xtensa.c (xg_build_to_insn): Use tinsn_init.
Bob Wilson [Sat, 3 Feb 2007 00:08:22 +0000 (00:08 +0000)]
* config/tc-xtensa.c (xg_build_to_insn): Use tinsn_init.
(xg_expand_assembly_insn, istack_push_space, istack_pop): Likewise.

17 years ago*** empty log message ***
gdbadmin [Sat, 3 Feb 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago * config/tc-xtensa.c (SUFFIX_MAP, suffix_relocs): New.
Bob Wilson [Fri, 2 Feb 2007 23:59:29 +0000 (23:59 +0000)]
* config/tc-xtensa.c (SUFFIX_MAP, suffix_relocs): New.
(xtensa_elf_suffix): Use suffix_relocs instead of local mapping table.
(map_suffix_reloc_to_operator): New.
(map_operator_to_reloc): New.
(expression_maybe_register): Fix incorrect test of return value from
xtensa_elf_suffix.  Rearrange to use map_suffix_reloc_to_operator.
(xg_assemble_literal, convert_frag_immed): Use map_operator_to_reloc.

17 years ago(mi_load_progress, timestamp, print_diff_now):
Nick Roberts [Fri, 2 Feb 2007 23:29:52 +0000 (23:29 +0000)]
(mi_load_progress, timestamp, print_diff_now):
Use 1000000L instead of 1000000.

17 years ago * config/xtensa-istack.h (struct tinsn_struct): Delete fixup field.
Bob Wilson [Fri, 2 Feb 2007 23:26:53 +0000 (23:26 +0000)]
* config/xtensa-istack.h (struct tinsn_struct): Delete fixup field.
(tinsn_get_tok): Delete prototype.
* config/tc-xtensa.c (tinsn_get_tok): Delete.