OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
20 years ago * config/tc-m68k.c: Convert to C90. Remove redundant
schwab [Sun, 11 Jul 2004 15:20:29 +0000 (15:20 +0000)]
* config/tc-m68k.c: Convert to C90.  Remove redundant
declarations.  Indentation fixup.
[M68KCOFF]: Include "obj-coff.h" instead of declaring
obj_coff_section ourselves.

20 years ago* m68k-dis.c (m68k_valid_ea): Fix typos in last change.
schwab [Sun, 11 Jul 2004 14:29:50 +0000 (14:29 +0000)]
* m68k-dis.c (m68k_valid_ea): Fix typos in last change.

20 years ago * include/unistd.h (ftruncate): Add inline definition.
dannysmith [Sun, 11 Jul 2004 10:01:41 +0000 (10:01 +0000)]
* include/unistd.h (ftruncate): Add inline definition.
* mingwex/ftruncate.c: New file.
* mingwex/Makefile.in: Add ftruncate.o to libmingwex.a.

20 years ago2004-07-10 Randolph Chung <tausq@debian.org>
tausq [Sun, 11 Jul 2004 06:51:39 +0000 (06:51 +0000)]
2004-07-10  Randolph Chung  <tausq@debian.org>

* hppa-hpux-tdep.c (hppa_hpux_som_find_global_pointer): New
function.
(hppa_hpux_push_dummy_code): New function.
(hppa_hpux_init_abi): Set push_dummy_code and call_dummy_location.
Set find_global_pointer method.

20 years agoFix linker big-endian support.
wilson [Sun, 11 Jul 2004 03:15:29 +0000 (03:15 +0000)]
Fix linker big-endian support.
* elfxx-ia64.c (elfNN_ia64_relax_ldxmov): Remove abfd parameter.
(elfNN_ia64_install_value, elfNN_ia64_relax_brl): Likewise.
(elfNN_ia64_relax_section, elfNN_ia64_relocate_section,
elfNN_ia64_finish_dynamic_symbol, elfNN_ia64_finish_dynamic_sections):
Fix callers.
(elfNN_ia64_relax_brl): Change bfd_get_64 to bfd_getl64.  Change
bfd_put_64 to bfd_putl64.
(elfNN_ia64_relax_ldxmov, elfNN_ia64_install_value): Likewise.

20 years ago*** empty log message ***
gdbadmin [Sun, 11 Jul 2004 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
amodra [Sun, 11 Jul 2004 00:00:06 +0000 (00:00 +0000)]
daily update

20 years ago* NEWS: Mention BSD libkvm interface.
kettenis [Sat, 10 Jul 2004 21:23:59 +0000 (21:23 +0000)]
* NEWS: Mention BSD libkvm interface.

20 years ago * include/time.h: Do not include sys/types.h.
dannysmith [Sat, 10 Jul 2004 04:06:08 +0000 (04:06 +0000)]
* include/time.h: Do not include sys/types.h.

20 years ago2004-07-10 Michael Snyder <msnyder@redhat.com>
msnyder [Sat, 10 Jul 2004 01:17:51 +0000 (01:17 +0000)]
2004-07-10  Michael Snyder  <msnyder@redhat.com>

        * symfile.c (generic_load): Comment typo.
        * stack.c (get_selected_block): Ditto.
        * regcache.c (regcache_cooked_read): Ditto.
        * monitor.c (monitor_debug): Ditto.
        * mips-tdep.c (mips_read_pc): Ditto.
        * i386-linux-nat.c (ps_get_thread_area): Ditto.
        * gdb_mbuild.sh: Ditto.
        * gdbarch.sh: Ditto.
        * gdbarch.h: Ditto.

20 years ago * hw-tree.c (parse_integer_property): Typo fix in comments.
bje [Sat, 10 Jul 2004 00:40:25 +0000 (00:40 +0000)]
* hw-tree.c (parse_integer_property): Typo fix in comments.
* sim-options.c (sim_args_command): Likewise.

20 years agodaily update
amodra [Sat, 10 Jul 2004 00:00:07 +0000 (00:00 +0000)]
daily update

20 years ago*** empty log message ***
gdbadmin [Sat, 10 Jul 2004 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

20 years agoMake -meb/-mel options work.
wilson [Fri, 9 Jul 2004 23:21:53 +0000 (23:21 +0000)]
Make -meb/-mel options work.
* config/tc-ia64.c (default_big_endian): New.
(dot_byteorder, md_begin): Use it.
(md_parse_option): Set it.

20 years ago2004-07-09 Michael Snyder <msnyder@redhat.com>
msnyder [Fri, 9 Jul 2004 20:00:25 +0000 (20:00 +0000)]
2004-07-09  Michael Snyder  <msnyder@redhat.com>

        * lib/gdbserv-target.c (gdbserv_fromtarget_terminate): Rename
        parameter from exitval to sigval (it's a signal number).
        * lib/gdbserv-target.c (gdbserv_totarget): Comment spelling fix.
        * lib/gdbserv-state.c (gdbserv_fromclient_break): Add break
        statement to default.

20 years agoRemoved ada-tasks.c, as ACT plans to rewrite it extensively before
hilfingr [Fri, 9 Jul 2004 19:36:17 +0000 (19:36 +0000)]
Removed ada-tasks.c, as ACT plans to rewrite it extensively before
submission.

20 years agoRemove ARI problems:
hilfingr [Fri, 9 Jul 2004 19:29:55 +0000 (19:29 +0000)]
Remove ARI problems:

* ada-exp.y (write_var_from_sym): Reformat to put operator at
beginning of line.

* ada-lang.c (MAX_OF_SIZE): Rename max_of_size.
Add comment.
Add comment concerning MAX_OF_TYPE and MIN_OF_TYPE.
(MIN_OF_SIZE): Rename min_of_size.  Add comment.
(UMAX_OF_SIZE): Renmae umax_of_size.  Add comment.
(UMIN_OF_SIZE): Remove.
(max_of_type): New function to replace orphan macro in gdbtypes.h
(min_of_type): Ditto.
(discrete_type_high_bound): Use max_of_type.
(discrete_type_low_bound): Use min_of_type.
(possible_user_operator_p): Move operator to beginning of line.
(ada_is_variant_part): Ditto.
(ensure_lval): Rewrite to avoid deprecated operations.
(ada_finish_decode_line_1): Use gdbarch_convert_from_func_ptr_addr
rather than adding DEPRECATED_FUNCTION_START_OFFSET.
(ada_enum_name): Remove assignments in 'if' statements.
(build_ada_types): Add gdbarch parameter.
(_initialize_ada_language): Replace deprecated_register_gdbarch_swap
with gdbarch_data_register_post_init.
Use add_setshow_uinteger_cmd rather than add_set_cmd and
add_show_from_set.

* ada-valprint.c (inspect_it): Remove declaration.
(repeat_count_threshold): Remove declaration.
(ada_print_floating): Remove assignments in 'if' statements.
(print_str): Move operator to beginning of line.

20 years ago2004-07-09 H.J. Lu <hongjiu.lu@intel.com>
hjl [Fri, 9 Jul 2004 19:27:15 +0000 (19:27 +0000)]
2004-07-09  H.J. Lu  <hongjiu.lu@intel.com>

PR 240
* elfxx-ia64.c (elfNN_ia64_relax_section): Only warn br in
.init/.fini sections when trying to relax it.

20 years agoFix @kindex entries so that multiple commands that
eliz [Fri, 9 Jul 2004 18:44:51 +0000 (18:44 +0000)]
Fix @kindex entries so that multiple commands that
have the same prefix have only their prefix in the index.

20 years agobinutils/testsuite/:
schwab [Fri, 9 Jul 2004 18:42:13 +0000 (18:42 +0000)]
binutils/testsuite/:
* binutils-all/m68k/movem.s: New file.

* binutils-all/m68k/objdump.exp: New file.

include/opcode/:
* m68k.h: Fix comment.

opcodes/:
* m68k-dis.c (m68k_valid_ea): Check validity of all codes.

20 years ago* gas/m32r/pic2.s: New file: Test case for @GOTOFF, @GOT, @PLT.
nickc [Fri, 9 Jul 2004 16:32:01 +0000 (16:32 +0000)]
* gas/m32r/pic2.s: New file: Test case for @GOTOFF, @GOT, @PLT.
* gas/m32r/pic2.d: New file: Expected results.

20 years ago (asm_prefix): Add parameter: name. No underscore for symbols beginning with ?.
nickc [Fri, 9 Jul 2004 16:20:05 +0000 (16:20 +0000)]
 (asm_prefix): Add parameter: name. No underscore for symbols beginning with ?.
(ASM_PREFIX): Add parameter: NAME.
(gen_exp_file): Use new parameter.
(make_label): Likewise.
(make_imp_label): Likewise.
(make_one_lib_file): Likewise.

20 years ago* elf.c (assign_file_positions_for_segments): Make sure the .dynamic section
nickc [Fri, 9 Jul 2004 16:06:18 +0000 (16:06 +0000)]
* elf.c (assign_file_positions_for_segments): Make sure the .dynamic section
is the first section in the PT_DYNAMIC segment

20 years agoRename sh-symbian-elf toolchain to sh-*-symbianelf
nickc [Fri, 9 Jul 2004 12:32:28 +0000 (12:32 +0000)]
Rename sh-symbian-elf toolchain to sh-*-symbianelf

20 years agodaily update
amodra [Fri, 9 Jul 2004 00:00:05 +0000 (00:00 +0000)]
daily update

20 years ago*** empty log message ***
gdbadmin [Fri, 9 Jul 2004 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago* rs6000-tdep.c (registers_powerpc_nofp): Unused; deleted.
jimb [Thu, 8 Jul 2004 23:43:47 +0000 (23:43 +0000)]
* rs6000-tdep.c (registers_powerpc_nofp): Unused; deleted.

20 years ago2004-07-08 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Thu, 8 Jul 2004 21:00:44 +0000 (21:00 +0000)]
2004-07-08  Jeff Johnston  <jjohnstn@redhat.com>

        * gdb.java/jmain.exp: Fix expected line number for main to
        break at.  Set XFAIL for break at main test since gcj does not
        provide line number info for first statement in main.

20 years ago2004-07-08 Andrew Cagney <cagney@gnu.org>
cagney [Thu, 8 Jul 2004 20:04:46 +0000 (20:04 +0000)]
2004-07-08  Andrew Cagney  <cagney@gnu.org>

* gdb.base/attach.exp: Cleanup copyright.  Re-indent.

20 years ago* Makefile.def (host_modules): Set bootstrap=true for flex.
aoliva [Thu, 8 Jul 2004 19:46:03 +0000 (19:46 +0000)]
* Makefile.def (host_modules): Set bootstrap=true for flex.
* Makefile.tpl (all-gcc): Depend on texinfo and flex.
* Makefile.in: Rebuilt.

20 years ago * ld-mips-elf/reloc-merge-lo16.{s,d,ld}: New test.
rsandifo [Thu, 8 Jul 2004 15:43:00 +0000 (15:43 +0000)]
* ld-mips-elf/reloc-merge-lo16.{s,d,ld}: New test.
* ld-mips-elf/mips-elf.exp: Run it.

20 years agoRemove superfluous stuff from 2004-07-03 entry.
rsandifo [Thu, 8 Jul 2004 15:41:11 +0000 (15:41 +0000)]
Remove superfluous stuff from 2004-07-03 entry.

20 years ago * config/tc-mips.c (mips_fix_adjustable): If the full addend is
rsandifo [Thu, 8 Jul 2004 15:39:41 +0000 (15:39 +0000)]
* config/tc-mips.c (mips_fix_adjustable): If the full addend is
going to be split into more than one in-place addend, return 0
for relocations against mergeable sections.  Associate comments
with code.

20 years ago2004-07-08 Andrew Cagney <cagney@gnu.org>
cagney [Thu, 8 Jul 2004 14:19:19 +0000 (14:19 +0000)]
2004-07-08  Andrew Cagney  <cagney@gnu.org>

* gdb.base/sigbpt.exp: Make the common part of each test name a
prefix instead of suffix.

20 years agoFix crash in symtab.c.
bobbybrasko [Thu, 8 Jul 2004 11:18:27 +0000 (11:18 +0000)]
Fix crash in symtab.c.

20 years agoFix crash in symtab.c.
bobbybrasko [Thu, 8 Jul 2004 11:18:17 +0000 (11:18 +0000)]
Fix crash in symtab.c.

20 years ago * spawn.cc (spawn_guts): Check if script is executable.
corinna [Thu, 8 Jul 2004 09:18:27 +0000 (09:18 +0000)]
* spawn.cc (spawn_guts): Check if script is executable.

20 years agoI added the testcase for -file-list-exec-source-files to mi2-file.exp.
bobbybrasko [Thu, 8 Jul 2004 01:57:50 +0000 (01:57 +0000)]
I added the testcase for -file-list-exec-source-files to mi2-file.exp.
It should have been added to mi-file.exp. So, here it is.

20 years agodaily update
amodra [Thu, 8 Jul 2004 00:00:37 +0000 (00:00 +0000)]
daily update

20 years ago*** empty log message ***
gdbadmin [Thu, 8 Jul 2004 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago2004-07-07 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Wed, 7 Jul 2004 20:08:01 +0000 (20:08 +0000)]
2004-07-07  Jeff Johnston  <jjohnstn@redhat.com>

        * gdb.java/jmisc.exp: Fix expected output of ptype to look for
        the jmisc() constructor instead of <init>.
        * gdb.java/jmisc1.exp: Ditto.

20 years agoUndo accidental commit whilst adding crx-elf port
nickc [Wed, 7 Jul 2004 17:37:18 +0000 (17:37 +0000)]
Undo accidental commit whilst adding crx-elf port

20 years ago2004-07-07 Andrew Cagney <cagney@gnu.org>
cagney [Wed, 7 Jul 2004 17:30:09 +0000 (17:30 +0000)]
2004-07-07  Andrew Cagney  <cagney@gnu.org>

* gdb.base/sigbpt.exp (stepi_out): Check for a single step
corrupting the PC.

20 years agoAdd new port: crx-elf
nickc [Wed, 7 Jul 2004 17:28:43 +0000 (17:28 +0000)]
Add new port: crx-elf

20 years ago2004-07-07 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
jjohnstn [Wed, 7 Jul 2004 17:26:37 +0000 (17:26 +0000)]
2004-07-07  Artem B. Bityuckiy  <dedekind@oktetlabs.ru>

        * libc/iconv/iconv.tex: Updated to represent recent changes.
        * libc/iconv/lib/iconv.c: Documentation updated.

20 years agoDefine PREFER_SIZE_OVER_SPEED for xStormy16 target
nickc [Wed, 7 Jul 2004 08:15:26 +0000 (08:15 +0000)]
Define PREFER_SIZE_OVER_SPEED for xStormy16 target

20 years ago*** empty log message ***
gdbadmin [Wed, 7 Jul 2004 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
amodra [Wed, 7 Jul 2004 00:00:06 +0000 (00:00 +0000)]
daily update

20 years ago2004-07-06 Chris Demetriou <cgd@broadcom.com>
jjohnstn [Tue, 6 Jul 2004 23:32:08 +0000 (23:32 +0000)]
2004-07-06  Chris Demetriou  <cgd@broadcom.com>

        * configure.host (mips*-*-elf*): Default long long printing
        support.

20 years ago2004-07-06 Michael Chastain <mec.gnu@mindspring.com>
chastain [Tue, 6 Jul 2004 19:36:10 +0000 (19:36 +0000)]
2004-07-06  Michael Chastain  <mec.gnu@mindspring.com>

* gdb.cp/templates.exp: Accept whitespace change in demangler
output.

20 years ago2004-07-06 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Tue, 6 Jul 2004 19:29:27 +0000 (19:29 +0000)]
2004-07-06  Jeff Johnston <jjohnstn@redhat.com>

        * language.h (struct_language_defn): Add new function pointer:
        la_class_name_from_physname.  Also add new prototype for
        language_class_name_from_physname.
        * language.c (language_class_name_from_physname): New function.
        (unk_lang_class_name): Ditto.
        (unknown_language_defn, auto_language_defn): Change
        to add unk_lang_class_name function pointer for
        la_class_name_from_physname.
        (local_language_defn): Ditto.
        * dwarf2read.c (guess_structure_name): Change to call
        language_class_name_from_physname.
        (determine_class_name): Ditto.
        * cp-support.c (class_name_from_physname): Renamed.
        (cp_class_name_from_physname): New name of function.
        * cp-support.h: Ditto.
        * c-lang.c (c_language_defn): Change to add NULL
        for class_name_from_physname function pointer.
        (cplus_language_defn): Change to add cp_class_name_from_physname.
        * jv-lang.c (java_class_name_physname): New function.
        (java_find_last_component): New static routine.
        (java_language_defn): Add java_class_name_from_physname pointer.
        * ada-lang.c (ada_language_defn): Change to add NULL
        for class_name_from_physname function pointer.
        * f-lang.c (f_language_defn): Ditto.
        * m2-lang.c (m2_language_defn): Ditto.
        * objc-lang.c (objc_language_defn): Ditto.
        * p-lang.c (pascal_language_defn): Ditto.
        * scm-lang.c (scm_language_defn): Ditto.

20 years ago* Makefile.in: Update all dependency information.
jimb [Tue, 6 Jul 2004 17:14:09 +0000 (17:14 +0000)]
* Makefile.in: Update all dependency information.
(BASICS_H, CPU_H, IDECODE_H, PSIM_H, REGISTERS_H, DEVICE_TABLE_H)
(EMUL_GENERIC_H): Values updated.
(ACCONFIG_H, ALTIVEC_EXPRESSION_H, ALTIVEC_REGISTERS_H)
(ANSIDECL_H, BFD_H, BITS_H, CAP_H, COMMON_SIM_BASE_H)
(COMMON_SIM_BASICS_H, COMMON_SIM_FPU_H, COMMON_SIM_INLINE_H)
(COMMON_SIM_SIGNAL_H, CONFIG_H, COREFILE_H, COREFILE_N_H, DEBUG_H)
(DEFINES_H, DEFS_H, DEVICE_H, E500_EXPRESSION_H, E500_REGISTERS_H)
(EMUL_BUGAPI_H, EMUL_CHIRP_H, EMUL_NETBSD_H, EMUL_UNIX_H, EVENTS_H)
(FILTER_FILENAME_H, FILTER_H, GDB_CALLBACK_H, GDB_REMOTE_SIM_H)
(GEN_ICACHE_H, GEN_IDECODE_H, GEN_ITABLE_H, GEN_MODEL_H)
(GEN_SEMANTICS_H, GEN_SUPPORT_H, HW_CPU_H, HW_H, HW_PHB_H)
(ICACHE_H, IDECODE_BRANCH_H, IDECODE_EXPRESSION_H)
(IDECODE_FIELDS_H, IGEN_H, INLINE_H, INTERRUPTS_H, ITABLE_H)
(LD_CACHE_H, LD_DECODE_H, LD_INSN_H, LF_H, MISC_H, MODEL_H, MON_H)
(OPTIONS_H, OS_EMUL_H, PK_H, PPC_CONFIG_H, SEMANTICS_H)
(SIM_CALLBACKS_H, SIM_ENDIAN_H, SIM_ENDIAN_N_H, SIM_MAIN_H)
(SPREG_H, STD_CONFIG_H, SUPPORT_H, TABLE_H, TARG_VALS_H, TCONFIG_H)
(TREE_H, VM_H, VM_N_H, WORDS_H): New variables.
(callback.o, cap.o, corefile.o, debug.o, device.o, device_table.o)
(dgen.o, emul_bugapi.o, emul_chirp.o, emul_netbsd.o, emul_unix.o)
(events.o, filter.o, filter_filename.o, filter_host.o)
(gen-icache.o, gen-idecode.o, gen-itable.o, gen-model.o)
(gen-semantics.o, gen-support.o, hw_core.o, hw_cpu.o, hw_disk.o)
(hw_htab.o, hw_init.o, hw_phb.o, hw_register.o, icache.o)
(idecode.o, igen.o, interrupts.o, itable.o, ld-cache.o)
(ld-decode.o, ld-insn.o, lf.o, main.o, misc.o, model.o, mon.o)
(options.o, os_emul.o, pk_disklabel.o, psim.o, registers.o)
(semantics.o, sim-endian.o, sim-fpu.o, sim_calls.o, spreg.o)
(support.o, table.o, targ-map.o, tree.o, vm.o): Update dependencies.

20 years agoAdd support for sh-symbian-elf target
nickc [Tue, 6 Jul 2004 16:58:35 +0000 (16:58 +0000)]
Add support for sh-symbian-elf target

20 years ago(output_file_create): Report the target format chosen when bfd_openw reports
nickc [Tue, 6 Jul 2004 16:42:02 +0000 (16:42 +0000)]
(output_file_create): Report the target format chosen when bfd_openw reports
that it is invalid.

20 years ago * winbase.h (IsWow64Process): Add missing WINAPI qualifier.
corinna [Tue, 6 Jul 2004 15:33:46 +0000 (15:33 +0000)]
* winbase.h (IsWow64Process): Add missing WINAPI qualifier.

20 years ago(coff_pseudo_table): Only define the weak pseudo for BFD based assemblers.
nickc [Tue, 6 Jul 2004 15:30:24 +0000 (15:30 +0000)]
(coff_pseudo_table): Only define the weak pseudo for BFD based assemblers.

20 years ago2004-07-06 Andrew Cagney <cagney@gnu.org>
cagney [Tue, 6 Jul 2004 15:08:51 +0000 (15:08 +0000)]
2004-07-06  Andrew Cagney  <cagney@gnu.org>

* gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.

20 years ago2004-07-06 Andrew Cagney <cagney@gnu.org>
cagney [Tue, 6 Jul 2004 14:24:03 +0000 (14:24 +0000)]
2004-07-06  Andrew Cagney  <cagney@gnu.org>

Patch from Bart Robinson.
* corelow.c (core_open): Add variable "flags", or in O_LARGEFILE.
(O_LARGEFILE): Define to 0, if not defined.

20 years ago*** empty log message ***
gdbadmin [Tue, 6 Jul 2004 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
amodra [Tue, 6 Jul 2004 00:00:05 +0000 (00:00 +0000)]
daily update

20 years ago * emulparams/hppa64linux.sh: Define PLT_BEFORE_GOT.
danglin [Mon, 5 Jul 2004 20:00:11 +0000 (20:00 +0000)]
* emulparams/hppa64linux.sh: Define PLT_BEFORE_GOT.
* emulparams/hppalinux.sh: Likewise.
* scripttempl/elf.sc: Place .plt just before .got when .plt is in
data segment and PLT_BEFORE_GOT is defined.

20 years ago2004-07-05 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Mon, 5 Jul 2004 18:44:54 +0000 (18:44 +0000)]
2004-07-05  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/Makefile.am (libc.dvi): Add target and specify
        same dependencies as libc.info.
        * libc/Makefile.in: Regenerated.
        * libm/Makefile.am (libm.dvi): Add target and specify
        same dependencies as libm.info.
        * libm/Makefile.in: Regenerated.

20 years ago* gdb.texinfo (BSD libkvm Interface): New node (section)
kettenis [Mon, 5 Jul 2004 15:31:35 +0000 (15:31 +0000)]
* gdb.texinfo (BSD libkvm Interface): New node (section)
(Native): Add it to the menu.

20 years ago2004-06-30 Andrew Stubbs <andrew.stubbs@superh.com>
amylaar [Mon, 5 Jul 2004 13:35:41 +0000 (13:35 +0000)]
2004-06-30  Andrew Stubbs <andrew.stubbs@superh.com>

bfd:
* elf32-sh.c: Include ../opcodes/sh-opc.h .
* Makefile.am: Ran make dep-am .
* Makefile.in: Ran make dep-in .

gas:
* config/tc-sh.c (md_assemble): Change isspace to ISSPACE.
(md_parse_option): Remove redundant -isa testing.
Make bfd_arch variable const.
(md_show_usage): Make bfd_arch variable const.

20 years ago*** empty log message ***
gdbadmin [Mon, 5 Jul 2004 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
amodra [Mon, 5 Jul 2004 00:00:05 +0000 (00:00 +0000)]
daily update

20 years agoEmit error for unaligned instructions.
wilson [Sun, 4 Jul 2004 00:29:20 +0000 (00:29 +0000)]
Emit error for unaligned instructions.
* config/tc-ia64.c (emit_one_bundle): Check and set insn_addr.
* config/tc-ia64.h (md_frag_check): Define.

20 years ago*** empty log message ***
gdbadmin [Sun, 4 Jul 2004 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
amodra [Sun, 4 Jul 2004 00:00:07 +0000 (00:00 +0000)]
daily update

20 years ago2004-07-04 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
cgf [Sat, 3 Jul 2004 16:07:45 +0000 (16:07 +0000)]
2004-07-04  Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>

* bfd/cofflink.c (_bfd_coff_generic_relocate_section): Resolve PE weak
externals properly.
* src/gas/config/obj-coff.c (obj_coff_weak): New .weak syntax for PE weak
externals.
* binutils/doc/binutils.texi (nm): Clarify weak symbol description.
* gas/config/tc-i386.c (tc_gen_reloc): Use addend for weak symbols in TE_PE.
* gas/doc/as.texinfo (Weak): Document PE weak symbols.
* ld/ld.texinfo (WIN32): Document PE weak symbols.

20 years ago * config/tc-mips.c (HAVE_IN_PLACE_ADDENDS): New macro.
rsandifo [Sat, 3 Jul 2004 15:20:52 +0000 (15:20 +0000)]
* config/tc-mips.c (HAVE_IN_PLACE_ADDENDS): New macro.
(reloc_needs_lo_p): Only return true if HAVE_IN_PLACE_ADDENDS.
(mips_frob_file): Rework so that only a single pass through the
relocs is needed.  Allow %lo()s to have higher offsets than their
corresponding %hi()s or %got()s.

testsuite/
* gas/mips/elf{,el}-rel.d: Adjust so that the earliest %hi() matches
the earliest %lo().
* gas/mips/elf-rel11.d: Don't expect the relocs to be reordered.
* gas/mips/elf-rel20.[sd]: New test.
* gas/mips/mips.exp: Run it.

20 years ago2004-07-03 Maciej W. Rozycki <macro@linux-mips.org>
rsandifo [Sat, 3 Jul 2004 15:17:42 +0000 (15:17 +0000)]
2004-07-03  Maciej W. Rozycki  <macro@linux-mips.org>

* gas/mips/elf-rel9.[sd]: Fix typo in %lo() expression.

20 years ago* m68kbsd-nat.c: Include "gdbcore.h", <sys/types.h>,
kettenis [Sat, 3 Jul 2004 15:14:46 +0000 (15:14 +0000)]
* m68kbsd-nat.c: Include "gdbcore.h", <sys/types.h>,
<machine/pcb.h> and "bsd-kvm.h".
(PCB_REGS_FP, PCB_REGS_SP): Define if not already defined.
(m68kbsd_supply_pcb): New function.
(_initialize_m68kbsd_nat): New prototype and function.
* Makefile.in (m68kbsd-nat.o): Update dependencies.
* config/m68k/nbsdelf.mh (NATDEPFILES): Add bsd-kvm.o.
(LOADLIBES): New variable.
* config/m68k/obsd.mh (NATDEPFILES): Add bsd-kvm.o.
(LOADLIBES): New variable.

20 years ago* bsd-kvm.c (bsd_kvm_cmdlist): Remove unecessary initialization.
kettenis [Sat, 3 Jul 2004 13:17:33 +0000 (13:17 +0000)]
* bsd-kvm.c (bsd_kvm_cmdlist): Remove unecessary initialization.

20 years ago* bsd-kvm.c: Include "cli/cli-cmds.h", "command.h", "value.h" and
kettenis [Sat, 3 Jul 2004 13:11:38 +0000 (13:11 +0000)]
* bsd-kvm.c: Include "cli/cli-cmds.h", "command.h", "value.h" and
<sys/proc.h>.
(bsd_kvm_cmdlist): New variable.
(bsd_kvm_cmd, bsd_kvm_proc_cmd, bsd_kvm_pcb_cmd): New functions.
(bsd_kvm_add_target): Register "kvm" command prefix, "kvm pcb"
command and "kvm proc" command.
* Makefile.in (bsd-kvm.o): Update dependencies.

20 years agodaily update
amodra [Sat, 3 Jul 2004 00:00:07 +0000 (00:00 +0000)]
daily update

20 years ago*** empty log message ***
gdbadmin [Sat, 3 Jul 2004 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago2004-07-02 Martin Hunt <hunt@redhat.com>
hunt [Fri, 2 Jul 2004 23:09:31 +0000 (23:09 +0000)]
2004-07-02  Martin Hunt  <hunt@redhat.com>

* library/targetselection.itb: Use /dev/comX for
cygwin instead of just comX.

* library/interface.tcl (gdbtk_tcl_preloop): Set baud rate.

20 years ago2004-07-02 Martin Hunt <hunt@redhat.com>
hunt [Fri, 2 Jul 2004 22:00:55 +0000 (22:00 +0000)]
2004-07-02  Martin Hunt  <hunt@redhat.com>

* generic/gdbtk-cmds.c (symtab_to_filename): New function. Like
symtab_to_fullname() but returns the filename if the fullname
cannot be found.

* generic/gdbtk-cmds.c (gdb_find_file_command): Revert
patch of 2004-06-11. Use symtab_to_filename() again.
(gdb_loc): Ditto.
(gdb_loadfile): Ditto.
* generic/gdbtk-bp.c (gdb_get_breakpoint_info): Ditto.
(gdb_get_tracepoint_info): Ditto.

* generic/gdbtk-cmds.h: Declare symtab_to_filename().

20 years ago* osabi.c: Update copyright year.
kettenis [Fri, 2 Jul 2004 21:27:15 +0000 (21:27 +0000)]
* osabi.c: Update copyright year.
(generic_elf_osabi_sniffer): Tweak comment.  Look for OS-specific
notes if EI_OSABI is set to ELFOSABI_HPUX.

20 years agoFix ChangeLog entry for the last change to i386-cygwin-tdep.c.
brobecke [Fri, 2 Jul 2004 21:09:45 +0000 (21:09 +0000)]
Fix ChangeLog entry for the last change to i386-cygwin-tdep.c.

20 years ago * config.bfd: Add want64 to configuration target s390-*-linux*.
sky [Fri, 2 Jul 2004 14:11:57 +0000 (14:11 +0000)]
* config.bfd: Add want64 to configuration target s390-*-linux*.

20 years ago * emulparams/shlelf32_linux.sh (COMMONPAGESIZE): Set to 4KB.
kkojima [Fri, 2 Jul 2004 11:25:52 +0000 (11:25 +0000)]
* emulparams/shlelf32_linux.sh (COMMONPAGESIZE): Set to 4KB.

* ld-elf/frame.exp: Don't run on sh*-*-elf*.
* ld-sh/shared-1.d: Adjust for section reordering changes.
* ld-sh/shared-2.d: Likewise.
* ld-sh/tlsbin-2.d: Likewise.
* ld-sh/tlspic-2.d: Likewise.
* ld-sh/sh64/abi32.xd: Likewise.
* ld-sh/sh64/abi64.xd: Likewise.
* ld-sh/sh64/cmpct1.xd: Likewise.
* ld-sh/sh64/crange1.rd: Likewise.
* ld-sh/sh64/crange2.rd: Likewise.
* ld-sh/sh64/crange3-cmpct.rd: Likewise.
* ld-sh/sh64/crange3-media.rd: Likewise.
* ld-sh/sh64/crange3.rd: Likewise.
* ld-sh/sh64/gotplt.d: Likewise.
* ld-sh/sh64/init-cmpct.d: Likewise.
* ld-sh/sh64/init-media.d: Likewise.
* ld-sh/sh64/init64.d: Likewise.
* ld-sh/sh64/mix1.xd: Likewise.
* ld-sh/sh64/mix2.xd: Likewise.
* ld-sh/sh64/shdl32.xd: Likewise.
* ld-sh/sh64/shdl64.xd: Likewise.

20 years ago(md_apply_fix3:BFD_RELOC_ARM_IMMEDIATE): Do not allow values which have come
nickc [Fri, 2 Jul 2004 11:12:28 +0000 (11:12 +0000)]
(md_apply_fix3:BFD_RELOC_ARM_IMMEDIATE): Do not allow values which have come
from undefined symbols.
Always consider this fixup to have been processed as a reloc cannot be
generated for it.

20 years ago2 * mingwex/Makefile.in (MATH_DISTFILES): Remove pow.c,
dannysmith [Fri, 2 Jul 2004 10:01:50 +0000 (10:01 +0000)]
2 * mingwex/Makefile.in (MATH_DISTFILES): Remove pow.c,
(MATH_OBJS): Remove pow,o.
* include/math.h (pow): Declare with _CRTIMP.
Add comment on how to avoid excess precision problems.

20 years ago2004-07-01 Paolo Bonzini <bonzini@gnu.org>
bonzini [Fri, 2 Jul 2004 07:56:06 +0000 (07:56 +0000)]
2004-07-01  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.def (build_modules): Add bison, byacc, flex,
m4, texinfo.
(flags_to_pass): Add FLEX.
* Makefile.tpl (BUILD_DIR_PREFIX, BASE_EXPORTS): New.
(BUILD_EXPORTS, HOST_EXPORTS, BASE_TARGET_EXPORTS): Include it.
(DEFAULT_YACC, USUAL_YACC, DEFAULT_LEX, USUAL_LEX, DEFAULT_M4,
DEFAULT_MAKEINFO): Remove.
(CONFIGURED_YACC, CONFIGURED_FLEX, CONFIGURED_BISON,
CONFIGURED_LEX, CONFIGURED_M4, CONFIGURED_MAKEINFO): Substitute.
(YACC, FLEX, BISON, LEX, M4, MAKEINFO): Define to look into
objdir or else use configured tool.
(all-build): New.
(all): Depend on it.
(Build module dependencies): Add.
* Makefile.in: Regenerate.
* configure.in: Better support for multiple build modules,
matching what is done for host/target modules.  Do not look
for "plausible" locations of build tools if Canadian cross.
Use autoconf's AC_PROG_CC to find a C compiler.  Define
BUILD_DIR_PREFIX.  Look for flex, makeinfo and m4.
* configure: Regenerate.

20 years ago * ld-discard/static.d: Accept both original sym and section sym.
amodra [Fri, 2 Jul 2004 06:46:17 +0000 (06:46 +0000)]
* ld-discard/static.d: Accept both original sym and section sym.

20 years ago * frags.h (struct frag): Add has_code and insn_addr fields.
amodra [Fri, 2 Jul 2004 06:40:18 +0000 (06:40 +0000)]
* frags.h (struct frag): Add has_code and insn_addr fields.
* write.c (cvt_frag_to_fill): Invoke md_frag_check.
* config/tc-ppc.c (md_assemble): Check and set insn_addr.
* config/tc-ppc.h (md_frag_check): Define.

20 years ago2004-07-02 Michael Chastain <mec.gnu@mindspring.com>
chastain [Fri, 2 Jul 2004 04:18:12 +0000 (04:18 +0000)]
2004-07-02  Michael Chastain  <mec.gnu@mindspring.com>

* lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
* lib/compiler.cc: Likewise.

20 years ago2004-07-01 H.J. Lu <hongjiu.lu@intel.com>
hjl [Fri, 2 Jul 2004 02:01:22 +0000 (02:01 +0000)]
2004-07-01  H.J. Lu  <hongjiu.lu@intel.com>

* gas/ia64/group-1.d: New.
* gas/ia64/group-1.s: Likewise.

* gas/ia64/ia64.exp: Add group-1 to test comdat group.

20 years agobfd/
hjl [Fri, 2 Jul 2004 01:39:31 +0000 (01:39 +0000)]
bfd/

2004-07-01  H.J. Lu  <hongjiu.lu@intel.com>

* bfd.c (bfd_get_section_ident): New.

* elflink.c (elf_link_read_relocs_from_section): Call
bfd_get_section_ident to identify the section when reporting
error.
(_bfd_elf_link_output_relocs): Likewise.
(elf_link_output_extsym): Likewise.
(elf_link_input_bfd): Likewise.
(bfd_elf_gc_record_vtinherit): Likewise.

* bfd-in2.h: Regenerated.
ld/

2004-07-01  H.J. Lu  <hongjiu.lu@intel.com>

* ldmisc.c (vfinfo): Call bfd_get_section_ident to identify
the section.

20 years agodaily update
amodra [Fri, 2 Jul 2004 00:00:05 +0000 (00:00 +0000)]
daily update

20 years ago*** empty log message ***
gdbadmin [Fri, 2 Jul 2004 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago2004-07-01 Michael Snyder <msnyder@redhat.com>
msnyder [Thu, 1 Jul 2004 21:33:59 +0000 (21:33 +0000)]
2004-07-01  Michael Snyder  <msnyder@redhat.com>

        * win32-nat.c (core_dll_symbols_add): Re-indent a small section
        that seems to have gotten whacked out of line.

20 years ago* dbxread.c (process_one_symbol) [PCC_SOL_BROKEN]: Remove dead
kettenis [Thu, 1 Jul 2004 20:25:49 +0000 (20:25 +0000)]
* dbxread.c (process_one_symbol) [PCC_SOL_BROKEN]: Remove dead
code.

20 years ago2004-07-01 Dave Brolley <brolley@redhat.com>
brolley [Thu, 1 Jul 2004 16:55:40 +0000 (16:55 +0000)]
2004-07-01  Dave Brolley  <brolley@redhat.com>

        * sidcomp.cache/misaligned.exp: 16 bit access should now be a hit.

20 years ago2004-07-01 Dave Brolley <brolley@redhat.com>
brolley [Thu, 1 Jul 2004 16:55:09 +0000 (16:55 +0000)]
2004-07-01  Dave Brolley  <brolley@redhat.com>

        * cache.cxx (write_any): Allow misaligned access. Return
        bus::misaligned for accesses which cross line boundary.
        (read_any): Ditto.

20 years ago2004-07-01 Dave Brolley <brolley@redhat.com>
brolley [Thu, 1 Jul 2004 16:54:47 +0000 (16:54 +0000)]
2004-07-01  Dave Brolley  <brolley@redhat.com>

        * gdb.cxx (read_bus_word): Now returns bus::status. Return status
        from bus->read.
        (write_bus_word): Ditto for status from bus->write.
        (process_get_mem): Back out previous patch. Retry access
        one byte at a time if bus::misaligned is returned from downstream.
        (process_set_mem): Ditto.

20 years ago * ld-sparc/tlssunpic32.rd: Adjust for section reordering changes
jakub [Thu, 1 Jul 2004 16:24:50 +0000 (16:24 +0000)]
* ld-sparc/tlssunpic32.rd: Adjust for section reordering changes
and removal of unneeded STT_SECTION symbols from .dynsym.
* ld-sparc/tlssunbin32.rd: Likewise.
* ld-sparc/tlssunpic32.dd: Likewise.
* ld-sparc/tlssunpic32.sd: Likewise.
* ld-sparc/tlssunbin32.dd: Likewise.
* ld-sparc/tlssunbin32.sd: Likewise.
* ld-sparc/tlssunbin32.td: Likewise.

20 years ago(_bfd_mips_elf_final_link): Pass the correct number of section symbols to
nickc [Thu, 1 Jul 2004 14:53:39 +0000 (14:53 +0000)]
(_bfd_mips_elf_final_link): Pass the correct number of section symbols to
mips_elf_sort_hash_table ().