OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
22 years ago * elfxx-mips.c (ABI_64_P): Fix comment.
ths [Mon, 1 Jul 2002 10:01:00 +0000 (10:01 +0000)]
* elfxx-mips.c (ABI_64_P): Fix comment.
(MIPS_ELF_OPTIONS_SECTION_NAME,MIPS_ELF_STUB_SECTION_NAME): Use the
new section names for N64 ABI.
(mips_elf_output_extsym): No special _gp_disp handling for NewABI.
(mips_elf_calculate_relocation): Code formatting.
(mips_elf_create_dynamic_relocation): Likewise.
(_bfd_mips_elf_fake_sections): IRIX6 needs this hack, too.
(_bfd_mips_elf_size_dynamic_sections): Handle GOT_PAGE for any NewABI.
(_bfd_mips_elf_relocate_section): No special handling for R_MIPS_64
in any NewABI.
(_bfd_mips_elf_finish_dynamic_symbol): No special _gp_disp handling
for NewABI.
(_bfd_mips_elf_modify_segment_map): Handle any N64 ABI.
(_bfd_mips_elf_gc_sweep_hook): NewABI GOT relocs should be handled
here, too.

22 years ago* i386bsd-tdep.c (i386bsd_frame_saved_pc): Removed.
kettenis [Mon, 1 Jul 2002 09:40:59 +0000 (09:40 +0000)]
* i386bsd-tdep.c (i386bsd_frame_saved_pc): Removed.

22 years ago* config/i386/tm-i386sol2.h (COERCE_FLOAT_TO_DOUBLE): Removed.
kettenis [Mon, 1 Jul 2002 09:13:07 +0000 (09:13 +0000)]
* config/i386/tm-i386sol2.h (COERCE_FLOAT_TO_DOUBLE): Removed.
* i386-sol2-tdep.c (i386_sol2_init_abi): Adjust for the removal of
this macro.  Include "value.h".

22 years ago * elf64-x86-64.c (elf64_x86_64_relocate_section): Only convert
schwab [Mon, 1 Jul 2002 08:47:11 +0000 (08:47 +0000)]
* elf64-x86-64.c (elf64_x86_64_relocate_section): Only convert
R_X86_64_64 to R_X86_64_RELATIVE.

22 years ago * emulparams/vax.sh (OUTPUT_FORMAT): Use a.out-vax-bsd format.
amodra [Mon, 1 Jul 2002 08:32:29 +0000 (08:32 +0000)]
* emulparams/vax.sh (OUTPUT_FORMAT): Use a.out-vax-bsd format.

22 years ago * vaxbsd.c: New BFD backend for VAX BSD and Ultrix.
amodra [Mon, 1 Jul 2002 08:31:51 +0000 (08:31 +0000)]
* vaxbsd.c: New BFD backend for VAX BSD and Ultrix.
* Makefile.am (BFD32_BACKENDS, BFD32_BACKENDS_CFILES): Add new backend.
Run "make dep-am".
* config.bfd (vax-*-bsd* | vax-*-ultrix*): Use vaxbsd_vec instead of
host_aout_vec.
* configure.in (vaxbsd_vec): Add.
* targets.c (vaxbsd_vec): Add.
* Makefile.in: Rebuild.
* configure: Rebuild.
* po/SRC-POTFILES.in: Rebuild.

22 years ago * ldlang.h (entry_sym): Make it a struct bfd_sym_chain.
amodra [Mon, 1 Jul 2002 08:07:29 +0000 (08:07 +0000)]
* ldlang.h (entry_sym): Make it a struct bfd_sym_chain.
* ldlang.c (entry_sym): Likewise.
(ldlang_undef_chain_list_type): Likewise.
(lang_finish): Adjust references to entry_symbol.
(lang_add_entry): Likewise.
(lang_gc_sections): Use link_info.gc_sym_list.
(lang_process): Set link_info.gc_sym_list.
* ldlex.l: Include bfdlink.h.
* ldmain.c (main): Init link_info.gc_sym_list.
* emultempl/aix.em: Adjust references to entry_symbol.
* emultempl/armcoff.em: Likewise.
* emultempl/armelf.em: Likewise.
* emultempl/pe.em: Likewise.
* emultempl/ppc64elf.em (ppc_after_open): New function.
(LDEMUL_AFTER_OPEN): Define.
* emulparams/elf64ppc.sh: KEEP .opd sections.

22 years ago * elflink.h (elf_gc_mark): Pass in the section whose relocs we are
amodra [Mon, 1 Jul 2002 08:06:39 +0000 (08:06 +0000)]
* elflink.h (elf_gc_mark): Pass in the section whose relocs we are
examining to gc_mark_hook, rather than the bfd.
(elf_gc_sections): Adjust.
* elf-bfd.h (struct elf_backend_data <gc_mark_hook>): Likewise.
* elf-m10300.c (mn10300_elf_gc_mark_hook): Likewise.
* elf32-arm.h (elf32_arm_gc_mark_hook): Likewise.
* elf32-avr.c (elf32_avr_gc_mark_hook): Likewise.
* elf32-cris.c (cris_elf_gc_mark_hook): Likewise.
* elf32-d10v.c (elf32_d10v_gc_mark_hook): Likewise.
* elf32-fr30.c (fr30_elf_gc_mark_hook): Likewise.
* elf32-hppa.c (elf32_hppa_gc_mark_hook): Likewise.
* elf32-i386.c (elf_i386_gc_mark_hook): Likewise.
* elf32-m32r.c (m32r_elf_gc_mark_hook): Likewise.
* elf32-m68k.c (elf_m68k_gc_mark_hook): Likewise.
* elf32-mcore.c (mcore_elf_gc_mark_hook): Likewise.
* elf32-openrisc.c (openrisc_elf_gc_mark_hook): Likewise.
* elf32-ppc.c (ppc_elf_gc_mark_hook): Likewise.
* elf32-s390.c (elf_s390_gc_mark_hook): Likewise.
* elf32-sh.c (sh_elf_gc_mark_hook): Likewise.
* elf32-sparc.c (elf32_sparc_gc_mark_hook): Likewise.
* elf32-v850.c (v850_elf_gc_mark_hook): Likewise.
* elf32-vax.c (elf_vax_gc_mark_hook): Likewise.
* elf32-xstormy16.c (xstormy16_elf_gc_mark_hook): Likewise.
* elf64-mmix.c (mmix_elf_gc_mark_hook): Likewise.
* elf64-ppc.c (ppc64_elf_gc_mark_hook): Likewise.
* elf64-s390.c (elf_s390_gc_mark_hook): Likewise.
* elf64-sh64.c (sh_elf64_gc_mark_hook): Likewise.
* elfxx-mips.c (_bfd_mips_elf_gc_mark_hook): Likewise.
* elfxx-mips.h (_bfd_mips_elf_gc_mark_hook): Likewise.
* elf64-x86-64.c (elf64_x86_64_gc_mark_hook): Likewise.
* elf32-frv.c (elf32_frv_gc_mark_hook): Likewise.  Also remove
redundant local sym tests.
* elf64-ppc.c (struct ppc_link_hash_entry): Add is_entry.
(link_hash_newfunc): Init is_entry.
(ppc64_elf_copy_indirect_symbol): Copy is_entry.
(ppc64_elf_link_hash_table_create): Init all_local_syms.
(create_linkage_sections): Use bfd_make_section_anyway rather than
bfd_make_section.
(ppc64_elf_mark_entry_syms): New function.
(ppc64_elf_check_relocs): Don't bother testing elf_bad_symtab.  Set
up opd entry to function section map.
(ppc64_elf_gc_mark_hook): Special case opd section relocs, and
relocs that reference the opd section.
(edit_opd): New function.
(ppc64_elf_size_dynamic_sections): Call get_local_syms and edit_opd.
(ppc64_elf_setup_section_lists): Don't calculate htab->bfd_count here.
(get_local_syms): Do so here.  Exit if we already have local syms.
Remove bogus comment imported from elf32-hppa.c.  Don't attempt to
read local syms on non-ELF input.
(ppc64_elf_size_stubs): Call _bfd_elf64_link_read_relocs rather
than duplicating it's function here.  Adjust free of internal
relocs to suit.
(ppc64_elf_relocate_section): Adjust local syms in opd section.
* elf64-ppc.h (ppc64_elf_mark_entry_syms): Declare.
* elf32-hppa.c (elf32_hppa_size_stubs): Call
_bfd_elf32_link_read_relocs rather than duplicating it's function
here.  Adjust free of internal relocs to suit.

22 years ago * bfdlink.h (struct bfd_sym_chain): Declare.
amodra [Mon, 1 Jul 2002 08:04:47 +0000 (08:04 +0000)]
* bfdlink.h (struct bfd_sym_chain): Declare.
(struct bfd_link_info): Add gc_sym_list.  Formatting fixes.

22 years ago * elf64-x86-64.c (elf64_x86_64_check_relocs): Certain relocations
aj [Mon, 1 Jul 2002 06:42:27 +0000 (06:42 +0000)]
* elf64-x86-64.c (elf64_x86_64_check_relocs): Certain relocations
are not allowed in shared libs code, enforce -fPIC.

22 years ago* uinfo.cc (cygheap_user::ontherange): Potentially set HOME from existing
cgf [Mon, 1 Jul 2002 03:57:16 +0000 (03:57 +0000)]
* uinfo.cc (cygheap_user::ontherange): Potentially set HOME from existing
homepath and homedrive cygheap_user fields (not currently used yet).  Set HOME
to / if no other alternative.
(cygheap_user::test_uid): Simplify.

22 years agowhite space
cgf [Mon, 1 Jul 2002 02:36:04 +0000 (02:36 +0000)]
white space

22 years agowhite space
cgf [Mon, 1 Jul 2002 02:35:16 +0000 (02:35 +0000)]
white space

22 years ago* environ.cc (parse_options): Use setenv to potentially replace CYGWIN value on
cgf [Mon, 1 Jul 2002 02:11:29 +0000 (02:11 +0000)]
* environ.cc (parse_options): Use setenv to potentially replace CYGWIN value on
export.  Fixes broken behavior since November 2000 changes.
(regopt): Return indication of whether or not something has been parsed from
the registry.
(environ_init): Only attempt to export CYGWIN variable when values were set
from the registry.  It is exported automatically otherwise.

22 years ago*** empty log message ***
gdbadmin [Mon, 1 Jul 2002 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
amodra [Mon, 1 Jul 2002 00:00:06 +0000 (00:00 +0000)]
daily update

22 years ago* fhandler.h (fhandler_process::pid): New field.
cgf [Sun, 30 Jun 2002 23:02:58 +0000 (23:02 +0000)]
* fhandler.h (fhandler_process::pid): New field.
(fhandler_process::fstat): Remove unneeded array.  Set pid element.
(fhandler_process::open): Ditto.
(fhandler_process::fill_filebuf): Handle case where 'p' field is NULL.

22 years ago * utils-gen.scm (-gen-extract-word): Handle lsb0?.
hp [Sun, 30 Jun 2002 22:48:48 +0000 (22:48 +0000)]
* utils-gen.scm (-gen-extract-word): Handle lsb0?.

22 years agoRemove ada-lex.c and ada-exp.tab.c as they are generated files
aidan [Sun, 30 Jun 2002 22:04:33 +0000 (22:04 +0000)]
Remove ada-lex.c and ada-exp.tab.c as they are generated files

22 years ago* config/i386/tm-i386.h (struct frame_info, struct
kettenis [Sun, 30 Jun 2002 18:55:15 +0000 (18:55 +0000)]
* config/i386/tm-i386.h (struct frame_info, struct
frame_saved_regs, struct value, struct type): Remove forward
declarations.

22 years ago * readelf.c (dump_relocations): Handle 68HC11/68HC12 relocations.
ciceron [Sun, 30 Jun 2002 18:43:33 +0000 (18:43 +0000)]
* readelf.c (dump_relocations): Handle 68HC11/68HC12 relocations.

22 years ago* config/i386/tm-linux.h [HAVE_PTRACE_GETFPXREGS]
kettenis [Sun, 30 Jun 2002 18:43:05 +0000 (18:43 +0000)]
* config/i386/tm-linux.h [HAVE_PTRACE_GETFPXREGS]
(FILL_FPXREGSET, HAVE_SSE_REGS): Remove define.
* config/i386/nm-linux.h [HAVE_PTRACE_GETFPXREGS]
(FILL_FPXREGSET): Define.

22 years ago* config/i386/tm-nbsd.h (HAVE_SSE_REGS): Remove define.
kettenis [Sun, 30 Jun 2002 17:22:56 +0000 (17:22 +0000)]
* config/i386/tm-nbsd.h (HAVE_SSE_REGS): Remove define.

22 years ago* configure.tgt (i[3456]86-*-openbsd*): Fold into
kettenis [Sun, 30 Jun 2002 17:19:51 +0000 (17:19 +0000)]
* configure.tgt (i[3456]86-*-openbsd*): Fold into
i[3456]86-*-netbsd* case.
* config/i386/tm-obsd.h: Removed.
* config/i386/obsd.mt: Removed.
* config/i386/obsd.mh (NATDEPFILES): Remove corelow.o and
core-aout.o.
(MH_CFLAGS): Add -DYYDEBUG=0.

22 years ago* fhandler.h (fhandler_process::p): New field.
cgf [Sun, 30 Jun 2002 17:05:48 +0000 (17:05 +0000)]
* fhandler.h (fhandler_process::p): New field.
(fhandler_process:fill_filebuf): Revert to same definition as virtual in parent
class.
(fhandler_process::open): Fill out p field rather than passing as an argument.
(fhandler_process::fill_filebuf): Use p pointer rather than argument.

22 years ago* i386bsd-nat.c (_initialize_i386bsd_nat): Define SC_PC_OFFSET to
kettenis [Sun, 30 Jun 2002 17:01:41 +0000 (17:01 +0000)]
* i386bsd-nat.c (_initialize_i386bsd_nat): Define SC_PC_OFFSET to
i386nbsd_sc_pc_offset on OpenBSD too.

22 years ago* config/i386/tm-fbsd.h [!SVR4_SHARED_LIBS]
kettenis [Sun, 30 Jun 2002 14:43:21 +0000 (14:43 +0000)]
* config/i386/tm-fbsd.h [!SVR4_SHARED_LIBS]
(IN_SOLIB_CALL_TRAMPOLINE): Remove define.
* config/i386/tm-nbsdaout.h (IN_SOLIB_CALL_TRAMPOLINE): Remove
define.
* i386bsd-tdep.c: Include "arch-utils.h".
(i386bsd_aout_in_solib_call_trampoline): New function.
(i386bsd_init_abi): Set in_solib_call_trampoline to
i386bsd_aout_in_solib_call_trampoline.
(i386nbsdelf_init_abi, i386fbsd_init_abi): Set
in_solib_call_trampoline to generic_in_solib_call_trampoline.

22 years ago * security.cc (extract_nt_dom_user): Check for all buffer overflows.
corinna [Sun, 30 Jun 2002 13:08:58 +0000 (13:08 +0000)]
* security.cc (extract_nt_dom_user): Check for all buffer overflows.
Call LookupAccountSid after trying to get domain & user from passwd.
(get_group_sidlist): Obtain the domain and user by calling
extract_nt_dom_user instead of LookupAccountSid.

22 years ago*** empty log message ***
gdbadmin [Sun, 30 Jun 2002 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
amodra [Sun, 30 Jun 2002 00:00:05 +0000 (00:00 +0000)]
daily update

22 years ago* uinfo.cc (cygheap_user::test_uid): Use standard issetuid test.
cgf [Sat, 29 Jun 2002 23:45:07 +0000 (23:45 +0000)]
* uinfo.cc (cygheap_user::test_uid): Use standard issetuid test.

22 years ago* autoload.cc (NetGetDCName): Change to make this an optional load function.
cgf [Sat, 29 Jun 2002 22:05:30 +0000 (22:05 +0000)]
* autoload.cc (NetGetDCName): Change to make this an optional load function.
* cygheap.h (cygheap_user::logsrv): Return NULL when operation fails.
(cygheap_user::winname): Ditto.
(cygheap_user::domain): Ditto.
* uinfo.cc (cygheap_user::env_logsrv): Save results in temp variable.
(cygheap_user::env_userprofile): Ditto.

22 years ago * mmo.c (mmo_write_loc_chunk): Don't eliminate leading and
hp [Sat, 29 Jun 2002 21:45:08 +0000 (21:45 +0000)]
* mmo.c (mmo_write_loc_chunk): Don't eliminate leading and
trailing zero-sequences when there's previous left-over data.

22 years ago * ld-mmix/sec-8m.d, ld-mmix/sec-8m.s, ld-mmix/sec-8a.s,
hp [Sat, 29 Jun 2002 21:33:28 +0000 (21:33 +0000)]
* ld-mmix/sec-8m.d, ld-mmix/sec-8m.s, ld-mmix/sec-8a.s,
ld-mmix/sec-8b.s, ld-mmix/sec-8d.s: New test.

22 years ago* environ.cc (spenv::retrieve): Detect return of env_dontadd from cygheap_user
cgf [Sat, 29 Jun 2002 17:26:12 +0000 (17:26 +0000)]
* environ.cc (spenv::retrieve): Detect return of env_dontadd from cygheap_user
methods.
(build_env): Avoid incrementing environment pointer if not actually adding to
the environment.  That could result in garbage in the environment table.  Be
more defensive when reallocing envblock.

22 years ago * config/tc-m68hc11.h (m68hc11_listing_header): Fix warning.
ciceron [Sat, 29 Jun 2002 15:52:31 +0000 (15:52 +0000)]
* config/tc-m68hc11.h (m68hc11_listing_header): Fix warning.

22 years ago * emulparams/m68hc12elfb.sh (EEPROM_MEMORY): Define.
ciceron [Sat, 29 Jun 2002 10:33:43 +0000 (10:33 +0000)]
* emulparams/m68hc12elfb.sh (EEPROM_MEMORY): Define.
* emulparams/m68hc11elfb.sh (EEPROM_MEMORY): Define.
* emulparams/m68hc11elf.sh (EEPROM_SIZE): Define.
(EEPROM_START_ADDR): Define.
(EEPROM_MEMORY): Define.
* emulparams/m68hc12elf.sh: Likewise.
* scripttempl/elfm68hc11.sc: Handle .eeprom section; handle .softregs
section to put soft registers in .page0.
* scripttempl/elfm68hc12.sc: Likewise but put soft registers in bss.

22 years ago * config/tc-m68hc11.h (ELF_TC_SPECIAL_SECTIONS): New sections
ciceron [Sat, 29 Jun 2002 10:32:32 +0000 (10:32 +0000)]
* config/tc-m68hc11.h (ELF_TC_SPECIAL_SECTIONS): New sections
.softregs and .eeprom.

22 years ago* uinfo.cc (cygheap_user::test_uid): Return NULL or further tests are sorta
cgf [Sat, 29 Jun 2002 06:50:16 +0000 (06:50 +0000)]
* uinfo.cc (cygheap_user::test_uid): Return NULL or further tests are sorta
useless.
(cygheap_user::env_domain): Recalculate if name is missing.

22 years ago* environ.cc (spenv::from_cygheap): Still need to take setuid into
cgf [Sat, 29 Jun 2002 06:40:18 +0000 (06:40 +0000)]
* environ.cc (spenv::from_cygheap): Still need to take setuid into
consideration.

22 years ago2002-06-28 David O'Brien <obrien@FreeBSD.org>
obrien [Sat, 29 Jun 2002 04:54:59 +0000 (04:54 +0000)]
2002-06-28  David O'Brien  <obrien@FreeBSD.org>
* NEWS: Note the next release is 2.13.

22 years ago* uinfo.cc (cygheap_user::env_logsrv): Return "almost_null" in case where no
cgf [Sat, 29 Jun 2002 03:14:10 +0000 (03:14 +0000)]
* uinfo.cc (cygheap_user::env_logsrv): Return "almost_null" in case where no
domain or username is "SYSTEM".

22 years ago* cygheap.h (cygheap_user): Reorg to accommodate environment caching.
cgf [Sat, 29 Jun 2002 02:36:08 +0000 (02:36 +0000)]
* cygheap.h (cygheap_user): Reorg to accommodate environment caching.
(cygheap_user::logsrv): New method.
(cygheap_user::winname): Ditto.
(cygheap_user::domain): Ditto.
(cygheap_user::test_uid): Ditto.
* cygheap.cc (cygheap_user::set_name): Reflect name "pwinname" name change.
* environ.cc (getwinenveq): New function.
(spenv::from_cygheap): Change arguments.
(spenv::retrieve): Ditto for call.  Use getwinenveq to retrieve info from
environment.  Always return value from cygwin environment, if it exists.
* environ.h (getwinenveq): Declare.
* uinfo.cc (cygheap_user::ontherange): Use logsrv() rather than env_logsrv().
(cygheap_user::test_uid): Define new method.
(cygheap_user::env_logsrv): Accept environment arguments.  Use test_uid to find
info.
(cygheap_user::env_domain): Ditto.
(cygheap_user::env_userprofile): Ditto.
(cygheap_user::env_homepath): Ditto.
(cygheap_user::env_homedrive): Ditto.
(cygheap_user::env_name): Ditto.

22 years ago*** empty log message ***
gdbadmin [Sat, 29 Jun 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
amodra [Sat, 29 Jun 2002 00:00:06 +0000 (00:00 +0000)]
daily update

22 years ago* macrotab.h: Do not include "obstack.h" or "bcache.h".
cagney [Fri, 28 Jun 2002 23:42:33 +0000 (23:42 +0000)]
* macrotab.h: Do not include "obstack.h" or "bcache.h".
(struct obstack, struct bcache): Add opaque declarations.
* Makefile.in (macrotab_h): Update

22 years ago* blockframe.c (generic_find_dummy_frame): Change return type to
cagney [Fri, 28 Jun 2002 22:38:29 +0000 (22:38 +0000)]
* blockframe.c (generic_find_dummy_frame): Change return type to
``struct regcache''.
(struct dummy_frame): Replace field ``registers'' with regcache, a
struct regcache object.
(generic_find_dummy_frame): Update.
(generic_push_dummy_frame): Update.  Use regcache_xfree,
regcache_xmalloc and regcache_cpy.
(generic_pop_dummy_frame): Update.  Use regcache_cpy and
regcache_xfree.
(deprecated_generic_find_dummy_frame): Update.
(generic_read_register_dummy): Update.  Use
regcache_read_as_address.
(generic_call_dummy_register_unwind): Update.  Use regcache_read.
(generic_get_saved_register): Update.  Use regcache_read.

22 years ago* Makefile.in (objfiles_h): Add $(bcache_h).
cagney [Fri, 28 Jun 2002 22:09:11 +0000 (22:09 +0000)]
* Makefile.in (objfiles_h): Add $(bcache_h).
* objfiles.h: Include "bcache.h".

* Makefile.in (symtab_h): Remove $(bcache_h).
* symtab.h: Do not include "bcache.h".

22 years ago* ppcnbsd-tdep.c (ppcnbsd_init_abi): Set frame_chain_valid to
cagney [Fri, 28 Jun 2002 22:07:20 +0000 (22:07 +0000)]
* ppcnbsd-tdep.c (ppcnbsd_init_abi): Set frame_chain_valid to
generic_func_frame_chain_valid.

22 years ago2002-06-28 David O'Brien <obrien@FreeBSD.org>
obrien [Fri, 28 Jun 2002 18:44:47 +0000 (18:44 +0000)]
2002-06-28  David O'Brien  <obrien@FreeBSD.org>
* config/i386/nm-fbsd.h: Include <sys/param.h>.
* config/i386/tm-fbsd.h: Likewise.

22 years ago* rs6000-tdep.c (rs6000_gdbarch_init): Use
cagney [Fri, 28 Jun 2002 16:15:06 +0000 (16:15 +0000)]
* rs6000-tdep.c (rs6000_gdbarch_init): Use
generic_unwind_get_saved_register.

22 years ago * libm/mathfp/sf_pow.c (powf): Change k from int to float.
fitzsim [Fri, 28 Jun 2002 15:32:44 +0000 (15:32 +0000)]
* libm/mathfp/sf_pow.c (powf): Change k from int to float.

22 years agoExtend search path for config.guess to include $libdir/../../libexec.
nickc [Fri, 28 Jun 2002 07:43:31 +0000 (07:43 +0000)]
Extend search path for config.guess to include $libdir/../../libexec.
This is where an install from the top level build directory will place it,
because the top level Makefile overrides the definition of $(libexecdir).

22 years agodaily update
amodra [Fri, 28 Jun 2002 00:01:04 +0000 (00:01 +0000)]
daily update

22 years ago*** empty log message ***
gdbadmin [Fri, 28 Jun 2002 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago2002-06-27 Benjamin Kosnik <bkoz@redhat.com>
jjohnstn [Thu, 27 Jun 2002 23:58:36 +0000 (23:58 +0000)]
2002-06-27  Benjamin Kosnik  <bkoz@redhat.com>

        * libc/include/stdio.h: Untangle, add _BEGIN_STD_C and _END_STD_C.
        * libc/include/time.h: Same.
        * libc/include/string.h: Same.
        * libc/include/stdlib.h: Same.
        * libc/include/signal.h: Same.
        * libc/include/setjmp.h: Same.
        * libc/include/math.h: Same.
        * libc/include/locale.h: Same.
        * libc/include/ctype.h: Same.
        * libc/include/machine/setjmp.h: Same.
        * libc/include/_ansi.h (_BEGIN_STD_C): Add.
        (_END_STD_C): Add.

22 years ago * emulparams/hppa64linux.sh (OTHER_GOT_RELOC_SECTIONS): Add rela.opd
law [Thu, 27 Jun 2002 22:57:48 +0000 (22:57 +0000)]
* emulparams/hppa64linux.sh (OTHER_GOT_RELOC_SECTIONS): Add rela.opd
section.  Add ${RELOCATING-0}.

22 years ago * elf64-hppa.c (elf64_hppa_reloc_type_class): New function.
law [Thu, 27 Jun 2002 22:57:01 +0000 (22:57 +0000)]
    * elf64-hppa.c (elf64_hppa_reloc_type_class): New function.
        (elf64_hppa_finish_dynamic_sections): Check other_rel_sec, dlt_rel_sec
        and opd_rel_sec in order for starting rela section.  Check _raw_size.
        (elf_backend_reloc_type_class): Define.

22 years ago2002-06-27 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Thu, 27 Jun 2002 22:48:00 +0000 (22:48 +0000)]
2002-06-27  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/sys/_types.h: Define _ssize_t as int if int is
        32-bits, otherwise define it as long.
        * libc/include/sys/types.h: Include <_ansi.h> and <sys/_types.h>
        and define ssize_t as _ssize_t.
        * libc/reent/readr.c: Change return type to _ssize_t.
        * libc/reent/writer.c: Ditto.
        * libc/sys/linux/Makefile.am: Add aio.c.
        * libc/sys/linux/Makefile.in: Regenerated.
        * libc/sys/linux/aio.c: New file.
        * libc/sys/linux/sys/cdefs.h: Add __restrict_arr definition.
        * libm/common/fdlibm.h: Undef __P before defining it.

22 years agoAdd missing entry.
cgf [Thu, 27 Jun 2002 20:45:54 +0000 (20:45 +0000)]
Add missing entry.

22 years ago* cygheap.cc (cfree_and_set): New function.
cgf [Thu, 27 Jun 2002 20:44:27 +0000 (20:44 +0000)]
* cygheap.cc (cfree_and_set): New function.
(cygheap_user::set_name): Use cfree_and_set to reset members.
* cygheap.h (cygheap_user): Delete static members.
(cygheap_user::puserprof): New member.
(cfree_and_set): Declare.
* dcrt0.cc (almost_null): Define.
* winsup.h (almost_null): Declare.
* syscalls.cc (cfree_and_set): Remove unused variable.
* uinfo.cc (cygheap_user::homepath_env_buf): Eliminate.
(cygheap_user::homedrive_env_buf): Ditto.
(cygheap_user::userprofile_env_buf): Ditto.
(cygheap_user::ontherange): YA change to try to preserve existing HOMEPATH and
HOMEDRIVE.  Return almost_null values when variables should not actually exist.
(cygheap_user::env_logsrv): Ditto.
(cygheap_user::env_domain): Ditto.
(cygheap_user::env_userprofile): Ditto.

22 years ago * libm/mathfp/s_pow.c (pow): Fix checks on variable k. Add
fitzsim [Thu, 27 Jun 2002 20:41:47 +0000 (20:41 +0000)]
* libm/mathfp/s_pow.c (pow): Fix checks on variable k.  Add
exponent_is_even_int variable.  Handle case where x is
negative, and y is an odd integer.
* libm/mathfp/sf_pow.c (powf): Likewise.

22 years ago * libm/mathfp/er_lgamma.c: Remove __kernel references.
fitzsim [Thu, 27 Jun 2002 20:25:56 +0000 (20:25 +0000)]
* libm/mathfp/er_lgamma.c: Remove __kernel references.
* libm/mathfp/erf_lgamma.c: Likewise.
* libm/mathfp/s_tgamma.c: Likewise.
* libm/mathfp/sf_tgamma.c: Likewise.

22 years ago2002-06-27 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Thu, 27 Jun 2002 20:09:23 +0000 (20:09 +0000)]
2002-06-27  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/sys/linux/Makefile.am: Add new clock routines.
        * libc/sys/linux/Makefile.in: Regenerated.
        * libc/sys/linux/clock_getres.c: New file.
        * libc/sys/linux/clock_gettime.c: Ditto.
        * libc/sys/linux/clock_settime.c: Ditto.
        * libc/sys/linux/hp-timing.h: Ditto.
        * libc/sys/linux/libc-internal.h: Ditto.
        * libc/sys/linux/sysconf.c: Fix typo.
        * libc/sys/linux/include/time.h: New file.
        * libc/sys/linux/machine/hp-timing.h: New file.
        * libc/sys/linux/machine/i386/Makefile.am: Add new files.
        * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
        * libc/sys/linux/machine/i386/get_clockfreq.c: New file.
        * libc/sys/linux/machine/i386/hp-timing.c: Ditto.
        * libc/sys/linux/machine/i386/hp-timing.h: Ditto.
        * libc/sys/linux/sys/linux_time.h: Ditto.
        * libc/sys/linux/sys/time.h: Remove include of <linux/time.h> and
        replace with <sys/linux_time.h>.

22 years ago Delete extraneous comment from my previous change.
scottc [Thu, 27 Jun 2002 20:08:33 +0000 (20:08 +0000)]
Delete extraneous comment from my previous change.

22 years agoFrom 2002-06-27 John David Anglin <dave@hiauly1.hia.nrc.ca>:
cagney [Thu, 27 Jun 2002 18:28:22 +0000 (18:28 +0000)]
From 2002-06-27 John David Anglin <dave@hiauly1.hia.nrc.ca>:
* regcache.c (supply_register): Add missing argument to
register_buffer call.

22 years ago * dcrt0.cc (dll_crt0_1): Let __progname point to the applications
corinna [Thu, 27 Jun 2002 16:01:38 +0000 (16:01 +0000)]
* dcrt0.cc (dll_crt0_1): Let __progname point to the applications
basename.  Move eliminating ".exe" suffix from argv[0] so that it
always also affects __progname.

22 years ago* Makefile.in (init.c): Drop -e option to grep. Not necessary and
cagney [Thu, 27 Jun 2002 15:49:22 +0000 (15:49 +0000)]
* Makefile.in (init.c): Drop -e option to grep.  Not necessary and
Solaris /bin/grep does not not like it.  From Peter Schauer.

22 years ago* gdbint.texinfo (User Interface): ISO C rather than ISO-C.
cagney [Thu, 27 Jun 2002 15:30:32 +0000 (15:30 +0000)]
* gdbint.texinfo (User Interface): ISO C rather than ISO-C.
(Coding): Clarify ISO C version that GDB assumes.

22 years ago* thread.cc (pthread::create): Added trace printf to get CreateThread
cgf [Thu, 27 Jun 2002 14:19:29 +0000 (14:19 +0000)]
* thread.cc (pthread::create): Added trace printf to get CreateThread
LastError.

22 years ago * mmap.cc (list::match): Check using pagesize aligned size.
corinna [Thu, 27 Jun 2002 13:01:33 +0000 (13:01 +0000)]
* mmap.cc (list::match): Check using pagesize aligned size.

22 years ago2002-06-27 Kevin Buettner <kevinb@redhat.com>
amodra [Thu, 27 Jun 2002 11:51:41 +0000 (11:51 +0000)]
2002-06-27  Kevin Buettner <kevinb@redhat.com>

* dwarf2.c (decode_line_info): Handle older, non-standard, 64-bit
DWARF2 formats.

22 years ago * cpu-powerpc.c: Comment on ordering of arch_info.
amodra [Thu, 27 Jun 2002 11:29:12 +0000 (11:29 +0000)]
* cpu-powerpc.c: Comment on ordering of arch_info.
* elf32-ppc.c (ppc_elf_object_p): New function.
(elf_backend_object_p): Define.
* elf64-ppc.c (ppc64_elf_object_p): New function.
(elf_backend_object_p): Define.

22 years agoZap remainder of gdb.threads-hp directory.
cagney [Thu, 27 Jun 2002 03:58:31 +0000 (03:58 +0000)]
Zap remainder of gdb.threads-hp directory.

22 years ago* fhandler_disk_file.cc (fhandler_disk_file::fstat_by_name): Force
cgf [Thu, 27 Jun 2002 03:06:44 +0000 (03:06 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::fstat_by_name): Force
FindFirstFile on first file of directory when asking for x:\ .

22 years ago* cygheap.cc (cygheap_user::set_name): Correct thinko in below change.
cgf [Thu, 27 Jun 2002 02:29:56 +0000 (02:29 +0000)]
* cygheap.cc (cygheap_user::set_name): Correct thinko in below change.

22 years agodaily update
amodra [Thu, 27 Jun 2002 00:00:06 +0000 (00:00 +0000)]
daily update

22 years ago*** empty log message ***
gdbadmin [Thu, 27 Jun 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago * gdbint.texinfo (User Interface): Mention add_setshow_cmd and
tromey [Wed, 26 Jun 2002 20:58:48 +0000 (20:58 +0000)]
* gdbint.texinfo (User Interface): Mention add_setshow_cmd and

22 years ago * command.h (add_setshow_cmd): Declare.
tromey [Wed, 26 Jun 2002 20:58:15 +0000 (20:58 +0000)]
* command.h (add_setshow_cmd): Declare.
(add_setshow_cmd_full): Declare.
* cli/cli-decode.c (add_setshow_cmd): No longer static.  Now
returns void.  Use add_setshow_cmd_full.
(add_setshow_cmd_full): New function.
(add_setshow_auto_boolean_cmd): Use add_setshow_cmd_full.
(add_setshow_boolean_cmd): Likewise.

22 years ago* cygheap.cc (cygheap_user::set_name): Avoid clearing things when just setting
cgf [Wed, 26 Jun 2002 19:39:04 +0000 (19:39 +0000)]
* cygheap.cc (cygheap_user::set_name): Avoid clearing things when just setting
name to itself or during first time initialization.
* environ.cc (check_case_init): Make case insensitive.

22 years ago * fhandler.h (fhandler_socket::bind): Add method definition.
corinna [Wed, 26 Jun 2002 19:25:08 +0000 (19:25 +0000)]
* fhandler.h (fhandler_socket::bind): Add method definition.
(fhandler_socket::connect): Ditto.
(fhandler_socket::listen): Ditto.
(fhandler_socket::accept): Ditto.
(fhandler_socket::getsockname): Ditto.
(fhandler_socket::getpeername): Ditto.
(fhandler_socket::recvfrom): Ditto.
(fhandler_socket::recvmsg): Ditto.
(fhandler_socket::sendto): Ditto.
(fhandler_socket::sendmsg): Ditto.
(fhandler_socket::shutdown): Ditto.
* fhandler_socket.cc (get_inet_addr): Move here from net.cc.
(fhandler_socket::bind): New method.
(fhandler_socket::connect): Ditto.
(fhandler_socket::listen): Ditto.
(fhandler_socket::accept): Ditto.
(fhandler_socket::getsockname): Ditto.
(fhandler_socket::getpeername): Ditto.
(fhandler_socket::recvfrom): Ditto.
(fhandler_socket::recvmsg): Ditto.
(fhandler_socket::sendto): Ditto.
(fhandler_socket::sendmsg): Ditto.
(fhandler_socket::shutdown): Ditto.
* net.cc: Various formatting cleanups throughout.
(get_inet_addr): Move to fhandler_socket.cc.
(cygwin_bind): Move base functionality to appropriate fhandler_socket
method.
(cygwin_connect): Ditto.
(cygwin_listen): Ditto.
(cygwin_accept): Ditto.
(cygwin_getsockname): Ditto.
(cygwin_getpeername): Ditto.
(cygwin_recvfrom): Ditto.
(cygwin_recvmsg): Ditto.
(cygwin_sendto): Ditto.
(cygwin_sendmsg): Ditto.
(cygwin_shutdown): Ditto.

22 years agoRemove files checked in by mistake.
thorpej [Wed, 26 Jun 2002 18:37:25 +0000 (18:37 +0000)]
Remove files checked in by mistake.

22 years ago* config/vax/tm-vax.h: Protect from multiple inclusion.
thorpej [Wed, 26 Jun 2002 17:39:27 +0000 (17:39 +0000)]
* config/vax/tm-vax.h: Protect from multiple inclusion.
(TARGET_UPAGES, TARGET_NBPG, STACK_END_ADDR)
(SIGTRAMP_START, SIGTRAMP_END, SIGCONTEXT_PC_OFFSET): Move to...
* config/vax/tm-vaxbsd.h: ...here.  New file.
* config/vax/vax.mt (TM_FILE): Set to tm-vaxbsd.h.

22 years ago* config/vax/tm-vax.h (BREAKPOINT): Remove.
thorpej [Wed, 26 Jun 2002 17:20:34 +0000 (17:20 +0000)]
* config/vax/tm-vax.h (BREAKPOINT): Remove.
(BELIEVE_PCC_PROMOTION): Remove.
(AP_REGNUM): Move to...
* config/vax/nm-vax.h: ...here.
* vax-tdep.c: Use VAX_AP_REGNUM instead of AP_REGNUM.
(vax_breakpoint_from_pc): New function.
(vax_gdbarch_init): Initialize gdbarch_breakpoint_from_pc
and gdbarch_believe_pcc_promotion.

22 years ago* config/m68k/tm-m68k.h: Rearrange code so macros not in the
graces [Wed, 26 Jun 2002 17:09:29 +0000 (17:09 +0000)]
* config/m68k/tm-m68k.h: Rearrange code so macros not in the
gdbarch vector are at the top.
(NUM_REGS): Remove.
(FP_REGNUM, SP_REGNUM, PS_REGNUM, PC_REGNUM, FP0_REGNUM): Remove.
(FRAME_ARGS_ADDRESS): Remove.
(FRAME_LOCALS_ADDRESS): Remove.
(FRAME_NUM_ARGS): Remove.
(FRAME_ARGS_SKIP): Remove.
* m68k-tdep.c (enum): Add eumeration of special register numbers.
(m68k_gdbarch_init): Add gdbarch initializations for macros
undefined in tm-m68k.h

22 years ago* Makefile.in (vax_tdep_h): Define.
thorpej [Wed, 26 Jun 2002 16:07:15 +0000 (16:07 +0000)]
* Makefile.in (vax_tdep_h): Define.
(vax-tdep.o): Use $(vax_tdep_h).
* vax-tdep.c (vax_gdbarch_init): Use generic OS ABI framework.
(vax_dump_tdep): New function.
(_initialize_vax_tdep): Register vax_dump_tdep.
* vax-tdep.h: Include osabi.h.
(struct gdbarch_tdep): New.

22 years agold:
amylaar [Wed, 26 Jun 2002 15:42:31 +0000 (15:42 +0000)]
ld:
        * emulparams/shelf.sh (STACK_ADDR): Don't define.
        (OTHER_SECTIONS): Define.
        * emulparams/shelf_nbsd.sh ((STACK_ADDR): Don't undef.
        (OTHER_SECTIONS): Undef.
newlib:
        * libc/sys/sh/crt0.S: Remove vestigial .section directive.
gcc:
        * config/sh/crt1.asm: remove _stack label definition
        and sentinel value.

22 years ago* frame.h (deprecated_generic_find_dummy_frame): Rename
cagney [Wed, 26 Jun 2002 15:28:45 +0000 (15:28 +0000)]
* frame.h (deprecated_generic_find_dummy_frame): Rename
generic_find_dummy_frame.
* blockframe.c (generic_find_dummy_frame): Make static.
(deprecated_generic_find_dummy_frame): New function.
* sh-tdep.c (sh_nofp_frame_init_saved_regs): Replace
generic_find_dummy_frame with deprecated_find_dummy_frame.
(sh64_nofp_frame_init_saved_regs): Ditto.
(sh_fp_frame_init_saved_regs): Ditto.
* s390-tdep.c (s390_frame_saved_pc_nofix): Ditto.
(s390_frame_chain): Ditto.
* cris-tdep.c (cris_frame_init_saved_regs): Ditto.

22 years agomade regname function const char *
graces [Wed, 26 Jun 2002 15:27:48 +0000 (15:27 +0000)]
made regname function const char *

22 years agoRescind Tom Rix's maintainerships.
nickc [Wed, 26 Jun 2002 15:26:52 +0000 (15:26 +0000)]
Rescind Tom Rix's maintainerships.

22 years ago* monitor.h: Add the function regname to monitor_ops
graces [Wed, 26 Jun 2002 15:14:32 +0000 (15:14 +0000)]
* monitor.h: Add the function regname to monitor_ops
structure. This way NUM_REGS does not have to be a constant.
* monitor.c (monitor_fetch_register): Added support for regname
function. The function is called if the array regnames is NULL.
(monitor_store_register): Same.
* cpu32bug-rom.c (cpu32bug_regname):  Add function. Replaces regnames array.
(init_cpu32bug_cmds): set cpu32bug_cmds.regnames to NULL,
cpu32bug_cmds.regname to point to new function.
* abug-rom.c (abug_regname): Same as above.
(init_abug_cmds): Same.
* dbug-rom.c (dbug_regname): Same as above.
(init_dbug_cmds): Same.
* remote-est.c (est_regname): Same.
(init_est_cmds): Same.
* rom68k-rom.c (rom68k_regname): Same.
(init_rom68k_cmds): Same.

22 years ago * pwdgrp.h (pwdgrp_read::~pwdgrp_read): Avoid compiler warning.
corinna [Wed, 26 Jun 2002 14:59:22 +0000 (14:59 +0000)]
    * pwdgrp.h (pwdgrp_read::~pwdgrp_read): Avoid compiler warning.

22 years ago * nm.c (print_symname): When demangling, strip leading dots from
amodra [Wed, 26 Jun 2002 13:23:45 +0000 (13:23 +0000)]
* nm.c (print_symname): When demangling, strip leading dots from
symbol names to avoid confusing the demangler.

22 years ago * ldmisc.c (demangle): Restore dots stripped from sym name.
amodra [Wed, 26 Jun 2002 13:22:54 +0000 (13:22 +0000)]
* ldmisc.c (demangle): Restore dots stripped from sym name.

22 years agoNew Turkish translation
nickc [Wed, 26 Jun 2002 08:21:03 +0000 (08:21 +0000)]
New Turkish translation

22 years ago* dcrt0.cc (_dcrt0): Be more defensive when reserved block is used and it's not
cgf [Wed, 26 Jun 2002 05:37:29 +0000 (05:37 +0000)]
* dcrt0.cc (_dcrt0): Be more defensive when reserved block is used and it's not
cygwin info.

22 years ago* autoload (noload): Avoid clobbering bx register.
cgf [Wed, 26 Jun 2002 05:29:40 +0000 (05:29 +0000)]
* autoload (noload): Avoid clobbering bx register.
* environ.cc (codepage_init): Use case insensitive match.
* fhandler_console.cc (cp_get_internal): Delete.
(con_to_str): Use get_cp to derive code page.
(str_to_con): Ditto.
* miscfuncs.cc (get_cp): New function.
(sys_wcstombs): New function.  Converted from macro.
(sys_mbstowcs): Ditto.
* winsup.h: Reflect above changes.

22 years ago * breakpoint.c (delete_command): Don't repeat `delete' commands.
tromey [Wed, 26 Jun 2002 05:20:03 +0000 (05:20 +0000)]
* breakpoint.c (delete_command): Don't repeat `delete' commands.

22 years ago* winsup.h: Minor cleanup.
cgf [Wed, 26 Jun 2002 04:20:59 +0000 (04:20 +0000)]
* winsup.h: Minor cleanup.
* path.h (path_conv::[]): New operator.
* syscalls.cc (_link): Use path_conv operators rather than methods, where
appropriate.  Minor white space cleanup.
* include/cygwin/version.h: Bump DLL minor number.
* dcrt0.cc (sm): Make NO_COPY.