OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
17 years agodaily update
amodra [Thu, 8 Feb 2007 23:00:07 +0000 (23:00 +0000)]
daily update

17 years agoCOrrect comments identifying MeP specific options.
brolley [Thu, 8 Feb 2007 21:52:03 +0000 (21:52 +0000)]
COrrect comments identifying MeP specific options.

17 years ago * features/Makefile, features/arm-with-iwmmxt.xml,
drow [Thu, 8 Feb 2007 21:39:03 +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>
jjohnstn [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 ago2007-02-08 Dave Brolley <brolley@redhat.com>
jjohnstn [Thu, 8 Feb 2007 21:22:05 +0000 (21:22 +0000)]
2007-02-08  Dave Brolley  <brolley@redhat.com>

        * mep: New target directory.
        * README: Add MeP.
        * configure.in: Add support for MeP.
        * configure: Regenerated.
        * mep/configure.in: New file.
        * mep/configure: Ditto.
        * mep/Makefile.in: Ditto.
        * mep/aclocal.m4: Ditto.
        * mep/crt0.S: Ditto.
        * mep/crtn.S: Ditto.
        * mep/sim-crt0.S: Ditto.
        * mep/sim-crtn.S: Ditto.
        * mep/fmax.ld: Ditto.
        * mep/gcov-io.h: Ditto.
        * mep/gmap_default.ld: Ditto.
        * mep/handlers.c: Ditto.
        * mep/h_reset.c: Ditto.
        * mep/isatty.c: Ditto.
        * mep/mep-bb.c: Ditto.
        * mep/mep-gmon.c: Ditto.
        * mep/min.ld: Ditto.
        * mep/read.c: Ditto.
        * mep/sbrk.c: Ditto.
        * mep/sdram-crt0.S: Ditto.
        * mep/sdram-crtn.S: Ditto.
        * mep/simnovec-crt0.S: Ditto.
        * mep/simple.ld: Ditto.
        * mep/simsdran-crt0.S: Ditto.
        * mep/syscalls.S: Ditto.
        * mep/write.c: Ditto.

17 years ago * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
drow [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)
drow [Thu, 8 Feb 2007 21:00:27 +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 ***
nickrob [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.
nickrob [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.
drow [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.
nickrob [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 ***
nickrob [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.
nickrob [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 ago*** empty log message ***
nickrob [Thu, 8 Feb 2007 19:43:43 +0000 (19:43 +0000)]
*** empty log message ***

17 years ago2007-02-08 Thiago Jung Bauermann <bauerman@br.ibm.com>
drow [Thu, 8 Feb 2007 18:05:21 +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
drow [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 * insight-support.exp (gdbtk_start): Return error status instead
schwab [Thu, 8 Feb 2007 17:12:50 +0000 (17:12 +0000)]
* insight-support.exp (gdbtk_start): Return error status instead
of aborting the whole testsuite run.

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

17 years ago Reported by timeless@gmail.com:
drow [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>
fnf [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
drow [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>
fnf [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.
drow [Thu, 8 Feb 2007 16:16:12 +0000 (16:16 +0000)]
Correct some 2006 dates.

17 years ago * syscalls.cc (check_shm): New static function to do path checking
corinna [Thu, 8 Feb 2007 14:40:12 +0000 (14:40 +0000)]
* syscalls.cc (check_shm): New static function to do path checking
common to shm_open and shm_unlink.  Check for /dev/shm existance.
(shm_open): Call check_shm.
(shm_unlink): Ditto.

17 years ago * rs6000-tdep.c (bl_to_blrl_insn_p): New function.
drow [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
drow [Thu, 8 Feb 2007 14:20:55 +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.
drow [Thu, 8 Feb 2007 13:56:12 +0000 (13:56 +0000)]
* features/feature_to_c.sh: Use %s to avoid problems with nawk.

17 years ago * cygwin.din (shm_open): Export.
corinna [Thu, 8 Feb 2007 13:36:53 +0000 (13:36 +0000)]
* cygwin.din (shm_open): Export.
(shm_unlink): Export.
* syscalls.cc (shm_open): New function.
(shm_unlink): New function.
* sysconf.cc (sca): Set value of _SC_SHARED_MEMORY_OBJECTS to
_POSIX_SHARED_MEMORY_OBJECTS.
* include/cygwin/version.h: Bump API minor number.
* include/sys/mman.h (shm_open): Add prototype.
(shm_unlink): Ditto.

17 years ago * libc/include/sys/features.h: Add _POSIX_SHARED_MEMORY_OBJECTS for
corinna [Thu, 8 Feb 2007 13:34:19 +0000 (13:34 +0000)]
* libc/include/sys/features.h: Add _POSIX_SHARED_MEMORY_OBJECTS for
Cygwin.  Fix value of _POSIX_SEMAPHORES.  Fix formatting.

17 years ago * cygmalloc.h (__set_ENOMEM): Declare.
corinna [Thu, 8 Feb 2007 11:35:51 +0000 (11:35 +0000)]
* cygmalloc.h (__set_ENOMEM): Declare.
(MALLOC_FAILURE_ACTION): Call __set_ENOMEM.
* malloc_wrapper.cc (malloc) Remove setting errno here.
(realloc): Ditto.
(calloc): Ditto.
(memalign): Ditto.
(valloc): Ditto.
(posix_memalign): Save and restore errno.

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

17 years ago * include/io.h (X_OK): Revert 2007-01-24 change, but leave comment.
dannysmith [Thu, 8 Feb 2007 08:15:32 +0000 (08:15 +0000)]
* include/io.h (X_OK):  Revert 2007-01-24 change, but leave comment.

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
amodra [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)
drow [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.
drow [Wed, 7 Feb 2007 22:48:05 +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 ago * cygmalloc.h (MALLOC_FAILURE_ACTION): Move to correct #if branch.
corinna [Wed, 7 Feb 2007 20:44:04 +0000 (20:44 +0000)]
* cygmalloc.h (MALLOC_FAILURE_ACTION): Move to correct #if branch.

17 years agoRemove some scaffolding which was inadvertently commited.
brolley [Wed, 7 Feb 2007 19:59:36 +0000 (19:59 +0000)]
Remove some scaffolding which was inadvertently commited.

17 years ago2007-02-07 Dave Brolley <brolley@redhat.com>
brolley [Wed, 7 Feb 2007 19:54:08 +0000 (19:54 +0000)]
2007-02-07  Dave Brolley  <brolley@redhat.com>

        * rebuild.mk (all-binutils,all-gas,all-ld): Depend on
        mep-reconfig-opcodes.

17 years ago2007-02-07 Dave Brolley <brolley@redhat.com>
brolley [Wed, 7 Feb 2007 19:47:50 +0000 (19:47 +0000)]
2007-02-07  Dave Brolley  <brolley@redhat.com>

        * rebuild.mk: Remove scaffolding for gcc and gdb.

17 years ago * cygmalloc.h (MALLOC_FAILURE_ACTION): Define empty.
corinna [Wed, 7 Feb 2007 17:22:39 +0000 (17:22 +0000)]
* cygmalloc.h (MALLOC_FAILURE_ACTION): Define empty.
* cygwin.din (posix_madvise): Export.
(posix_memalign): Export.
* fhandler.cc (fhandler_base::fpathconf): Return useful values in
_PC_VDISABLE, _PC_SYNC_IO and _PC_SYMLINK_MAX cases.
* malloc_wrapper.cc (malloc): Set errno here since it's not set in
dlmalloc.c anymore.
(realloc): Ditto.
(calloc): Ditto.
(memalign): Ditto.
(valloc): Ditto.
(posix_memalign): New function.
* mmap.cc (posix_madvise): New function.
* sysconf.cc (get_open_max): New function.
(get_page_size): Ditto.
(get_nproc_values): Ditto.
(get_avphys): Ditto.
(sc_type): New type.
(sca): New array to map _SC_xxx options to sysconf return values.
(sysconf): Reimplement using sca array.
* include/limits.h: Add all missing values as defined by SUSv3.
* include/pthread.h (PTHREAD_DESTRUCTOR_ITERATIONS): Move definition
to sys/limits.h.
(PTHREAD_KEYS_MAX): Ditto.
* include/semaphore.h (SEM_VALUE_MAX): Ditto.
* include/cygwin/stdlib.h (posix_memalign): Declare.
* include/cygwin/version.h: Bump API minor number.
* include/sys/mman.h: Add posix_madvise flags.
(posix_madvise): Declare.
* include/sys/termios.h (_POSIX_VDISABLE): Move definition to
sys/limits.h.

17 years ago * libc/include/sys/features.h: Add definition of all supported
corinna [Wed, 7 Feb 2007 17:19:34 +0000 (17:19 +0000)]
* libc/include/sys/features.h: Add definition of all supported
_POSIX_xxx values for Cygwin.
* libc/include/sys/types.h (pthread_rwlock_t): Omit definition
on Cygwin.
(pthread_rwlockattr_t): Ditto.
* libc/include/sys/unistd.h: Define all _SC_xxx values as
required by SUSv3.  Unify formatting.

17 years ago2007-02-07 Paul Brook <paul@codesourcery.com>
pbrook [Wed, 7 Feb 2007 17:06:19 +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.
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
amodra [Tue, 6 Feb 2007 23:00:07 +0000 (23:00 +0000)]
daily update

17 years agoAdd myself as the maintainer of the MeP port.
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.
brolley [Tue, 6 Feb 2007 19:51:33 +0000 (19:51 +0000)]
Fix entries for MeP submission.

17 years agoFix entries for MeP submission.
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.
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.
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.
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)
nickc [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>
hjl [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
nickc [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
nickc [Tue, 6 Feb 2007 15:15:12 +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
nickc [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
nickc [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
amodra [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>
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
amodra [Mon, 5 Feb 2007 23:00:10 +0000 (23:00 +0000)]
daily update

17 years agoRemove white spaces at the end of line.
hjl [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.
brolley [Mon, 5 Feb 2007 20:37:29 +0000 (20:37 +0000)]
Support for Toshiba MeP.

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

        * Makefile.def: Add support for mep.
        * configure.ac: Likewise.
        * Makefile.in: Regenerated.
        * configure: Regenerated.
        * Contribute the following changes:
        2001-07-06  DJ Delorie  <dj@redhat.com>

        * mep: New subdirectory and contents.

17 years agoSupport for Toshiba MeP.
brolley [Mon, 5 Feb 2007 20:28:38 +0000 (20:28 +0000)]
Support for Toshiba MeP.

17 years agoSupport for Toshiba MeP.
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.
brolley [Mon, 5 Feb 2007 20:10:23 +0000 (20:10 +0000)]
Support for Toshiba MeP and for complex relocations.

17 years ago2007-02-05 Dave Brolley <brolley@redhat.com>
brolley [Mon, 5 Feb 2007 20:04:21 +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
drow [Mon, 5 Feb 2007 20:02:50 +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>
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.
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.
brolley [Mon, 5 Feb 2007 19:50:11 +0000 (19:50 +0000)]
Support for Toshiba MeP and for complex relocations.

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

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

        * *mep*: New cpu description for Toshiba Media Processor (MeP).

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

        * opc-asmdis.scm (-gen-init-asm-fn): Include CGEN_ASM_INIT_HOOK
        in the generated code for @arch@_cgen_init_asm if it is defined.

        * Contribute the following changes:
        2005-04-05  Richard Sandiford  <rsandifo@redhat.com>

        * attr.scm (<string-attribute>): New attribute class.
        (attr-kind): Handle <string-attribute>.
        (parse-simple-attribute): New function.
        (<boolean-attribute> 'parse-value): Use parse-simple-attribute.
        (<bitset-attribute> 'parse-value): Likewise.
        (<boolean-attribute> 'parse-value): Likewise.
        (<enum-attribute> 'parse-value): Likewise.
        (<string-attribute> 'parse-value): New function.
        (-attr-parse): Handle <string-attribute>.
        (-attr-read): Likewise.
        (<string-attribute> 'gen-value-for-defn-raw): New function.
        (<string-attribute> 'gen-value-for-defn): New function.

17 years agoFix year in entries.
hjl [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>
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>
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>
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>
brolley [Mon, 5 Feb 2007 19:12:53 +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>
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/
hjl [Mon, 5 Feb 2007 18:22:48 +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.
bwilson [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>
bwilson [Mon, 5 Feb 2007 17:18:38 +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>.
drow [Mon, 5 Feb 2007 13:22:15 +0000 (13:22 +0000)]
* mi/mi-parse.h: Include <sys/time.h>.

17 years ago * fhandler_serial.cc (fhandler_serial::tcsetattr): Add support for
corinna [Mon, 5 Feb 2007 12:32:21 +0000 (12:32 +0000)]
* fhandler_serial.cc (fhandler_serial::tcsetattr): Add support for
baud rates up to 3000000 baud.  Add missing 128K and 256K cases.
(fhandler_serial::tcgetattr): Ditto.
* include/sys/termios.h: Add baud rate definitions from B460800 up to
B3000000.

17 years ago2076-02-04 H.J. Lu <hongjiu.lu@intel.com>
hjl [Mon, 5 Feb 2007 02:36:46 +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
amodra [Sun, 4 Feb 2007 23:00:07 +0000 (23:00 +0000)]
daily update

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

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

17 years ago* config/tc-m32c.c (m32c_cons_fix_new): New. Added to support 3
dj [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
amodra [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...
bwilson [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.
bwilson [Sat, 3 Feb 2007 06:24:59 +0000 (06:24 +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 ***
nickrob [Sat, 3 Feb 2007 05:41:46 +0000 (05:41 +0000)]
*** empty log message ***

17 years agoNumerous formatting changes.
nickrob [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 ***
nickrob [Sat, 3 Feb 2007 05:17:00 +0000 (05:17 +0000)]
*** empty log message ***