OSDN Git Service
brolley [Fri, 19 Aug 2005 19:45:22 +0000 (19:45 +0000)]
2005-08-19 Dave Brolley <brolley@redhat.com>
* Contribute the following changes:
2005-07-13 Dave Brolley <brolley@redhat.com>
* compLoader.cxx (generic_loader): Inherit virtually from
fixed_attribute_map_component. Inherit from no_relation_component.
2005-06-06 Dave Brolley <brolley@redhat.com>
* elfload.c (readElfFile): Return and empty symbol table if none found.
* compLoader.cxx: Add using cleause for
sidutil::configurable_component.
(generic_loader): fixed_pin_map_component and configurable_component
inherited virtually.
(configure): New virtual override in generic_loader.
(check_function_pin_handler): Return the empty string if no function
is associated with the given address.
* sw-load-elf.xml: Add description of new interfaces.
* sw-load-elf.txt: Regenerated.
2005-05-29 Dave Brolley <brolley@redhat.com>
* elfload.h (StringTable, Symbol): New struct types.
(readElfFile): New takes symbol_table argument.
(SHT_SYMTAB, SHT_STRTAB, ELF32_ST_TYPE, STT_FUNC): New macros.
* elfload.c (stringTables,stringTableCount,stringTableNum): New
static variables.
(newStringTable): New static function.
(symbolTable,symbolCount,symbolNum): New static variables.
(newSymbol): New static function.
(readElfFile): New takes symbol_table argument. Build string tables and
symbol table while reading the input file.
* compLoader.cxx (elf_loader): New constructor.
(load_it): Obtain symmol_table from readElfFile.
(check_function_pin,symbol_table,current_function): New members
of elf_loader.
(check_function_pin_handler): New method of elf_loader.
brolley [Fri, 19 Aug 2005 19:44:46 +0000 (19:44 +0000)]
2005-08-19 Dave Brolley <brolley@redhat.com>
* Contribute the following changes:
2005-07-13 Dave Brolley <brolley@redhat.com>
* gloss.cxx (gloss32): Initialize dynamic_configurator. Add
dynamic-configurator relation.
* gloss.h (gloss32): Inherit virtually from
fixed_attribute_map_component.
(dynamic_configurator): New member of gloss32.
2005-07-05 Dave Brolley <brolley@redhat.com>
* gloss.cxx (start_config): Removed from gloss32.
(gloss32): Remove "start-config" attribute. Add "config-error"
pin.
(reset): Don't call sys_config_set.
(sys_reconfig_set): Call set_error_result based on the value driven on
config_error_pin.
(sys_reconfig_reset): Likewise.
* gloss.h (start_config): Removed from gloss32.
(config_error_pin): New member of gloss32.
2005-06-06 Dave Brolley <brolley@redhat.com>
* gloss.cxx (gloss32): Don't initialize dynamic_configurator.
Don't add dynamic-configurator relation.
(configure_pin): Renamed to sys_configure_pin.
(configure): New virtual override in gloss32.
(do_sys_reconfig): Print log messages to cerr and only when
verbose_p.
* gloss.h (gloss32): fixed_pin_map_component and configurable_component
inherited virtually.
(dynamic_configurator): Removed.
(configure_pin): Renamed to sys_configure_pin.
(configure): New virtual override in gloss32.
2005-05-29 Dave Brolley <brolley@redhat.com>
* libgloss.h (SYS_reconfig): New enumerator.
* gloss.h (main, dynamic_configurator): New members of gloss32.
(configure_pin, config_result_pin, start_config): Likewise.
(sys_reconfig_set): New method of gloss32.
(sys_reconfig_reset, do_sys_reconfig): Likewise.
* gloss.cxx (gloss32): Initialize main, dynamic_configurator and
start_config. Add relations main, dynamic-configurator. Add
configure pin. Add start-config addtribute. Add config-result
pin.
(reset): Call sys_reconfig_set with start_config if it's not
empty.
(syscall_trap): Handle SYS_reconfig.
(sys_reconfig_set): New method of gloss32.
(sys_reconfig_reset, do_sys_reconfig): Likewise.
brolley [Fri, 19 Aug 2005 19:43:50 +0000 (19:43 +0000)]
2005-08-19 Dave Brolley <brolley@redhat.com>
* Contribute the following changes:
2005-07-13 Dave Brolley <brolley@redhat.com>
* gdb.h (configurable_component): Inherit virtually from
fixed_attribute_map_component.
2005-06-06 Dave Brolley <brolley@redhat.com>
* gdb.cxx (configure): New virtual override in gdb.
* gdb.h (configure): Likewise.
(gdb): fixed_pin_map_component, fixed_relation_map_component and
configurable_component inherited virtually.
* sw-debug-gdb.xml: Add description of new interfaces.
* sw-debug-gdb.txt: Regenerated.
brolley [Fri, 19 Aug 2005 19:43:09 +0000 (19:43 +0000)]
2005-08-19 Dave Brolley <brolley@redhat.com>
* Contribute the following changes:
2005-07-13 Dave Brolley <brolley@redhat.com>
* components.h (socketio): Inherit virtually from
fixed_attribute_map_component. Inherit from no_relation_component.
2005-06-06 Dave Brolley <brolley@redhat.com>
* components.h: Add using clause for sidutil::configurable_component.
(socketio): fixed_pin_map_component and configurable_component inherited
virtually. no_relation_component no longer inherited.
(configure): New virtual override in socketio.
* socketio.cxx (configure): Likewise.
* sid-io-socket.xml: Add description of new interfaces.
* sid-io-socket.txt: Regenerated.
brolley [Fri, 19 Aug 2005 19:42:25 +0000 (19:42 +0000)]
2005-08-19 Dave Brolley <brolley@redhat.com>
* Contribute the following changes:
2005-07-13 Dave Brolley <brolley@redhat.com>
* cgen-cpu.h (notify_ret): Set last_caller and last_callee.
2005-05-29 Dave Brolley <brolley@redhat.com>
* cgen-cpu.h (branch, done_insn, done_cti_insn, notify_ret):
New virtual overrides.
(was_return): New member of cgen_bi_endian_cpu.
brolley [Fri, 19 Aug 2005 19:39:07 +0000 (19:39 +0000)]
2005-08-19 Dave Brolley <brolley@redhat.com>
* Contribute these changes:
2005-07-13 Dave Brolley <brolley@redhat.com>
* compConfig.cxx (new_config_pin): Removed from
dynamic_configurator_component.
(clients): Added to dynamic_configurator_component.
(dynamic_configurator_component): Remove new-config pin. Add
clients as a multi relation.
(step_pin_handler): Set the configure! attribute of each component
related via the client relationship.
(do_configure): Set config_names[0] and config_specs[0] if the
handle is zero.
* sid-control-dynamic-configurator.xml: Document the removal of the
new-config pin and the addition of the clients relationship.
* sid-control-dynamic-configurator.txt: Regenerated.
2005-07-05 Dave Brolley <brolley@redhat.com>
* compConfig.cxx (reset_pin_handler): New method of
dynamic_configurator_component.
(set_start_config): Likewise.
(reset): Likewise.
(reset_pin): New member of dynamic_configurator_component.
(config_error_pin): Likewise.
(dynamic_configurator_component): Initialize current_config, prev_config
and prev_user_config in the reset method. Add "start-config" attribute.
Add "reset" and "config-error" pins.
(configure): Check result of do_configure. Drive config_error_pin if not
ok.
(configure_pin_handler): Drive config_error_pin if the handle is not
valid.
* sid-control-dynamic-configurator.xml: Document the "config-error" and
"reset"
pins
* sid-control-dynamic-configurator.txt: Regenerated.
2005-06-21 Dave Brolley <brolley@redhat.com>
* compConfig.cxx (step_pin_handler): Always drive new_config_pin.
2005-06-06 Dave Brolley <brolley@redhat.com>
* Makefile.am (pkgdata_DATA): Add sid-control-dynamic-configurator.txt.
* Makefile.in: Regenerated.
* compConfig.cxx (cfgroot_component::configure): Renamed to
configure_file.
(restore_config,set_syscall_config,check_config_change): New methods of
dynamic_configurator_component.
(in_function): Likewise.
(prev_user_config): New member of dynamic_configurator_component.
(dynamic_configurator_component): Prime the config_stack with a dummy
entry.
(add_warmup_functions): Tokenize based on ",".
(add_profile_functions): Move on to the next spec on parse error.
(dynamic_configurator_component::configure): Drive config_result_pin wit
h
prev_user_config. Call set_syscall_config and check_config_change.
(do_configure): Don't drive the config_result_pin here. Don't drive the
step_control_pin here. Duplicate the first stack entry for the first
config in the dummy entry of the stack. Now takes a reference to a
config handle.
(configure_pin_handler): Drive the config_result_pin with prev_user_conf
ig.
Call restore_config, sys_syscall_config and check_config_change.
(function_callee_pin_handler): Always use sid-internal-warmup for _Sid_c
onfig.
(function_return_pin_handler): Return if the loader can't identify the c
urrent
function. Call restore_config and check_config_change.
* sid-control-dynamic-configurator.txt: New file.
* sid-control-dynamic-configurator.xml: New file.
2005-05-29 Dave Brolley <brolley@redhat.com>
* compConfig.cxx (std::pair,sidutil::tokenize): Add using clause for the
se.
(dynamic_config,lookup_dynamic_config): New methods of cfgroot_component
.
(dynamic_configs,found_dynamic_config): New members of cfgroot_component
.
(configure_line): Initialize num_invalid_chars.
(cfgroot_component): Initialize dynamic_configs and found_dynamic_config
.
Add virtual attributes dynamic-config! and lookup-dynamic-config!. Add
attribute found-dynamic-config.
(dynamic_configurator_component): New class.
(compConfigListTypes): Push back sid-control-dynamic-configurator.
(compConfigCreate): Handle sid-control-dynamic-configurator.
(compConfigDelete): Delete dynamic_configurator_component.
brolley [Fri, 19 Aug 2005 19:01:51 +0000 (19:01 +0000)]
2005-08-19 Dave Brolley <brolley@redhat.com>
* cgen-fpu.cxx: New file.
* cgen-fpu.h: New file.
* Makefile.am (libcgencpu_la_SOURCES): Add cgen-fpu.cxx.
* Makefile.in: Regenerated.
* Contribute the following enhancements to floating point
support:
2005-06-14 Dave Brolley <brolley@redhat.com>
* fp.h (do_round,do_normal_round,do_normal_underflow,do_normal_overflow)
:
Now virtual.
* fp.cxx (do_normal_overflow): Round up to infinity only if
the result is positive.
(operator-): Don't apply 'neg' to a nan.
(neg): Return src if it is a qnan.
2005-05-20 Dave Brolley <brolley@redhat.com>
* fp.cxx (pack_any): Ensure that nan results have a positive sign.
(operator-): Simply call operator+ with the rhs negated.
* fp.h (is_negative): New method of fp.
2005-05-13 Dave Brolley <brolley@redhat.com>
* fp.h (fp): All arithmetic operator methods are now members
of class fp.
* fp.cxx (fp): Likewise.
2005-04-27 Dave Brolley <brolley@redhat.com>
* fp.cxx (fp::unpack): Only perform sanity check for non-nans.
2005-04-12 Dave Brolley <brolley@redhat.com>
* fp.h: Move static constants and functions to top of file for
visibility within the file.
(get_status): New method of fp.
(get_class): Likewise.
(qnan_fraction): Likewise.
(snan_fraction): Likewise.
(qnan_exponent): Likewise.
(snan_exponent): Likewise.
* fp.cxx (fp_to_int): throw fp::overflow for overflow.
(pack_any): Use [sq]nan_{exponent,fraction} to construct nans.
(unpack): Initialize status to 'ok'. Set class and status using
is_qnan_fraction and is_qnan respectively.
2005-03-18 Dave Brolley <brolley@redhat.com>
* fp.cxx: Move static items from here.
* fp.h: To here. Make some methods virtual. Make private members
protected.
(is_inexact): New method.
brolley [Fri, 19 Aug 2005 18:58:56 +0000 (18:58 +0000)]
2005-08-19 Dave Brolley <brolley@redhat.com>
* Makefile.am: Remove references to xstormy16-write.cxx.
* xstormy16-cpu.h: Regenerate.
* xstormy16-decode.cxx: Regenerate.
* xstormy16-decode.h: Regenerate.
* xstormy16-defs.h: Regenerate.
* xstormy16-desc.h: Regenerate.
* xstormy16-sem.cxx: Regenerate.
* xstormy16-write.cxx: Removed.
cgf [Fri, 19 Aug 2005 16:29:42 +0000 (16:29 +0000)]
* fhandler.h (dirent_states): Add dirent_saw_proc.
* fhandler_disk_file.cc (fhandler_disk_file::readdir): Fill in "proc" if it is
the root dir and it is missing.
cgf [Fri, 19 Aug 2005 16:18:41 +0000 (16:18 +0000)]
* fhandler.h (dirent_states): Add dirent_isroot, dirent_saw_cygdrive,
dirent_saw_dev.
* dir.cc (opendir): Don't zero __flags here. Push that responsibility to
opendir methods.
(seekdir): Preserve dirent_isrrot in __flags.
(rewinddir): Ditto.
* fhandler_disk_file.cc (fhandler_disk_file::opendir): Set dirent_isroot
appropriately.
(fhandler_disk_file::readdir): Fill in "cygdrive" and "dev" if it is the root
dir and they are missing.
* fhandler_process.cc (fhandler_process::opendir): Set __flags here.
* fhandler_virtual.cc (fhandler_virtual::opendir): Set __flags here.
dj [Fri, 19 Aug 2005 16:18:04 +0000 (16:18 +0000)]
* m32c/Makefile.in (m16cmon.ld, m32cmon.ld): Fix output names.
(*.o): Add dependencies.
* m32c/m32csys.h: Move syscall location to 0x400 as per Renesas
recommendations.
cgf [Fri, 19 Aug 2005 14:56:47 +0000 (14:56 +0000)]
* winsup.h (create_pipe): Declare new function.
(CreatePipe): New define.
* miscfuncs.cc (create_pipe): Define new function.
gdbadmin [Fri, 19 Aug 2005 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Fri, 19 Aug 2005 00:00:07 +0000 (00:00 +0000)]
daily update
corinna [Thu, 18 Aug 2005 20:25:43 +0000 (20:25 +0000)]
* passwd.c (longopts): Add --logonserver option.
(opts): Add -d option.
(GetPW): Add server parameter which is given to Net functions.
(ChangePW): Ditto.
(PrintPW): Ditto.
(SetModals): Ditto.
(usage): Add description for -d/--logonserver option.
(main): Add option handling for -d/--logonserver. Use LOGONSERVER
environment variable content for server to contact, unless
-d/--logonserver option is given. If both is missing, use NULL.
cgf [Thu, 18 Aug 2005 20:17:08 +0000 (20:17 +0000)]
* fhandler.h (fhandler_tty_common::lseek): Declare new method.
(fhandler_tty_slave::lseek): Delete old method.
(fhandler_tty_master::lseek): Delete old method.
* fhandler_tty.cc (fhandler_tty_common::lseek): Define new method.
dj [Thu, 18 Aug 2005 18:43:41 +0000 (18:43 +0000)]
* m32c/Makefile.in: Block out memory regions reserved for monitors
and simulators. Add monitor link scripts.
daney [Thu, 18 Aug 2005 16:46:19 +0000 (16:46 +0000)]
* ld-mips-elf/multi-got-1.d: Adjust for new ld behavior.
* ld-mips-elf/multi-got-no-shared.d: Likewise.
* ld-mips-elf/rel32-n32.d: Likewise.
* ld-mips-elf/rel32-o32.d: Likewise.
* ld-mips-elf/rel64.d: Likewise.
kettenis [Thu, 18 Aug 2005 13:26:38 +0000 (13:26 +0000)]
* stack.c: Reformat. Improve comments. Include "valprint.h".
(args_info, locals_info, backtrace_command, backtrace_command_1)
(backtrace_full_command, frame_info, frame_command, down_command)
(down_silently_base, down_silently_command, up_command)
(up_silently_base, up_silently_command, parse_frame_specification)
(current_frame_command, print_frame_args_vars, catch_info)
(args_plus_locals_info), print_frame_label_vars)
(print_block_frame_labels, print_block_frame_locals)
(func_command): Remove prototypes.
(print_stack_frame, backtrace_command_stub, backtrace_command,
backtrace_full_command, print_frame_args, print_frame_arg_vars,
print_args_stub, func_command): Remove redundant casts.
(addressprint): Remove extern declaration.
(frame_command): Make static.
(struct print_stack_frame_args, struct print_args_args): Rename
`fi' member to `frame'.
(print_stack_frame, print_frame_nameless_args, print_frame_args)
(set_current_sal_from_frame, print_frame_info, print_frame)
(show_stack_frame, print_block_frame_locals)
(print_frame_local_vars, print_frame_label_vars)
(print_frame_arg_vars, select_and_print_frame): Rename `fi'
argument to `frame'.
(func_command): Rename `fp' variable to `frame'.
(get_language): Restructure.
* Makefile.in (stack.o): Update dependencies.
kettenis [Thu, 18 Aug 2005 13:26:21 +0000 (13:26 +0000)]
* stack.c: Reformat. Improve comments. Include "valprint.h".
(args_info, locals_info, backtrace_command, backtrace_command_1)
(backtrace_full_command, frame_info, frame_command, down_command)
(down_silently_base, down_silently_command, up_command)
(up_silently_base, up_silently_command, parse_frame_specification)
(current_frame_command, print_frame_args_vars, catch_info)
(args_plus_locals_info), print_frame_label_vars)
(print_block_frame_labels, print_block_frame_locals)
(func_command): Remove prototypes.
(print_stack_frame, backtrace_command_stub, backtrace_command,
backtrace_full_command, print_frame_args, print_frame_arg_vars,
print_args_stub, func_command): Remove redundant casts.
(addressprint): Remove extern declaration.
(frame_command): Make static.
(struct print_stack_frame_args, struct print_args_args): Rename
`fi' member to `frame'.
(print_stack_frame, print_frame_nameless_args, print_frame_args)
(set_current_sal_from_frame, print_frame_info, print_frame)
(show_stack_frame, print_block_frame_locals)
(print_frame_local_vars, print_frame_label_vars)
(print_frame_arg_vars, select_and_print_frame): Rename `fi'
argument to `frame'.
(func_command): Rename `fp' variable to `frame'.
(get_language): Restructure.
* Makefile.in (stack.o): Update dependencies.
corinna [Thu, 18 Aug 2005 13:14:07 +0000 (13:14 +0000)]
* fhandler_socket.cc (fhandler_socket::recvfrom): Always initialize
ret to 0.
(fhandler_socket::recvmsg): Ditto.
cpg [Thu, 18 Aug 2005 11:54:33 +0000 (11:54 +0000)]
2005-08-18 Christian Groessler <chris@groessler.org>
* config/tc-h8300.h: Remove TC_RELOC_MANGLE/tc_reloc_mangle.
* config/tc-mcore.h: Likewise.
* config/tc-z8k.h: Likewise.
* config/tc-z8k.c: Likewise.
* config/tc-sh.h: Remove TC_RELOC_MANGLE and
sh_coff_reloc_mangle declaration.
* config/tc-sh.c: (md_apply_fix): Fix comment for case
BFD_RELOC_SH_USES.
cpg [Thu, 18 Aug 2005 11:54:24 +0000 (11:54 +0000)]
2005-08-18 Christian Groessler <chris@groessler.org>
* config/tc-h8300.h: Remove TC_RELOC_MANGLE/tc_reloc_mangle.
* config/tc-mcore.h: Likewise.
* config/tc-z8k.h: Likewise.
* config/tc-z8k.c: Likewise.
* config/tc-sh.h: Remove TC_RELOC_MANGLE and
sh_coff_reloc_mangle declaration.
* config/tc-sh.c: (md_apply_fix): Fix comment for case
BFD_RELOC_SH_USES.
kkojima [Thu, 18 Aug 2005 11:21:16 +0000 (11:21 +0000)]
* config/tc-sh64.c (sh64_target_format): Check preset_target_arch
to confirm that no ISA is specified.
kkojima [Thu, 18 Aug 2005 11:21:05 +0000 (11:21 +0000)]
* config/tc-sh64.c (sh64_target_format): Check preset_target_arch
to confirm that no ISA is specified.
kkojima [Thu, 18 Aug 2005 11:06:56 +0000 (11:06 +0000)]
* config.bfd: Add bfd_elf32_shnbsd_vec and bfd_elf32_shlnbsd_vec
to targ_selvecs for sh5*-*-netbsd* and sh64*-*-netbsd*.
nickc [Thu, 18 Aug 2005 09:26:14 +0000 (09:26 +0000)]
(relax_segment): Count the number of frags being processed and use this to
compute a maximum limit on the number of iterations that will be allowed when
attempting to relax the segment.
corinna [Thu, 18 Aug 2005 08:35:14 +0000 (08:35 +0000)]
* errno.cc (strerror): Check errnum for underflow.
amodra [Thu, 18 Aug 2005 07:51:04 +0000 (07:51 +0000)]
* ld-d10v/default_layout.d: Adjust for section removal.
* ld-elf/empty.s: Define "main".
* ld-elf/frame.exp: Don't run for hppa64 and v850.
* ld-elf/group1.d: xfail various targets.
* ld-elf/merge.d: Likewise.
* ld-elf/merge2.d: Likewise.
* ld-elf/warn1.d: Likewise.
* ld-scripts/defined2.d: Likewise.
* ld-scripts/defined3.d: Likewise.
* ld-scripts/empty-aligned.d: Likewise.
* ld-scripts/size-2.d: Likewise.
* ld-scripts/weak.exp: Likewise.
* ld-selective/sel-dump.exp: Likewise.
* ld-undefined/weak-undef.exp: Likewise.
amodra [Thu, 18 Aug 2005 07:15:16 +0000 (07:15 +0000)]
* scripttempl/elf.sc: Remove commented out defines.
amodra [Thu, 18 Aug 2005 03:59:21 +0000 (03:59 +0000)]
Remove a29k files.
amodra [Thu, 18 Aug 2005 03:51:51 +0000 (03:51 +0000)]
Remove a29k support.
amodra [Thu, 18 Aug 2005 03:51:19 +0000 (03:51 +0000)]
Remove a29k support.
amodra [Thu, 18 Aug 2005 03:50:42 +0000 (03:50 +0000)]
Remove a29k support.
amodra [Thu, 18 Aug 2005 03:49:39 +0000 (03:49 +0000)]
Remove a29k support.
amodra [Thu, 18 Aug 2005 03:49:00 +0000 (03:49 +0000)]
Remove a29k support.
amodra [Thu, 18 Aug 2005 03:48:23 +0000 (03:48 +0000)]
Remove a29k support.
amodra [Thu, 18 Aug 2005 01:28:18 +0000 (01:28 +0000)]
* elf-m10300.c (_bfd_mn10300_elf_adjust_dynamic_symbol): Warn on
zero size dynamic variables.
* elf32-arm.c (elf32_arm_adjust_dynamic_symbol): Likewise.
* elf32-cris.c (elf_cris_adjust_dynamic_symbol): Likewise.
* elf32-hppa.c (elf32_hppa_adjust_dynamic_symbol): Likewise.
* elf32-i370.c (i370_elf_adjust_dynamic_symbol): Likewise.
* elf32-i386.c (elf_i386_adjust_dynamic_symbol): Likewise.
* elf32-m32r.c (m32r_elf_adjust_dynamic_symbol): Likewise.
* elf32-m68k.c (elf_m68k_adjust_dynamic_symbol): Likewise.
* elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Likewise.
* elf32-s390.c (elf_s390_adjust_dynamic_symbol): Likewise.
* elf32-sh.c (sh_elf_adjust_dynamic_symbol): Likewise.
* elf32-vax.c (elf_vax_adjust_dynamic_symbol): Likewise.
* elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Likewise.
* elf64-s390.c (elf_s390_adjust_dynamic_symbol): Likewise.
* elf64-sh64.c (sh64_elf64_adjust_dynamic_symbol): Likewise.
* elf64-x86-64.c (elf64_x86_64_adjust_dynamic_symbol): Likewise.
* elfxx-sparc.c (_bfd_sparc_elf_adjust_dynamic_symbol): Likewise.
amodra [Thu, 18 Aug 2005 00:00:09 +0000 (00:00 +0000)]
daily update
gdbadmin [Thu, 18 Aug 2005 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
kevinb [Wed, 17 Aug 2005 23:02:00 +0000 (23:02 +0000)]
* NEWS (ms1-elf): New target.
kevinb [Wed, 17 Aug 2005 23:01:50 +0000 (23:01 +0000)]
* NEWS (ms1-elf): New target.
kettenis [Wed, 17 Aug 2005 18:34:14 +0000 (18:34 +0000)]
* m68k-tdep.c (m68k_return_value): Properly return contents of
structures passed in memory.
cgf [Wed, 17 Aug 2005 18:23:39 +0000 (18:23 +0000)]
* textbinary.sgml: Correct incorrect information about ability to specify text
mode in fopen().
dj [Wed, 17 Aug 2005 18:03:42 +0000 (18:03 +0000)]
merge from gcc
dj [Wed, 17 Aug 2005 18:03:20 +0000 (18:03 +0000)]
merge from gcc
cgf [Wed, 17 Aug 2005 16:10:46 +0000 (16:10 +0000)]
* dcrt0.cc (dll_crt0_1): Tweak debugging stuff.
* fhandler_tty.cc (fhandler_tty_common::close): Rearrange the code so that the
master end of the input and output pipes is closed before signalling an EOF
event to the slave.
(fhandler_pty_master::close): Likewise.
cpg [Wed, 17 Aug 2005 15:52:27 +0000 (15:52 +0000)]
2005-08-17 Christian Groessler <chris@groessler.org>
* Makefile.tpl: (USUAL_CC_FOR_TARGET): Add missing trailing slash.
* Makefile.in: Regenerate.
kettenis [Wed, 17 Aug 2005 15:08:29 +0000 (15:08 +0000)]
* infcmd.c (print_return_value): Move CHECK_TYPEDEF up. Deal with
RETURN_VALUE_ABI_PRESERVED_ADDRESS.
hjl [Wed, 17 Aug 2005 14:27:57 +0000 (14:27 +0000)]
bfd/
2005-08-17 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/1179
* dwarf2.c (_bfd_dwarf2_find_nearest_line): Use section lma
instead of vma.
(_bfd_dwarf2_find_line): Likewise.
binutils/
2005-08-17 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/1179
* objdump.c (disassemble_bytes): Don't adjust
adjust_section_vma.
(adjust_addresses): Don't adjust vma for debugging section.
Adjust lma only for relocatable files.
(dump_bfd): Tell adjust_addresses if it is a relocatable file.
jakub [Wed, 17 Aug 2005 13:36:00 +0000 (13:36 +0000)]
* lib/ld-lib.exp (default_ld_compile): Append $cc arguments after
$CFLAGS instead of prepending them.
amodra [Wed, 17 Aug 2005 13:29:52 +0000 (13:29 +0000)]
* elf64-mmix.c (mmix_elf_add_symbol_hook): Mark reg section
SEC_LINKER_CREATED.
(mmix_elf_final_link): Check that section hasn't already been
removed before removing.
* mmo.c (mmo_scan): Mark reg contents section SEC_LINKER_CREATED.
(mmo_canonicalize_symtab): Likewise for reg section.
dannysmith [Wed, 17 Aug 2005 10:57:16 +0000 (10:57 +0000)]
2005-08-17 Michael Jung <mjung@iss.tu-darmstadt.de>
* lib/shell32.c (CLSID_RecycleBin, CLSID_ControlPanel,
CLSID_MyComputer,CLSID_Internet, CLSID_NetworkPlaces,
CLSID_MyDocuments, CLSID_FolderShortcut): Add GUIDs.
jakub [Wed, 17 Aug 2005 10:08:27 +0000 (10:08 +0000)]
* ldgram.y (vers_defns): Don't lose pattern list before
extern NAME {}. Handle global, local and extern symbol names.
ld/testsuite/
* ld-elfvers/vers.exp: Add a new test, vers30.
* ld-elfvers/vers30.c: New file.
* ld-elfvers/vers30.map: New file.
* ld-elfvers/vers30.ver: New file.
* ld-elfvers/vers30.dsym: New file.
amodra [Wed, 17 Aug 2005 10:04:24 +0000 (10:04 +0000)]
bfd/
* elf32-cris.c (elf_cris_adjust_gotplt_to_got): Move assert later.
* elfxx-mips.c (_bfd_mips_elf_hide_symbol): Cope with being called
without any got section.
ld/testsuite/
* ld-alpha/tlsbin.rd: Update.
* ld-alpha/tlsbinr.rd: Update.
* ld-cris/locref1.d: Update.
* ld-cris/locref2.d: Update.
* ld-i386/tlsbin.rd: Update.
* ld-ia64/tlsbin.rd: Update.
* ld-powerpc/tlsexe.r: Update.
* ld-powerpc/tlsexe32.r: Update.
* ld-powerpc/tlsexetoc.r: Update.
* ld-s390/tlsbin.rd: Update.
* ld-s390/tlsbin_64.rd: Update.
* ld-sparc/tlssunbin32.rd: Update.
* ld-sparc/tlssunbin64.rd: Update.
* ld-x86-64/tlsbin.rd: Update.
dannysmith [Wed, 17 Aug 2005 09:07:35 +0000 (09:07 +0000)]
gas
Add ChangeLog entry missed in last commit.
dannysmith [Wed, 17 Aug 2005 08:58:00 +0000 (08:58 +0000)]
bfd
* cofflink.c (_bfd_coff_generic_relocate_section): Correct
comment.
gas
* config/obj-coff.c (obj_coff_weak): Set auxiliary record
of NT weak externals to IMAGE_WEAK_EXTERN_SEARCH_NOLIBRARY.
dannysmith [Wed, 17 Aug 2005 08:29:08 +0000 (08:29 +0000)]
2005-08-17 Martin Fuchs <martin-fuchs@gmx.net>
* include/shlobj.h (IContextMenu3): Define.
* include/shlguid.h (IID_IContextMenu3): Declare.
* lib/shell32.c (IID_IContextMenu3): Define.
2005-08-17 Martin Fuchs <martin-fuchs@gmx.net>
* include/shlobj.h (SHFormatDrive): Declaration of function
and associated constants.
kettenis [Wed, 17 Aug 2005 07:44:13 +0000 (07:44 +0000)]
* ppc-sysv-tdep.c (do_ppc_sysv_return_value): Fix the code that
deals with the broken GCC convention.
kettenis [Wed, 17 Aug 2005 07:43:59 +0000 (07:43 +0000)]
* ppc-sysv-tdep.c (do_ppc_sysv_return_value): Fix the code that
deals with the broken GCC convention.
kkojima [Wed, 17 Aug 2005 05:13:12 +0000 (05:13 +0000)]
* emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_after_allocation):
Don't increment rel_count of .cranges here. Set rawsize of .cranges.
kcook [Wed, 17 Aug 2005 03:46:40 +0000 (03:46 +0000)]
2005-08-17 Kelley Cook <kcook@gcc.gnu.org>
* strverscmp.c: Update FSF address.
* testsuite/Makefile.in: Likewise.
* testsuite/test-demangle.c: Likewise.
* testsuite/test-pexecute.c: Likewise.
amodra [Wed, 17 Aug 2005 03:07:08 +0000 (03:07 +0000)]
* elflink.c (_bfd_elf_define_linkage_sym): Don't call
bfd_elf_link_record_dynamic_symbol. Call elf_backend_hide_symbol.
(_bfd_elf_link_renumber_dynsyms): Formatting.
(struct elf_gc_sweep_symbol_info): New.
(elf_gc_sweep_symbol): Rewrite.
(elf_gc_sweep): Adjust params and elf_gc_sweep_symbol call.
Call _bfd_elf_link_renumber_dynsyms.
(bfd_elf_gc_sections): Adjust elf_gc_sweep call.
briand [Wed, 17 Aug 2005 00:52:43 +0000 (00:52 +0000)]
* cygcheck.cc (dump_sysinfo_services): Properly null-terminate 'buf'.
Avoid extraneous cygrunsrv invocation if 'verbose' is true.
amodra [Wed, 17 Aug 2005 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Wed, 17 Aug 2005 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***
hjl [Tue, 16 Aug 2005 19:35:20 +0000 (19:35 +0000)]
2005-08-16 H.J. Lu <hongjiu.lu@intel.com>
* bucomm.h (stpcpy): Declare if HAVE_DECL_STPCPY isn't defined.
* configure.in (AC_GNU_SOURCE): Added.
(AC_CHECK_DECLS): Add stpcpy.
* configure: Regenerated.
* config.in: Likewise.
jjohnstn [Tue, 16 Aug 2005 18:05:34 +0000 (18:05 +0000)]
2005-08-16 Shaun Jackman <sjackman@gmail.com>
* arm/syscalls.c (initialise_monitor_handles): Set
monitor_stderr to the result of SWI_open(":tt", "a")
instead of simply duplicating stdout.
kettenis [Tue, 16 Aug 2005 17:12:33 +0000 (17:12 +0000)]
* ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Set condition
register appropriately for varargs functions.
hp [Tue, 16 Aug 2005 15:13:26 +0000 (15:13 +0000)]
* ld-cris/dso-1.s: Add missing alignment directive.
* ld-cris/libdso-10.d: Adjust accordingly.
amodra [Tue, 16 Aug 2005 10:13:42 +0000 (10:13 +0000)]
* elf64-ppc.c (ppc64_elf_edit_opd): Don't call dec_dynrel_count
when relocatable.
jakub [Tue, 16 Aug 2005 09:25:21 +0000 (09:25 +0000)]
* unwind-ia64.c (UNW_DEC_SPILL_SPREL, UNW_DEC_SPILL_PSPREL,
UNW_DEC_RESTORE, UNW_DEC_SPILL_REG): Increase {,ab,t}regname
buffer sizes.
amodra [Tue, 16 Aug 2005 03:17:52 +0000 (03:17 +0000)]
* config/tc-ppc.c (ppc_set_cpu): Don't select 64-bit based on
default cpu.
gdbadmin [Tue, 16 Aug 2005 00:00:09 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Tue, 16 Aug 2005 00:00:09 +0000 (00:00 +0000)]
daily update
kevinb [Mon, 15 Aug 2005 22:23:53 +0000 (22:23 +0000)]
* MAINTAINERS (ms1): New target ISA entry. List myself as
maintainer.
kevinb [Mon, 15 Aug 2005 21:46:35 +0000 (21:46 +0000)]
Contribute target dependent code for Morpho Technologies ms1 processor.
kettenis [Mon, 15 Aug 2005 21:19:15 +0000 (21:19 +0000)]
* Makefile.in (m68kbsd-tdep.o): Ad missing space.
pbrook [Mon, 15 Aug 2005 19:19:52 +0000 (19:19 +0000)]
2005-08-15 Paul Brook <paul@codesourcery.com>
gas/
* config/tc-arm.c (do_t_mov_cmp): Fix encoding of i16-bit conditional
instructions.
(do_t_mvn_tst, do_t_neg, do_t_shift): Ditto.
gas/testsuite/
* gas/arm/thumb2_it.s: Add more instruction variants.
* gas/arm/thumb2_it.d: Ditto.
bwilson [Mon, 15 Aug 2005 18:17:10 +0000 (18:17 +0000)]
* elf32-xtensa.c (ELF_MACHINE_CODE, ELF_MACHINE_ALT1): Swap values
of EM_XTENSA and EM_XTENSA_OLD.
uweigand [Mon, 15 Aug 2005 17:36:48 +0000 (17:36 +0000)]
* s390-tdep.c (op1_lgfi, op2_lgfi, op1_agfi, op2_agfi,
op1_afi, op2_afi, op1_algfi, op2_algfi, op1_alfi, op2_alfi,
op1_slgfi, op2_slgfi, op1_slfi, op2_slfi): New opcode enums.
(s390_analyze_prologue): Recognize new z9-109 instructions.
uweigand [Mon, 15 Aug 2005 17:36:34 +0000 (17:36 +0000)]
* s390-tdep.c (op1_lgfi, op2_lgfi, op1_agfi, op2_agfi,
op1_afi, op2_afi, op1_algfi, op2_algfi, op1_alfi, op2_alfi,
op1_slgfi, op2_slgfi, op1_slfi, op2_slfi): New opcode enums.
(s390_analyze_prologue): Recognize new z9-109 instructions.
amodra [Mon, 15 Aug 2005 15:39:44 +0000 (15:39 +0000)]
Adjust for dynamic sym changes.
amodra [Mon, 15 Aug 2005 15:39:06 +0000 (15:39 +0000)]
* elf-bfd.h (_bfd_elf_define_linkage_sym): Declare.
* elflink.c (_bfd_elf_define_linkage_sym): New function, extracted
from..
(_bfd_elf_create_got_section): ..here.
(_bfd_elf_link_create_dynamic_sections): Call it for _DYNAMIC.
(_bfd_elf_create_dynamic_sections): ..and _PROCEDURE_LINKAGE_TABLE_.
* elf-m10300.c (_bfd_mn10300_elf_create_got_section): Use
_bfd_elf_define_linkage_sym.
* elf32-frv.c (_frv_create_got_section): Likewise.
* elf64-alpha.c (elf64_alpha_create_dynamic_sections): Likewise.
drow [Mon, 15 Aug 2005 15:37:13 +0000 (15:37 +0000)]
gas/
* config/tc-ppc.c (parse_cpu): Add -me300 support.
(md_show_usage): Likewise.
* doc/c-ppc.texi (PowerPC-Opts): Document it.
include/opcode/
* ppc.h (PPC_OPCODE_E300): Define.
opcodes/
* ppc-dis.c (powerpc_dialect): Handle e300.
(print_ppc_disassembler_options): Likewise.
* ppc-opc.c (PPCE300): Define.
(powerpc_opcodes): Mark icbt as available for the e300.
binutils/
* doc/binutils.texi (objdump): Document -M e300.
drow [Mon, 15 Aug 2005 15:37:02 +0000 (15:37 +0000)]
gas/
* config/tc-ppc.c (parse_cpu): Add -me300 support.
(md_show_usage): Likewise.
* doc/c-ppc.texi (PowerPC-Opts): Document it.
include/opcode/
* ppc.h (PPC_OPCODE_E300): Define.
opcodes/
* ppc-dis.c (powerpc_dialect): Handle e300.
(print_ppc_disassembler_options): Likewise.
* ppc-opc.c (PPCE300): Define.
(powerpc_opcodes): Mark icbt as available for the e300.
binutils/
* doc/binutils.texi (objdump): Document -M e300.
pbrook [Mon, 15 Aug 2005 15:01:36 +0000 (15:01 +0000)]
2005-08-15 Paul Brook <paul@codesourcery.com>
* elf32-arm.c (elf32_arm_howto_table_1): Make R_ARM_PLT32 the same as
R_ARM_PC24.
amodra [Mon, 15 Aug 2005 14:08:57 +0000 (14:08 +0000)]
* ld-elf/empty.s: Define "start".
* ld-elf/merge2.d: xfail arc-*-* and dlx-*-*.
* ld-scripts/empty-aligned.s: No .data section.
* ld-scripts/empty-aligned.t: Discard most sections.
* ld-scripts/empty-aligned.d: Adjust.
amodra [Mon, 15 Aug 2005 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Mon, 15 Aug 2005 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
danglin [Sun, 14 Aug 2005 22:34:11 +0000 (22:34 +0000)]
* readelf.c (slurp_hppa_unwind_table): Fix entry size on hppa64-hpux.
Don't access table entries past the end of the table.
corinna [Sun, 14 Aug 2005 19:48:06 +0000 (19:48 +0000)]
* init.cc (respawn_wow64_process): Make inline function. Remove
"noreturn" attribute. Add additional check if parent process is
actually a 64 bit process.
(dll_entry): Only test WOW64 processes with a stack in the usual
"dangerous" process space area.
danglin [Sun, 14 Aug 2005 01:15:34 +0000 (01:15 +0000)]
* hppa-dis.c (print_insn_hppa): Don't print '%' before register names.
Use "rp" instead of "%r2" in "b,l" insns.
danglin [Sun, 14 Aug 2005 01:01:30 +0000 (01:01 +0000)]
PR ld/1135
* elf64-hppa.c (elf64_hppa_special_sections): Add flag definitions for
.plt, .dlt, .sdata, .sbss and .tbss.
gdbadmin [Sun, 14 Aug 2005 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sun, 14 Aug 2005 00:00:07 +0000 (00:00 +0000)]
daily update
danglin [Sat, 13 Aug 2005 23:59:42 +0000 (23:59 +0000)]
* readelf.c (get_parisc_segment_type): Handle PT_PARISC_WEAKORDER.
(get_parisc_section_type_name): Handle SHT_PARISC_DLKM.
kettenis [Sat, 13 Aug 2005 22:37:08 +0000 (22:37 +0000)]
* solib-som.c (som_current_sos): Cast to 'gdb_byte *' where
appropriate.
kettenis [Sat, 13 Aug 2005 22:36:44 +0000 (22:36 +0000)]
* solib-som.c (som_current_sos): Cast to 'gdb_byte *' where
appropriate.
kettenis [Sat, 13 Aug 2005 22:31:30 +0000 (22:31 +0000)]
* tramp-frame.h (struct tramp_frame): Allow for 16 instructions
instead of 8.
* m68kbsd-tdep.c: Include "frame.h", "trad-frame.h" and
"tramp-frame.h".
(m68kobsd_sigtramp_cache_init): New function.
(m68kbsd_aout_init_abi): Prepend m68kobsd_sigtramp unwinder.