OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
19 years ago2005-06-21 Andrew Cagney <cagney@gnu.org>
cagney [Tue, 21 Jun 2005 14:34:39 +0000 (14:34 +0000)]
2005-06-21  Andrew Cagney  <cagney@gnu.org>

* MAINTAINERS: List GDB's Steering Committee as responsible for
GDB's maintenance.

19 years ago * bfd/elf32-hppa.c (hppa_elf_hash_entry): Define.
danglin [Tue, 21 Jun 2005 13:53:53 +0000 (13:53 +0000)]
* bfd/elf32-hppa.c (hppa_elf_hash_entry): Define.
(hppa_stub_hash_entry): Define.
(stub_hash_newfunc): Rename variables.
(hppa_link_hash_newfunc): Likewise.
(elf32_hppa_link_hash_table_free): Likewise.
(hppa_stub_name): Likewise.
(hppa_get_stub_entry): Likewise.
(hppa_add_stub): Likewise.
(hppa_type_of_stub): Likewise.
(hppa_build_one_stub): Likewise.
(hppa_size_one_stub): Likewise.
(elf32_hppa_create_dynamic_sections): Likewise.
(elf32_hppa_copy_indirect_symbol): Likewise.
(elf32_hppa_check_relocs): Likewise.
(elf32_hppa_gc_mark_hook): Likewise.
(elf32_hppa_gc_sweep_hook): Likewise.
(elf32_hppa_grok_psinfo): Likewise.
(elf32_hppa_hide_symbol): Likewise.
(elf32_hppa_adjust_dynamic_symbol): Likewise.
(allocate_dynrelocs): Likewise.
(clobber_millicode_symbols): Likewise.
(readonly_dynrelocs): Likewise.
(elf32_hppa_size_dynamic_sections): Likewise.
(get_local_syms): Likewise.
(elf32_hppa_size_stubs): Likewise.
(hppa_record_segment_addr): Likewise.
(final_link_relocate): Likewise.
(elf32_hppa_relocate_section): Likewise.
(elf32_hppa_finish_dynamic_symbol): Likewise.

19 years ago* inf-ttrace.c (inf_ttrace_xfer_partial): Change type of readbuf
kettenis [Tue, 21 Jun 2005 11:58:34 +0000 (11:58 +0000)]
* inf-ttrace.c (inf_ttrace_xfer_partial): Change type of readbuf
and writebuf arguments to `gdb_byte *'.

19 years ago * MAINTAINERS (Write After Approval): Add myself.
woodzltc [Tue, 21 Jun 2005 08:36:29 +0000 (08:36 +0000)]
* MAINTAINERS (Write After Approval): Add myself.

19 years ago* how-using.texinfo: Add FAQ about firewall software. Update
joshuadfranklin [Tue, 21 Jun 2005 05:52:25 +0000 (05:52 +0000)]
* how-using.texinfo: Add FAQ about firewall software. Update
        section on mounting and specifically note using managed mounts.

19 years ago* hppabsd-tdep.c: Include "symtab.h", "objfiles.h", "target.h",
kettenis [Tue, 21 Jun 2005 05:31:56 +0000 (05:31 +0000)]
* hppabsd-tdep.c: Include "symtab.h", "objfiles.h", "target.h",
"value.h" and "elf/common.h".
(hppabsd_supply_gregset): Use `gdb_byte *' for byte buffer.
(hppabsd_find_global_pointer): New function.
(hppabsd_init_abi): Set TDEP->find_global_pointer to
hppabsd_find_global_pointer.
* Makefile.in (hppabsd-tdep.o): Update dependencies.

19 years agoIndex: include/ChangeLog
geoffk [Tue, 21 Jun 2005 00:28:25 +0000 (00:28 +0000)]
Index: include/ChangeLog
2005-06-20  Geoffrey Keating  <geoffk@apple.com>

* libiberty.h (strverscmp): Prototype.

Index: libiberty/ChangeLog
2005-06-20  Geoffrey Keating  <geoffk@apple.com>

* strverscmp.c: New.
* Makefile.in (CFILES): Add strverscmp.c.
(CONFIGURED_OFILES): Add strverscmp.o.
(strverscmp.o): New rule.
(stamp-functions): Add $(srcdir) to files in source directory.
* configure.ac (funcs): Add strverscmp.
(AC_CHECK_FUNCS): Add strverscmp.
* configure: Regenerate.
* functions.texi: Regenerate.

19 years agodaily update
amodra [Tue, 21 Jun 2005 00:00:06 +0000 (00:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Tue, 21 Jun 2005 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

19 years agogas/
hjl [Mon, 20 Jun 2005 23:18:37 +0000 (23:18 +0000)]
gas/

2005-06-20  H.J. Lu  <hongjiu.lu@intel.com>

PR 1013
* config/tc-i386.c (md_assemble): Don't call optimize_disp on
movabs.
(optimize_disp): Optimize only if possible. Don't use 64bit
displacement on non-constants and do same on constants if
possible.

gas/testsuite/

2005-06-20  H.J. Lu  <hongjiu.lu@intel.com>

PR 1013
* i386/x86_64.s: Add absolute 64bit addressing tests for mov.
* i386/x86_64.s: Updated.

include/opcode/

2005-06-20  H.J. Lu  <hongjiu.lu@intel.com>

PR 1013
* i386.h (i386_optab): Update comments for 64bit addressing on
mov. Allow 64bit addressing for mov and movq.

19 years ago * fhandler_proc.cc (format_proc_partitions): Only list recognized
corinna [Mon, 20 Jun 2005 19:58:24 +0000 (19:58 +0000)]
* fhandler_proc.cc (format_proc_partitions): Only list recognized
partitions.  Use partition number given by PartitionNumber member.

19 years ago2005-06-20 H.J. Lu <hongjiu.lu@intel.com>
hjl [Mon, 20 Jun 2005 18:12:03 +0000 (18:12 +0000)]
2005-06-20  H.J. Lu  <hongjiu.lu@intel.com>

PR 1025
* elf-m10300.c (mn10300_elf_check_relocs): Handle indirect
symbol.
* elf32-arm.c (elf32_arm_check_relocs): Likewise.
* elf32-avr.c (elf32_avr_check_relocs): Likewise.
* elf32-cris.c (cris_elf_check_relocs): Likewise.
* elf32-d10v.c (elf32_d10v_check_relocs): Likewise.
* elf32-dlx.c (elf32_dlx_check_relocs): Likewise.
* elf32-fr30.c (fr30_elf_check_relocs): Likewise.
* elf32-frv.c (elf32_frv_check_relocs): Likewise.
* elf32-i370.c (i370_elf_check_relocs): Likewise.
* elf32-iq2000.c (iq2000_elf_check_relocs): Likewise.
* elf32-m32r.c (m32r_elf_check_relocs): Likewise.
* elf32-m68hc1x.c (elf32_m68hc11_check_relocs): Likewise.
* elf32-m68k.c (elf_m68k_check_relocs): Likewise.
* elf32-mcore.c (mcore_elf_check_relocs): Likewise.
* elf32-ms1.c (ms1_elf_check_relocs): Likewise.
* elf32-msp430.c (elf32_msp430_check_relocs): Likewise.
* elf32-openrisc.c (openrisc_elf_check_relocs): Likewise.
* elf32-ppc.c (ppc_elf_check_relocs): Likewise.
* elf32-s390.c (elf_s390_check_relocs): Likewise.
* elf32-sh.c (sh_elf_check_relocs): Likewise.
* elf32-v850.c (v850_elf_check_relocs): Likewise.
* elf32-vax.c (elf_vax_check_relocs): Likewise.
* elf64-mmix.c (mmix_elf_check_relocs): Likewise.
* elf64-ppc.c (ppc64_elf_check_relocs): Likewise.
* elf64-s390.c (elf_s390_check_relocs): Likewise.
* elf64-sh64.c (sh_elf64_check_relocs): Likewise.
* elfxx-mips.c (_bfd_mips_elf_check_relocs): Likewise.
* elfxx-sparc.c (_bfd_sparc_elf_check_relocs): Likewise.

19 years agofix indentation
cgf [Mon, 20 Jun 2005 15:33:50 +0000 (15:33 +0000)]
fix indentation

19 years ago2005-06-20 H.J. Lu <hongjiu.lu@intel.com>
hjl [Mon, 20 Jun 2005 13:06:21 +0000 (13:06 +0000)]
2005-06-20  H.J. Lu  <hongjiu.lu@intel.com>

PR 1022
* elf32-hppa.c (elf32_hppa_check_relocs): Handle indirect
symbol.

19 years ago2005-06-20 H.J. Lu <hongjiu.lu@intel.com>
hjl [Mon, 20 Jun 2005 12:59:48 +0000 (12:59 +0000)]
2005-06-20  H.J. Lu  <hongjiu.lu@intel.com>

PR 1025:
* elf32-i386.c (elf_i386_check_relocs): Handle indirect symbol.
* elf64-x86-64.c (elf64_x86_64_check_relocs): Likewise.

19 years ago2005-06-20 H.J. Lu <hongjiu.lu@intel.com>
hjl [Mon, 20 Jun 2005 12:59:35 +0000 (12:59 +0000)]
2005-06-20  H.J. Lu  <hongjiu.lu@intel.com>

PR 1025:
* elf32-i386.c (elf_i386_check_relocs): Handle indirect symbol.
* elf64-x86-64.c (elf64_x86_64_check_relocs): Likewise.

19 years ago(test_stack_locals_listing): Remove test for -stack-select-frame without
nickrob [Mon, 20 Jun 2005 03:38:20 +0000 (03:38 +0000)]
(test_stack_locals_listing): Remove test for -stack-select-frame without
arguments.
(test_stack_frame_listing): Add test for newly implemented command
-stack-info-frame.

19 years ago*** empty log message ***
nickrob [Mon, 20 Jun 2005 03:37:15 +0000 (03:37 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
gdbadmin [Mon, 20 Jun 2005 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
amodra [Mon, 20 Jun 2005 00:00:06 +0000 (00:00 +0000)]
daily update

19 years ago* hppa-tdep.c (hppa_pointer_to_address_hack): Remove function.
kettenis [Sun, 19 Jun 2005 21:25:44 +0000 (21:25 +0000)]
* hppa-tdep.c (hppa_pointer_to_address_hack): Remove function.
(unwind_command): Use %lx to print pointer.

19 years ago* remote-sim.c (gdbsim_xfer_inferior_memory): Remove prototype.
kettenis [Sun, 19 Jun 2005 20:08:35 +0000 (20:08 +0000)]
* remote-sim.c (gdbsim_xfer_inferior_memory): Remove prototype.
Change type of second argument to`gdb_byte *'.

19 years ago * include/winldap.h (ldap_simple_bindW, ldap_simple_bind_sW,
dannysmith [Sun, 19 Jun 2005 07:25:11 +0000 (07:25 +0000)]
* include/winldap.h (ldap_simple_bindW, ldap_simple_bind_sW,
ldap_bindW, ldap_bind_sW): Change PCHAR arg to PWCHAR.
Thanks to: Christian  <chhd at users dot sf dot net>

19 years ago(GDB/MI Stack Manipulation):
nickrob [Sun, 19 Jun 2005 03:16:32 +0000 (03:16 +0000)]
(GDB/MI Stack Manipulation):
Re-instate -stack-info-frame with example.  Say that it gets
info on selected frame, not current frame.

19 years ago*** empty log message ***
nickrob [Sun, 19 Jun 2005 03:14:46 +0000 (03:14 +0000)]
*** empty log message ***

19 years ago(mi_cmds): Replace entry for -stack-info-frame.
nickrob [Sun, 19 Jun 2005 03:12:39 +0000 (03:12 +0000)]
(mi_cmds): Replace entry for -stack-info-frame.
Make it use mi_cmd_stack_info_frame

19 years ago(mi_cmd_stack_info_frame): New declaration.
nickrob [Sun, 19 Jun 2005 03:12:15 +0000 (03:12 +0000)]
(mi_cmd_stack_info_frame): New declaration.

19 years ago(mi_cmd_stack_info_frame): New function.
nickrob [Sun, 19 Jun 2005 03:11:47 +0000 (03:11 +0000)]
(mi_cmd_stack_info_frame): New function.

19 years ago*** empty log message ***
nickrob [Sun, 19 Jun 2005 03:11:19 +0000 (03:11 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
gdbadmin [Sun, 19 Jun 2005 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
amodra [Sun, 19 Jun 2005 00:00:06 +0000 (00:00 +0000)]
daily update

19 years ago* hppa-tdep.c (hppa_fallback_frame_cache): Don't error out if we
kettenis [Sat, 18 Jun 2005 22:03:38 +0000 (22:03 +0000)]
* hppa-tdep.c (hppa_fallback_frame_cache): Don't error out if we
can't find the bounds of the current function.  Wrap some long
lines in the process.

19 years ago * glob.c: (glob0): New local variable `limit`. Use in calls to glob1
corinna [Sat, 18 Jun 2005 19:04:23 +0000 (19:04 +0000)]
* glob.c: (glob0): New local variable `limit`. Use in calls to glob1
and globextend.
(glob1): Add `limit' parameter.
(glob2): Ditto.
(glob3): Ditto.
(globextend): Ditto. Implement GLOB_LIMIT handling.
* include/glob.h (GLOB_LIMIT): New define.
* include/cygwin/version.h: Bump API minor number.

19 years ago* regcache.c (regcache_raw_supply, regcache_raw_collect): Change
kettenis [Sat, 18 Jun 2005 15:22:52 +0000 (15:22 +0000)]
* regcache.c (regcache_raw_supply, regcache_raw_collect): Change
type of last argument back to `void *'.
* regcache.h (regcache_raw_supply, regcache_raw_collect): Likewise.

19 years ago2005-06-18 H.J. Lu <hongjiu.lu@intel.com>
hjl [Sat, 18 Jun 2005 13:23:04 +0000 (13:23 +0000)]
2005-06-18  H.J. Lu  <hongjiu.lu@intel.com>

* reloc.c: Add BFD_RELOC_X86_64_GOTOFF64 and
BFD_RELOC_X86_64_GOTPC32.
* bfd-in2.h: Regenerated.

19 years ago(Backtrace): Document that free-standing environments do not need
eliz [Sat, 18 Jun 2005 13:12:04 +0000 (13:12 +0000)]
(Backtrace): Document that free-standing environments do not need
to have a `main' function.

19 years ago(Machine Code): Document possible problems with locations in
eliz [Sat, 18 Jun 2005 12:54:36 +0000 (12:54 +0000)]
(Machine Code): Document possible problems with locations in
shared libraries.

19 years ago(Files): Add more indexing for solib-absolute-prefix and --with-sysroot.
eliz [Sat, 18 Jun 2005 12:40:47 +0000 (12:40 +0000)]
(Files): Add more indexing for solib-absolute-prefix and --with-sysroot.

19 years ago(Files): Document the possibility of loading unlinked object files.
eliz [Sat, 18 Jun 2005 12:36:05 +0000 (12:36 +0000)]
(Files): Document the possibility of loading unlinked object files.

19 years ago(Threads): Add an @cindex entry for "thread apply".
eliz [Sat, 18 Jun 2005 12:18:23 +0000 (12:18 +0000)]
(Threads): Add an @cindex entry for "thread apply".

19 years ago(Output Formats): More detailed description of the `c' format.
eliz [Sat, 18 Jun 2005 12:10:54 +0000 (12:10 +0000)]
(Output Formats): More detailed description of the `c' format.
(Memory): List explicitly all the formats supported by `x'.

19 years ago(Server): Clarify that `file' should be used before connecting to the server.
eliz [Sat, 18 Jun 2005 11:39:34 +0000 (11:39 +0000)]
(Server): Clarify that `file' should be used before connecting to the server.
(Files): Add an xref to the above description.

19 years agoCorrect typo in ChangeLog
dannysmith [Sat, 18 Jun 2005 07:53:49 +0000 (07:53 +0000)]
Correct typo in ChangeLog

19 years ago * include/winbase.h (GETTEXTEX): Correct name of lpUsedDefChar field.
dannysmith [Sat, 18 Jun 2005 07:51:32 +0000 (07:51 +0000)]
* include/winbase.h  (GETTEXTEX): Correct name of lpUsedDefChar field.
Thanks to: Saulius Menkevicius  <bobas at users dot sf dot net>

19 years ago * include/winbase.h (GolbalDiscard): Define as macro.
dannysmith [Sat, 18 Jun 2005 07:36:01 +0000 (07:36 +0000)]
* include/winbase.h  (GolbalDiscard): Define as macro.
Thanks to: David Golub  <david_golub  at users dot sf dot net>

19 years ago(GDB/MI Stack Manipulation): Remove reference to
nickrob [Sat, 18 Jun 2005 03:01:48 +0000 (03:01 +0000)]
(GDB/MI Stack Manipulation): Remove reference to
-stack-info-frame.

19 years ago*** empty log message ***
nickrob [Sat, 18 Jun 2005 02:51:55 +0000 (02:51 +0000)]
*** empty log message ***

19 years ago(mi_cmds): Remove entry for -stack-info-frame.
nickrob [Sat, 18 Jun 2005 02:49:50 +0000 (02:49 +0000)]
(mi_cmds): Remove entry for -stack-info-frame.

19 years ago(mi_cmd_stack_list_frames, mi_cmd_stack_info_depth):
nickrob [Sat, 18 Jun 2005 02:49:18 +0000 (02:49 +0000)]
(mi_cmd_stack_list_frames, mi_cmd_stack_info_depth):
Don't test for stack.
(mi_cmd_stack_select_frame): Make the argument mandatory.
Don't test for stack.

19 years ago*** empty log message ***
nickrob [Sat, 18 Jun 2005 02:48:15 +0000 (02:48 +0000)]
*** empty log message ***

19 years ago* wincap.h (wincaps::detect_win16_exe): Declare.
cgf [Sat, 18 Jun 2005 01:36:15 +0000 (01:36 +0000)]
* wincap.h (wincaps::detect_win16_exe): Declare.
(wincapc::detect_win16_exe): Implement.
* wincap.cc: Populate detect_win16_exe where appropriate.
* spawn.cc (spawn_guts): Only go out of the way to detect 16-bit apps on
systems which are flummoxed by them.

19 years ago* spawn.cc (spawn_guts): Detect when executing a 16-bit application and avoid
cgf [Sat, 18 Jun 2005 01:27:04 +0000 (01:27 +0000)]
* spawn.cc (spawn_guts): Detect when executing a 16-bit application and avoid
setting the process pipe since this causes conniptions in Windows 9x.

19 years agoCorrect a typo.
drow [Sat, 18 Jun 2005 00:56:23 +0000 (00:56 +0000)]
Correct a typo.

19 years agodaily update
amodra [Sat, 18 Jun 2005 00:00:08 +0000 (00:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Sat, 18 Jun 2005 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago * cygwin.din (inet_pton): Export.
corinna [Fri, 17 Jun 2005 20:01:57 +0000 (20:01 +0000)]
* cygwin.din (inet_pton): Export.
(inet_ntop): Export.
* net.cc (cygwin_inet_pton): Implement inet_pton for AF_INET for now.
(cygwin_inet_ntop): Implement inet_ntop for AF_INET for now.
* include/arpa/inet.h (inet_pton): Declare.
(inet_ntop): Declare.
* include/cygwin/version.h: Bump API minor number.

19 years ago * elf.c (bfd_section_from_shdr): Kill bogus warning.
jakub [Fri, 17 Jun 2005 15:48:24 +0000 (15:48 +0000)]
* elf.c (bfd_section_from_shdr): Kill bogus warning.

19 years ago * elf.c (bfd_section_from_shdr): Fail if sh_entsize is bogus for
jakub [Fri, 17 Jun 2005 13:39:51 +0000 (13:39 +0000)]
* elf.c (bfd_section_from_shdr): Fail if sh_entsize is bogus for
symbol, relocation, group or versym sections.

* coffcode.h (coff_slurp_reloc_table): Don't crash if native_relocs
is NULL.
* peXXigen.c (pe_print_idata): Don't crash if dll_name or start_address
doesn't point into the section.

19 years ago * elf/external.h (GRP_ENTRY_SIZE): Define.
jakub [Fri, 17 Jun 2005 13:37:20 +0000 (13:37 +0000)]
* elf/external.h (GRP_ENTRY_SIZE): Define.

* readelf.c (CHECK_ENTSIZE_VALUES, CHECK_ENTSIZE): Define.
(process_section_headers): Use it.
(process_relocs): Don't crash if symsec is not SHT_SYMTAB
or SHT_DYNSYM.
(process_version_sections): Use sizeof (Elf_External_Versym)
instead of sh_entsize.

19 years ago * fhandler.h (fhandler_union): Add missing members corresponding to
corinna [Fri, 17 Jun 2005 11:44:44 +0000 (11:44 +0000)]
* fhandler.h (fhandler_union): Add missing members corresponding to
fhandler_fifo and fhandler_netdrive.

19 years agobfd/
jbeulich [Fri, 17 Jun 2005 08:03:46 +0000 (08:03 +0000)]
bfd/
2005-06-17  Jan Beulich  <jbeulich@novell.com>

* bfd-in2.h (elf_x86_64_reloc_type): Add BFD_RELOC_X86_64_GOTOFF64
and BFD_RELOC_X86_64_GOTPC32.
* libbfd.h (bfd_reloc_code_real_names): Likewise.
* elf64-x86-64.c (x86_64_elf_howto_table): Add entries for
R_X86_64_PC64, R_X86_64_GOTOFF64, and R_X86_64_GOTPC32.
(x86_64_reloc_map): Add entries for R_X86_64_PC64, R_X86_64_GOTOFF64,
and R_X86_64_GOTPC32.
(elf64_x86_64_info_to_howto): Adjust bounding relocation type.
(elf64_x86_64_check_relocs): Also handle R_X86_64_PC64,
R_X86_64_GOTOFF64, and R_X86_64_GOTPC32.
(elf64_x86_64_relocate_section): Likewise.
(elf64_x86_64_gc_sweep_hook): Also handle R_X86_64_PC64.

gas/
2005-06-17  Jan Beulich  <jbeulich@novell.com>

* config/tc-i386.c (reloc): Also handle BFD_RELOC_64_PCREL.
(tc_i386_fix_adjustable): Include BFD_RELOC_X86_64_GOTOFF64,
BFD_RELOC_X86_64_DTPOFF64, and BFD_RELOC_X86_64_TPOFF64.
(output_disp): Do GOTPC conversion also for BFD_RELOC_X86_64_32S
and BFD_RELOC_32_PCREL. Use BFD_RELOC_X86_64_GOTPC32 instead of
aborting.
(output_imm): Do GOTPC conversion also for BFD_RELOC_X86_64_32S.
Use BFD_RELOC_X86_64_GOTPC32 instead of aborting.
(tc_gen_reloc): Do GOTPC conversion also for BFD_RELOC_32_PCREL.
Use BFD_RELOC_X86_64_GOTPC32 instead of aborting. Also handle
BFD_RELOC_X86_64_GOTOFF64, BFD_RELOC_X86_64_GOTPC32,
BFD_RELOC_X86_64_DTPOFF64, and BFD_RELOC_X86_64_TPOFF64. Also
convert 8-byte pc-relative relocations.
(lex_got): Use BFD_RELOC_X86_64_GOTOFF64 for 64-bit @gotoff.
(i386_validate_fix): Likewise.
(x86_cons): Also handle quad values in 64-bit mode.
(i386_displacement): Also handle BFD_RELOC_X86_64_GOTOFF64.
(md_apply_fix): Include BFD_RELOC_X86_64_DTPOFF64 and
BFD_RELOC_X86_64_TPOFF64 in the TLS check. Also convert BFD_RELOC_64
to pc-relative variant. Also check for BFD_RELOC_64_PCREL.

gas/testsuite/
2005-06-17  Jan Beulich  <jbeulich@novell.com>

* gas/i386/x86-64-pcrel.s: Add insn requiring 64-bit pc-relative
relocation. Add insns for all widths of non-pc-relative relocations.
* gas/i386/x86-64-pcrel.d: Adjust.

include/elf/
2005-06-17  Jan Beulich  <jbeulich@novell.com>

* x86-64.h (elf_x86_64_reloc_type): Adjust comment for
R_X86_64_GOTPCREL. Add R_X86_64_PC64, R_X86_64_GOTOFF64, and
R_X86_64_GOTPC32.

19 years agobfd/
jbeulich [Fri, 17 Jun 2005 08:03:37 +0000 (08:03 +0000)]
bfd/
2005-06-17  Jan Beulich  <jbeulich@novell.com>

* bfd-in2.h (elf_x86_64_reloc_type): Add BFD_RELOC_X86_64_GOTOFF64
and BFD_RELOC_X86_64_GOTPC32.
* libbfd.h (bfd_reloc_code_real_names): Likewise.
* elf64-x86-64.c (x86_64_elf_howto_table): Add entries for
R_X86_64_PC64, R_X86_64_GOTOFF64, and R_X86_64_GOTPC32.
(x86_64_reloc_map): Add entries for R_X86_64_PC64, R_X86_64_GOTOFF64,
and R_X86_64_GOTPC32.
(elf64_x86_64_info_to_howto): Adjust bounding relocation type.
(elf64_x86_64_check_relocs): Also handle R_X86_64_PC64,
R_X86_64_GOTOFF64, and R_X86_64_GOTPC32.
(elf64_x86_64_relocate_section): Likewise.
(elf64_x86_64_gc_sweep_hook): Also handle R_X86_64_PC64.

gas/
2005-06-17  Jan Beulich  <jbeulich@novell.com>

* config/tc-i386.c (reloc): Also handle BFD_RELOC_64_PCREL.
(tc_i386_fix_adjustable): Include BFD_RELOC_X86_64_GOTOFF64,
BFD_RELOC_X86_64_DTPOFF64, and BFD_RELOC_X86_64_TPOFF64.
(output_disp): Do GOTPC conversion also for BFD_RELOC_X86_64_32S
and BFD_RELOC_32_PCREL. Use BFD_RELOC_X86_64_GOTPC32 instead of
aborting.
(output_imm): Do GOTPC conversion also for BFD_RELOC_X86_64_32S.
Use BFD_RELOC_X86_64_GOTPC32 instead of aborting.
(tc_gen_reloc): Do GOTPC conversion also for BFD_RELOC_32_PCREL.
Use BFD_RELOC_X86_64_GOTPC32 instead of aborting. Also handle
BFD_RELOC_X86_64_GOTOFF64, BFD_RELOC_X86_64_GOTPC32,
BFD_RELOC_X86_64_DTPOFF64, and BFD_RELOC_X86_64_TPOFF64. Also
convert 8-byte pc-relative relocations.
(lex_got): Use BFD_RELOC_X86_64_GOTOFF64 for 64-bit @gotoff.
(i386_validate_fix): Likewise.
(x86_cons): Also handle quad values in 64-bit mode.
(i386_displacement): Also handle BFD_RELOC_X86_64_GOTOFF64.
(md_apply_fix): Include BFD_RELOC_X86_64_DTPOFF64 and
BFD_RELOC_X86_64_TPOFF64 in the TLS check. Also convert BFD_RELOC_64
to pc-relative variant. Also check for BFD_RELOC_64_PCREL.

gas/testsuite/
2005-06-17  Jan Beulich  <jbeulich@novell.com>

* gas/i386/x86-64-pcrel.s: Add insn requiring 64-bit pc-relative
relocation. Add insns for all widths of non-pc-relative relocations.
* gas/i386/x86-64-pcrel.d: Adjust.

include/elf/
2005-06-17  Jan Beulich  <jbeulich@novell.com>

* x86-64.h (elf_x86_64_reloc_type): Adjust comment for
R_X86_64_GOTPCREL. Add R_X86_64_PC64, R_X86_64_GOTOFF64, and
R_X86_64_GOTPC32.

19 years ago * gdb.fortran/array_element.f: New file.
woodzltc [Fri, 17 Jun 2005 05:18:12 +0000 (05:18 +0000)]
* gdb.fortran/array_element.f: New file.
* gdb.fortran/array_element.exp: New testcase.

19 years ago * gdb.fortran/array_element.f: New file.
woodzltc [Fri, 17 Jun 2005 05:16:00 +0000 (05:16 +0000)]
* gdb.fortran/array_element.f: New file.
* gdb.fortran/array_element.exp: New testcase.

19 years ago * linux-low.c (linux_wait, linux_send_signal): Don't test
drow [Fri, 17 Jun 2005 04:01:05 +0000 (04:01 +0000)]
* linux-low.c (linux_wait, linux_send_signal): Don't test
an unsigned long variable for > 0 if it could be MAX_ULONG.
* server.c (myresume): Likewise.
* target.c (set_desired_inferior): Likewise.

19 years ago * remote.c (set_thread, remote_thread_alive): Replace sprintf
woodzltc [Fri, 17 Jun 2005 03:53:15 +0000 (03:53 +0000)]
* remote.c (set_thread, remote_thread_alive): Replace sprintf
call with xsnprintf.
(remote_threads_extra_info, extended_remote_restart)
(remote_check_symbols, store_register_using_P)
(compare_sections_command): Ditto.

19 years ago * remote.c (set_thread, remote_thread_alive): Replace sprintf
woodzltc [Fri, 17 Jun 2005 03:42:24 +0000 (03:42 +0000)]
* remote.c (set_thread, remote_thread_alive): Replace sprintf
call with xsnprintf.
(remote_threads_extra_info, extended_remote_restart)
(remote_check_symbols, store_register_using_P)
(compare_sections_command): Ditto.

19 years ago * gencode.c (tab): Avoid lvalue casts. Suggested by
drow [Fri, 17 Jun 2005 03:13:07 +0000 (03:13 +0000)]
* gencode.c (tab): Avoid lvalue casts.  Suggested by
Ralf Corsepius <ralf.corsepius@rtems.org>.

19 years agodaily update
amodra [Fri, 17 Jun 2005 00:00:08 +0000 (00:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Fri, 17 Jun 2005 00:00:07 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago2005-06-16 Christopher Faylor <cgf@timesys.com>
jjohnstn [Thu, 16 Jun 2005 19:14:00 +0000 (19:14 +0000)]
2005-06-16  Christopher Faylor  <cgf@timesys.com>

        * libc/stdio/vfprintf.c (cvt): Don't rely on pointer aliasing to
        determine characteristics of long double.  Use a union instead.
        * ldtoa.c (_ldtoa_r): Ditto.
        (_ldcheck): Ditto.
        (_strtold): Ditto.
        (union uconv): New union.

19 years ago* mips16-opc.c (mips16_opcodes): Add the following MIPS16e
davidu [Thu, 16 Jun 2005 17:01:11 +0000 (17:01 +0000)]
* mips16-opc.c (mips16_opcodes): Add the following MIPS16e
instructions to the table; seb/seh/sew/zeb/zeh/zew.

19 years ago * syscalls.cc (statvfs): Handle the case when GetDiskFreeSpaceEx
corinna [Thu, 16 Jun 2005 15:46:38 +0000 (15:46 +0000)]
* syscalls.cc (statvfs): Handle the case when GetDiskFreeSpaceEx
succeeds but GetDiskFreeSpace fails by faking bytes-per-sector and
sectors-per-cluster values.

19 years ago* mips.igen: New mips16e model and include m16e.igen.
davidu [Thu, 16 Jun 2005 15:15:49 +0000 (15:15 +0000)]
* mips.igen: New mips16e model and include m16e.igen.
(check_u64): Add mips16e tag.
* m16e.igen: New file for MIPS16e instructions.
* configure.ac (mipsisa32*-*-*, mipsisa32r2*-*-*, mipsisa64*-*-*,
mipsisa64r2*-*-*): Change sim_gen to M16, add mips16 and mips16e
models.
* configure: Regenerate.

19 years ago* MAINTAINERS (Write After Approval): Add self.
davidu [Thu, 16 Jun 2005 15:04:31 +0000 (15:04 +0000)]
* MAINTAINERS (Write After Approval): Add self.

19 years ago * profile/profile.h (_MCOUNT_CALL): Define as regparm(2)
dannysmith [Thu, 16 Jun 2005 12:14:19 +0000 (12:14 +0000)]
* profile/profile.h (_MCOUNT_CALL): Define as regparm(2)
(_MCOUNT_DECL): Use it.
(MCOUNT): Save and restore eax, ecx, edx registers.
* profile/mcount.c (_mcount): ANSI-fy.

19 years ago * include/_mingw.h (__MINGW_GNUC_PREREQ): Define. Use to
dannysmith [Thu, 16 Jun 2005 11:41:46 +0000 (11:41 +0000)]
* include/_mingw.h (__MINGW_GNUC_PREREQ): Define. Use to
guard __MINGW_ATTRIB macro definitions.
* include/math.h (logb[fl]):  Don't define inlines for
GCC-4.0+ && __FAST_MATH__.
(rint[fl], lrint[fl], llrint[fl]); Likewise.  Clean up
line-continuation backslashes.

19 years agoAdd quotes to avoid a null test expression.
nickc [Thu, 16 Jun 2005 09:46:07 +0000 (09:46 +0000)]
Add quotes to avoid a null test expression.

19 years agorename.c (simple_copy): Only define if it is going to be used.
nickc [Thu, 16 Jun 2005 09:18:19 +0000 (09:18 +0000)]
rename.c (simple_copy): Only define if it is going to be used.
  (smart_rename): Mark the preserve_dates parameter as possibly being unused.

resres.c (write_res_data): Prevent a potential compile time warning by casting
  the return value from fwrite.

19 years ago* archive.c: Include "libiberty.h".
kettenis [Thu, 16 Jun 2005 08:05:35 +0000 (08:05 +0000)]
* archive.c: Include "libiberty.h".

19 years ago*** empty log message ***
gdbadmin [Thu, 16 Jun 2005 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
amodra [Thu, 16 Jun 2005 00:00:05 +0000 (00:00 +0000)]
daily update

19 years agoadd missing entry
cgf [Wed, 15 Jun 2005 22:51:05 +0000 (22:51 +0000)]
add missing entry

19 years ago* cygthread.cc (cygthread::detach): Fix debugging output.
cgf [Wed, 15 Jun 2005 22:50:31 +0000 (22:50 +0000)]
* cygthread.cc (cygthread::detach): Fix debugging output.
* dcrt0.cc (dll_crt0_1): Create signal_arrived early -- before any filename
manipulation.
* sigproc.cc (sigproc_init): Don't create signal_arrived here.
* fork.cc (fork_child): Ditto.

19 years ago2005-06-15 Dave Brolley <brolley@redhat.com>
brolley [Wed, 15 Jun 2005 21:28:18 +0000 (21:28 +0000)]
2005-06-15  Dave Brolley  <brolley@redhat.com>

        * sid-cpu.scm (-gen-hw-stream-and-destream-fns): New function.
        (cgen-cpu.h): Call it.

        Contributed on behalf of Graydon Hoare
        2001-06-05  graydon hoare  <graydon@redhat.com>

        * utils.scm (foldl): Define.
        (foldr): Define.
        (filter): Define.
        (union): Define.
        (intersection): Simplify.
        * sid.scm : Set APPLICATION to SID-SIMULATOR.
        (-op-gen-delayed-set-maybe-trace): Define.
        (<operand> 'gen-set-{quiet,trace}): Delegate to
        op-gen-delayed-set-quiet etc. Note: this is still a little tangled
        up and needs cleaning.
        (-with-parallel?): Hardwire with-parallel to #t.
        (<operand> 'cxmake-get): Replace with lookahead-aware code
        * sid-decode.scm: Remove per-insn writeback fns.
        (-gen-idesc-decls): Redefine sem_fn type.
        * sid-cpu.scm (gen-write-stack-structure): Replace parexec stuff
        with write stack stuff.
        (cgen-write.cxx): Replace per-insn writebacks with single write
        stack writeback. Add write stack reset function.
        (-gen-scache-semantic-fn insn): Replace parexec stuff with write
        stack stuff.
        * rtl-c.scm (xop): Clone operand into delayed operand if #:delayed
        estate attribute set.
        (delay): Set #:delayed attribute to calculated delay, update
        maximum delay of cpu, check (delay ...) usage.
        * operand.scm (<operand>): Add delayed slot to <operand>.
        * mach.scm (<cpu>): Add max-delay slot to <cpu>.
        * dev.scm (load-sid): Set APPLICATION to SID-SIMULATOR.
        * doc/rtl.texi (Expressions): Add section on (delay ...).

19 years ago2005-06-15 Dave Brolley <brolley@redhat.com>
brolley [Wed, 15 Jun 2005 21:26:01 +0000 (21:26 +0000)]
2005-06-15  Dave Brolley  <brolley@redhat.com>

        Morpho ms1 cpu contributed on behalf of Red Hat
        2004-05-14  Stan Cox  <scox@redhat.com>

        * ms1: New directory.
        * aclocal.m4: Regenerated.
        * Makefile.in: Ditto.
        * configure: Ditto.
        * configure.in: Support added for ms1.
        * compCGEN.cxx: Ditto.

19 years agoNew cpu port.
brolley [Wed, 15 Jun 2005 21:17:18 +0000 (21:17 +0000)]
New cpu port.

19 years agoFix my e-mail address in previous commit.
kettenis [Wed, 15 Jun 2005 16:35:28 +0000 (16:35 +0000)]
Fix my e-mail address in previous commit.

19 years ago* hppa-hpux-nat.c (hppa_hpux_fetch_register)
kettenis [Wed, 15 Jun 2005 16:34:25 +0000 (16:34 +0000)]
* hppa-hpux-nat.c (hppa_hpux_fetch_register)
  (hppa_hpux_store_register): Add casts in extract_unsigned_integer
  and store_usigned_integer calls.

19 years ago2005-06-15 Dave Brolley <brolley@redhat.com>
brolley [Wed, 15 Jun 2005 16:23:54 +0000 (16:23 +0000)]
2005-06-15  Dave Brolley  <brolley@redhat.com>

        Contribute Morpho ms1 on behalf of Red Hat
        * ms1-asm.c, ms1-desc.c, ms1-dis.c, ms1-ibld.c, ms1-opc.c,
        ms1-opc.h: New files, Morpho ms1 target.

        2004-05-14  Stan Cox  <scox@redhat.com>

        * disassemble.c (ARCH_ms1): Define.
        (disassembler): Handle bfd_arch_ms1

        2004-05-13  Michael Snyder  <msnyder@redhat.com>

        * Makefile.am, Makefile.in: Add ms1 target.
        * configure.in: Ditto.

19 years ago2005-06-15 Dave Brolley <brolley@redhat.com>
brolley [Wed, 15 Jun 2005 16:23:24 +0000 (16:23 +0000)]
2005-06-15  Dave Brolley  <brolley@redhat.com>

        Contribute Morpho ms1 on behalf of Red Hat
        * ms1-asm.c, ms1-desc.c, ms1-dis.c, ms1-ibld.c, ms1-opc.c,
        ms1-opc.h: New files, Morpho ms1 target.

        2004-05-14  Stan Cox  <scox@redhat.com>

        * disassemble.c (ARCH_ms1): Define.
        (disassembler): Handle bfd_arch_ms1

        2004-05-13  Michael Snyder  <msnyder@redhat.com>

        * Makefile.am, Makefile.in: Add ms1 target.
        * configure.in: Ditto.

19 years ago2005-06-15 Dave Brolley <brolley@redhat.com>
brolley [Wed, 15 Jun 2005 15:33:07 +0000 (15:33 +0000)]
2005-06-15  Dave Brolley  <brolley@redhat.com>

        Contributed by Red Hat.
        * ms1.cpu: New file.  Written by Nick Clifton, Stan Cox.
        * ms1.opc: New file.  Written by Stan Cox.

19 years ago* elf32-v850.c (ELF_MACHINE_ALT2): Define so that binaries produced by the
nickc [Wed, 15 Jun 2005 08:22:42 +0000 (08:22 +0000)]
* elf32-v850.c (ELF_MACHINE_ALT2): Define so that binaries produced by the
  GreenHills toolchain can be assimilated.

19 years ago * som.c (som_find_inliner_info): New.
danglin [Wed, 15 Jun 2005 00:16:08 +0000 (00:16 +0000)]
* som.c (som_find_inliner_info): New.

19 years agodaily update
amodra [Wed, 15 Jun 2005 00:00:06 +0000 (00:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Wed, 15 Jun 2005 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago* path.cc (path_conv::check): Always reset to FH_FS when component != 0 and
cgf [Tue, 14 Jun 2005 23:52:52 +0000 (23:52 +0000)]
* path.cc (path_conv::check): Always reset to FH_FS when component != 0 and
FH_NETDRIVE to fix problems with strict case checking.

19 years ago* configure.ac: Simplify and improve check for socklen_t.
kettenis [Tue, 14 Jun 2005 21:36:28 +0000 (21:36 +0000)]
* configure.ac: Simplify and improve check for socklen_t.
* configure, config.in: Regenerate.

19 years ago PR libgcj/19877:
tromey [Tue, 14 Jun 2005 20:27:38 +0000 (20:27 +0000)]
PR libgcj/19877:
* no-executables.m4: Call real AC_FUNC_MMAP when cache variable
is set but not 'no'.

19 years agoFix typo.
kettenis [Tue, 14 Jun 2005 20:13:00 +0000 (20:13 +0000)]
Fix typo.