OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
22 years ago * elf.c (elf_map_symbols): Don't create new section symbols; Use
amodra [Wed, 10 Oct 2001 11:19:53 +0000 (11:19 +0000)]
* elf.c (elf_map_symbols): Don't create new section symbols; Use
existing section syms.  Update comments.
(copy_private_bfd_data): Formatting fixes.
(elfcore_grok_win32pstatus): Likewise.
(swap_out_syms): Likewise.  Remove unnecessary level of braces.

22 years agoNew entries:
davidsb [Wed, 10 Oct 2001 09:21:55 +0000 (09:21 +0000)]
New entries:
My application cannot locate cygncurses5.dll!!!
Why is Cygwin suddenly @emph{so} slow?
Modified:
Why doesn't //c (for C:) work anymore?

22 years agowork around locale problems for case insensitivity
nickc [Wed, 10 Oct 2001 09:13:05 +0000 (09:13 +0000)]
work around locale problems for case insensitivity

22 years agoThroughout, rename PROC_FORK1 to PROC_FORK.
cgf [Wed, 10 Oct 2001 02:32:12 +0000 (02:32 +0000)]
Throughout, rename PROC_FORK1 to PROC_FORK.
* child_info.h: Rename PROC_* to _PROC_*.  Define PROC_* with additional
testing magic.  Eliminate old PROC_FORK and rename PROC_FORK1 to PROC_FORK.
* dcrt0.cc (_cygwin_testing_magic): New variable.  Added to magic number in
proc_info.
(alloc_stack): Eliminate old PROC_FORK test.
(dll_crt0_1): Ditto.  Use _PROC_* enums for test.  Subtract
_cygwin_testing_magic from child_proc_info->type so that normal cygwin programs
invoked by test suite programs do not consider themselves to be in a cygwin
environment.
(_dll_crt0): Ditto.  Move environment checks to initial_env function to
conserve on stack space.
(initial_env): New function.  Checks for testing and debugging environment
variables.
* init.cc (cygwin_hmodule): Move declaration.
* winsup.h: Declare variables used for cygwin testing.

22 years ago* Makefile.in (MINGW_INCLUDES): Accomodate changes in Makefile.common.
cgf [Wed, 10 Oct 2001 01:58:33 +0000 (01:58 +0000)]
* Makefile.in (MINGW_INCLUDES): Accomodate changes in Makefile.common.

22 years ago* Makefile.common: Avoid adding -I options to compile if they already exist in
cgf [Wed, 10 Oct 2001 01:57:43 +0000 (01:57 +0000)]
* Makefile.common: Avoid adding -I options to compile if they already exist in
CC or C*FLAGS.  This prevents warnings from newer versions of gcc.

22 years ago * config/tc-mips.c (mips_cpreturn_offset): New variable.
ths [Wed, 10 Oct 2001 01:08:35 +0000 (01:08 +0000)]
* config/tc-mips.c (mips_cpreturn_offset): New variable.
(mips_cpreturn_register): Likewise.
(mips_gp_register): Likewise.
(s_cpsetup): New function prototype.
(s_cplocal): Likewise.
(s_cpreturn): Likewise.
(s_gpvalue): Likewise.
(mips_pseudo_table): Add .cpsetup, .cplocal, .cpreturn, .gpvalue
pseudo-ops.
(macro): Don't warn about .cprestore for NewABI.
(md_pcrel_from): Code cleanup.
(mips_force_relocation): Force output of some NewABI relocations even
without a defined symbol.
(s_cpload): Ignore .cpload for NewABI.
(s_cpsetup): Handle .cpsetup.
(s_cplocal): Handle .cplocal.
(s_cprestore): Ignore .cprestore for NewABI.
(s_cpreturn): Handle .cpreturn.
(s_gpvalue): Handle .gpvalue.
(s_cpadd): Ignore .cpadd for NewABI.
(nopic_need_relax): Take g_switch_value into account as gp
optimization.
(tc_gen_reloc): Don't handle BFD_RELOC_MIPS_{CALL,GOT}* for NewABI.

22 years ago * config/tc-mips.c (my_getSmallParser): New function prototype.
ths [Wed, 10 Oct 2001 00:54:53 +0000 (00:54 +0000)]
* config/tc-mips.c (my_getSmallParser): New function prototype.
(small_ex_type): Named this enum, more return values for
my_getSmallExpression.
(mips_ip): Allow SPC and HT between arguments. Handle some NewABI
triple relocations. Protect some parts with ifdef OBJ_ELF.
(percent_op_match): New struct, lookup table for %some_reloc().
(my_getSmallParser): New function, parses nested percent_ops also.
(my_getSmallExpression): Rewite to support nested percent_ops.

22 years ago * config/tc-mips.c
ths [Wed, 10 Oct 2001 00:43:36 +0000 (00:43 +0000)]
* config/tc-mips.c
(load_address): Support both 32- and 64-bit addresses.
(macro): Call load_register correctly. Expand 64-bit loads ans stores.
(macro2): Call load_address correctly.

22 years agomerge from gcc
dj [Wed, 10 Oct 2001 00:05:13 +0000 (00:05 +0000)]
merge from gcc

22 years agodaily update
amodra [Wed, 10 Oct 2001 00:00:08 +0000 (00:00 +0000)]
daily update

22 years ago*** empty log message ***
gdbadmin [Wed, 10 Oct 2001 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago* uinfo.cc (internal_getlogin): Reorganize slightly to minimize work in default
cgf [Tue, 9 Oct 2001 23:28:24 +0000 (23:28 +0000)]
* uinfo.cc (internal_getlogin): Reorganize slightly to minimize work in default
condition.

22 years agofix typos
duda [Tue, 9 Oct 2001 18:12:51 +0000 (18:12 +0000)]
fix typos

22 years agofix z8k assembly and disassembly
nickc [Tue, 9 Oct 2001 17:25:57 +0000 (17:25 +0000)]
fix z8k assembly and disassembly

22 years ago * fhandler.cc (fhandler_disk_file::open): Add missing case clash check.
corinna [Tue, 9 Oct 2001 16:54:18 +0000 (16:54 +0000)]
    * fhandler.cc (fhandler_disk_file::open): Add missing case clash check.

22 years ago * config/tc-arm.c: Change MAVERIK to MAVERICK.
aldyh [Tue, 9 Oct 2001 16:08:56 +0000 (16:08 +0000)]
* config/tc-arm.c: Change MAVERIK to MAVERICK.

22 years ago * config/obj-elf.c: Make use of elf_group_name and elf_next_in_group
amodra [Tue, 9 Oct 2001 13:13:09 +0000 (13:13 +0000)]
* config/obj-elf.c: Make use of elf_group_name and elf_next_in_group
throughout file.
(obj_elf_change_section): Rename "group" to "group_name".
(obj_elf_section): Likewise.
(elf_frob_file): Don't use sec->lineno for SHT_GROUP section to store
first member section; Instead use elf_next_in_group.

22 years ago * elf-bfd.h (struct bfd_elf_section_data): Rename "group" to
amodra [Tue, 9 Oct 2001 13:12:18 +0000 (13:12 +0000)]
* elf-bfd.h (struct bfd_elf_section_data): Rename "group" to
"group_name".
(elf_group_name): Define.
(elf_next_in_group): Define.
* elf.c: Make use of elf_group_name and elf_next_in_group throughout.
(setup_group): Don't use sec->lineno for SHT_GROUP section to store
first member section; Instead use elf_next_in_group.
(bfd_section_from_shdr): Likewise.
(set_group_contents): Likewise.  Use elf_section_syms, not sec->symbol.

22 years agoAdd test of SH DSP instructions
nickc [Tue, 9 Oct 2001 12:25:48 +0000 (12:25 +0000)]
Add test of SH DSP instructions

22 years agofix encoding & decoding of DSP single data transfer instructions
nickc [Tue, 9 Oct 2001 12:25:21 +0000 (12:25 +0000)]
fix encoding & decoding of DSP single data transfer instructions

22 years agoFix compile time warnings in cgen-generated files
nickc [Tue, 9 Oct 2001 08:54:57 +0000 (08:54 +0000)]
Fix compile time warnings in cgen-generated files

22 years agoFix compile time warning messages in generated C files
nickc [Tue, 9 Oct 2001 08:24:22 +0000 (08:24 +0000)]
Fix compile time warning messages in generated C files

22 years ago * config/obj-elf.c: (obj_elf_change_section): Add "group" param.
amodra [Tue, 9 Oct 2001 06:07:30 +0000 (06:07 +0000)]
* config/obj-elf.c: (obj_elf_change_section): Add "group" param.
Set elf_section_data group from it.  Warn if group name changed.
(obj_elf_parse_section_letters): Parse 'G' too.
(obj_elf_section): Parse group name.
(struct group_list): New.
(build_group_lists): New function.
(elf_frob_file): Create SEC_GROUP section(s).

* config/obj-elf.c: (elf_copy_symbol_attributes): Zap trailing
whitespace.

22 years ago * elf-bfd.h (struct bfd_elf_section_data): Add "group" and
amodra [Tue, 9 Oct 2001 06:05:11 +0000 (06:05 +0000)]
* elf-bfd.h (struct bfd_elf_section_data): Add "group" and
"next_in_group".  Fix gp and gp_size comments.
* elf.c (union elf_internal_group): New.
(setup_group): New function.
(_bfd_elf_make_section_from_shdr): Set BFD flags for SHT_GROUP.
Call setup_group for SHF_GROUP sections.
(bfd_section_from_shdr): Build a BFD section for SHT_GROUP.
(elf_fake_sections): Set header type for SEC_GROUP, and header
flags for sections in a group.
(set_group_contents): New function.
(_bfd_elf_compute_section_file_positions): Call it.
(assign_section_numbers): Set sh_link for SHT_GROUP.
* elflink.h (gc_mark_hook): Handle section groups.
* elfxx-target.h: Add SEC_GROUP to applicable_flags.
* section.c (SEC_GROUP): Define.
(struct sec): Comment fixes.
* bfd-in2.h: Regenerate.

* elf.c (bfd_elf_print_symbol): Formatting fix; migrate expression
out of function args.
(_bfd_elf_canonicalize_reloc): Similarly.
(_bfd_elf_get_symtab): Here too.
(_bfd_elf_canonicalize_dynamic_symtab): And here.
* elfcode.h (elf_slurp_symbol_table): Don't recalculate size for
bfd_bread, and remove unnecessary cast.

22 years ago*** empty log message ***
gdbadmin [Tue, 9 Oct 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago * c_variable.test (check_update): Forget about returning
kseitz [Mon, 8 Oct 2001 21:34:04 +0000 (21:34 +0000)]
* c_variable.test (check_update): Forget about returning
the "unchanged" list. It unneccessarily complicates things.
Update all callers.
* cpp_variable.test: Likewise.

22 years agoDocument changes to hpux-thread.c.
brobecke [Mon, 8 Oct 2001 20:44:38 +0000 (20:44 +0000)]
Document changes to hpux-thread.c.

22 years agoRewrite find_active_thread() and find_tcb() to use ptid_t, instead of
brobecke [Mon, 8 Oct 2001 20:42:08 +0000 (20:42 +0000)]
Rewrite find_active_thread() and find_tcb() to use ptid_t, instead of
overloading the thread and the pid into the same 32-bit value. Make
associated necessary adaptations. Also remove unused variable
cached_active_thread.

22 years agoupdated credits
aldyh [Mon, 8 Oct 2001 19:31:33 +0000 (19:31 +0000)]
updated credits

22 years ago * bfd/config.bfd (targ_cpu): Add arm9e-*-elf.
aldyh [Mon, 8 Oct 2001 19:11:35 +0000 (19:11 +0000)]
    * bfd/config.bfd (targ_cpu): Add arm9e-*-elf.

22 years ago * gas/config/tc-arm.c (ARM_EXT_MAVERIK): New macro.
aldyh [Mon, 8 Oct 2001 19:05:33 +0000 (19:05 +0000)]
* gas/config/tc-arm.c (ARM_EXT_MAVERIK): New macro.
(cirrus_regtype): New enum.
(LONGEST_INST): Change to 10.
(CIRRUS_MODE1): New.
(CIRRUS_MODE2): New.
(CIRRUS_MODE3): New.
(CIRRUS_MODE4): New.
(CIRRUS_MODE5): New.
(CIRRUS_MODE6): New.
(insns): Add cirrus dsp instructions.
(ARM_EXT_MAVERIKSC_REG): New.
(cirrus_register): New.
(cirrus_mvf_register): New.
(cirrus_mvd_register): New.
(cirrus_mvfx_register): New.
(cirrus_mvdx_register): New.
(cirrus_mvax_register): New.
(ARM_EXT_MAVERIKsc_register): New.
(reg_table): Add cirrus registers.
(cirrus_valid_reg): New.
(cirrus_reg_required_here): New.
(do_c_binops_1): New.
(do_c_binops_2): New.
(do_c_binops_3): New.
(do_c_triple_4): New.
(do_c_triple_5): New.
(do_c_quad_6): New.
(do_c_dspsc_1): New.
(do_c_dspsc_2): New.
(do_c_shift_1): New.
(do_c_shift_2): New.
(do_c_ldst_1): New.
(do_c_ldst_2): New.
(do_c_ldst_3): New.
(do_c_ldst_4): New.
(do_c_binops): New.
(do_c_triple): New.
(do_c_quad): New.
(do_c_dspsc): New.
(do_c_shift): New.
(cirrus_parse_offset): New.
(do_c_ldst): New.
(md_parse_option): Add arm9e.
(md_show_usage): Same.

22 years ago * MAINTAINERS (powerpc, SCO/Unixware, Solaris/x86): Remove my
nsd [Mon, 8 Oct 2001 19:04:59 +0000 (19:04 +0000)]
* MAINTAINERS (powerpc, SCO/Unixware, Solaris/x86): Remove my
entries.

22 years ago2001-10-08 Aldy Hernandez <aldyh@redhat.com>
aldyh [Mon, 8 Oct 2001 19:03:26 +0000 (19:03 +0000)]
2001-10-08  Aldy Hernandez  <aldyh@redhat.com>

* gas/doc/arm/c-arm.texi (ARM Options): Add arm9e documentation.

22 years ago2001-10-08 Aldy Hernandez <aldyh@redhat.com>
aldyh [Mon, 8 Oct 2001 19:00:14 +0000 (19:00 +0000)]
2001-10-08  Aldy Hernandez  <aldyh@redhat.com>

* gas/testsuite/gas/arm/arm.exp: Run arm9e tests.

* gas/testsuite/gas/arm/maverick.c: New.

* gas/testsuite/gas/arm/maverick.d: New.

* gas/testsuite/gas/arm/maverick.s: New.

22 years ago * gas/testsuite/gas/arm/arm.exp: Run arm9e tests.
aldyh [Mon, 8 Oct 2001 18:59:16 +0000 (18:59 +0000)]
* gas/testsuite/gas/arm/arm.exp: Run arm9e tests.

* gas/testsuite/gas/arm/maverick.c: New.

* gas/testsuite/gas/arm/maverick.d: New.

* gas/testsuite/gas/arm/maverick.s: New.

22 years ago2001-10-08 Aldy Hernandez <aldyh@redhat.com>
aldyh [Mon, 8 Oct 2001 18:54:13 +0000 (18:54 +0000)]
2001-10-08  Aldy Hernandez  <aldyh@redhat.com>

* configure.tgt (targ): Add arm9e-*-elf.

22 years ago * opcodess/arm-opc.h (arm_opcodes): Add cirrus insns.
aldyh [Mon, 8 Oct 2001 18:50:36 +0000 (18:50 +0000)]
    * opcodess/arm-opc.h (arm_opcodes): Add cirrus insns.

* opcodes/arm-dis.c (print_insn_arm): Add 'I' case.

22 years agoFix 2 xcoff line number problems
trix [Mon, 8 Oct 2001 18:14:42 +0000 (18:14 +0000)]
Fix 2 xcoff line number problems

22 years ago * winsup.api/mmaptest01.c: Add several tests on mmaps. Use libltp.
corinna [Mon, 8 Oct 2001 12:18:38 +0000 (12:18 +0000)]
* winsup.api/mmaptest01.c: Add several tests on mmaps.  Use libltp.
* winsup.api/winsup.exp: Link all tests agains libltp.

22 years ago* dtable.cc (dtable::build_fhandler): Allocate correct amount for given
cgf [Mon, 8 Oct 2001 05:50:33 +0000 (05:50 +0000)]
* dtable.cc (dtable::build_fhandler): Allocate correct amount for given
fhandler class.
* fhandler.h (fhandler_union): Properly define rather than relying on
fhandler_console being "big enough".

22 years ago* external.cc (fillout_pinfo): Reset counter whenever we initialize the pid
cgf [Mon, 8 Oct 2001 04:26:27 +0000 (04:26 +0000)]
* external.cc (fillout_pinfo): Reset counter whenever we initialize the pid
list.

22 years ago* kill.cc (main): Set exit value to 1 on invalid pid. Perform minor cleanup.
cgf [Mon, 8 Oct 2001 03:06:25 +0000 (03:06 +0000)]
* kill.cc (main): Set exit value to 1 on invalid pid.  Perform minor cleanup.

22 years ago*** empty log message ***
gdbadmin [Mon, 8 Oct 2001 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

22 years agomerge from gcc
dj [Sun, 7 Oct 2001 22:42:23 +0000 (22:42 +0000)]
merge from gcc

22 years ago* path.cc (normalize_posix_path): Don't eat a '.' after a '\\' since it has
cgf [Sun, 7 Oct 2001 21:16:35 +0000 (21:16 +0000)]
* path.cc (normalize_posix_path): Don't eat a '.' after a '\\' since it has
special meaning on NT.
* syscalls.cc (access): Use stat_worker.

22 years agomerge from gcc
dj [Sun, 7 Oct 2001 17:24:36 +0000 (17:24 +0000)]
merge from gcc

22 years agomerge from gcc
dj [Sun, 7 Oct 2001 17:23:43 +0000 (17:23 +0000)]
merge from gcc

22 years ago * config/obj-elf.c: Standardize error/warning messages - don't
amodra [Sun, 7 Oct 2001 06:16:53 +0000 (06:16 +0000)]
* config/obj-elf.c: Standardize error/warning messages - don't
capitalise, no final period or newline, don't say "ignoring" for
as_bad messages.  In some cases, change the wording to that used
elsewhere for similar messages.
(obj_elf_section_name): New function, split out from ..
(obj_elf_section): .. here.  Correctly mask off SHF_MERGE if
entsize not specified.

22 years agodaily update
amodra [Sun, 7 Oct 2001 00:00:06 +0000 (00:00 +0000)]
daily update

22 years ago*** empty log message ***
gdbadmin [Sun, 7 Oct 2001 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago* config/alpha/tm-fbsd.h (FRAME_CHAIN_VALID): Define.
kettenis [Sat, 6 Oct 2001 19:19:27 +0000 (19:19 +0000)]
* config/alpha/tm-fbsd.h (FRAME_CHAIN_VALID): Define.

22 years ago * library/session.tcl (SESSION_recreate_bps): Use
tromey [Sat, 6 Oct 2001 18:10:50 +0000 (18:10 +0000)]
* library/session.tcl (SESSION_recreate_bps): Use
gdb_run_readline_command_no_output to recreate breakpoints.
* library/interface.tcl (gdb_run_readline_command): Set
readlineShowUser element of gdbtk_state.
(gdb_run_readline_command_no_output): New proc.
(initialize_gdbtk): Initialize readlineShowUser element.
(gdbtk_tcl_readline_begin): Use readlineShowUser element.
(gdbtk_tcl_readline): Likewise.

22 years ago * dwarf2.c (comp_unit_find_nearest_line): Check for end of
ciceron [Sat, 6 Oct 2001 10:01:08 +0000 (10:01 +0000)]
* dwarf2.c (comp_unit_find_nearest_line): Check for end of
compilation unit.

22 years ago * bfd.c (bfd_assert): Report bfd version.
amodra [Sat, 6 Oct 2001 07:40:44 +0000 (07:40 +0000)]
* bfd.c (bfd_assert): Report bfd version.
(_bfd_abort): Likewise.

22 years ago * elflink.h (elf_link_input_bfd): Don't zero discarded link-once
amodra [Sat, 6 Oct 2001 07:25:39 +0000 (07:25 +0000)]
* elflink.h (elf_link_input_bfd): Don't zero discarded link-once
section sym values.  Instead replace any relocs against them with
relocs against STN_UNDEF, which has a zero value.

22 years ago * elf32-arc.c (elf_arc_howto_table): Set partial_inplace for all
amodra [Sat, 6 Oct 2001 06:41:47 +0000 (06:41 +0000)]
* elf32-arc.c (elf_arc_howto_table): Set partial_inplace for all
relocs.

22 years agofix typo
cgf [Sat, 6 Oct 2001 04:04:14 +0000 (04:04 +0000)]
fix typo

22 years ago * generic/gdbtk-bp.c (get_breakpoint_commands): New function.
kseitz [Sat, 6 Oct 2001 01:42:33 +0000 (01:42 +0000)]
* generic/gdbtk-bp.c (get_breakpoint_commands): New function.
(gdb_get_breakpoint_info): Use gdb_breakpoint_commands to
assemble breakpoint commands information.

22 years ago* fhandler.cc (fhandler_base::fork_fixup): Protect dup'ed handle and record it
cgf [Sat, 6 Oct 2001 01:04:24 +0000 (01:04 +0000)]
* fhandler.cc (fhandler_base::fork_fixup): Protect dup'ed handle and record it
as non-inheritable for debugging purposes in case there is a subsequent fork or
exec.
* fhandler_tty.cc (fhandler_tty_common::fixup_after_fork): Allow fork_fixup to
call ProtecHandle.

22 years ago*** empty log message ***
gdbadmin [Sat, 6 Oct 2001 00:00:08 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
amodra [Sat, 6 Oct 2001 00:00:07 +0000 (00:00 +0000)]
daily update

22 years ago * som.h (som_exec_data): New field "version_id".
law [Fri, 5 Oct 2001 21:55:10 +0000 (21:55 +0000)]
    * som.h (som_exec_data): New field "version_id".
        * som.c (som_object_setup): Record the version_id if it
        exists.
        (som_prep_headers): Do not initialize version_id here.
        (som_finish_writing): Initialize version_id here.

22 years ago* win/configure.in: Add detection for -mwin32 option requirement under cygwin.
cgf [Fri, 5 Oct 2001 20:33:05 +0000 (20:33 +0000)]
* win/configure.in: Add detection for -mwin32 option requirement under cygwin.
* win/configure: Regenerate.

22 years ago* version string
fche [Fri, 5 Oct 2001 19:57:04 +0000 (19:57 +0000)]
* version string

2001-10-05  Frank Ch. Eigler  <fche@redhat.com>

* Makefile.am (all-local): Create version.h file with $(VERSION) in it.
* Makefile.in: Regenerated.

[main/dynamic]
2001-10-05  Frank Ch. Eigler  <fche@redhat.com>

        * mainDynamic.cxx (version): New function.  Use SID_VERSION from
        new version.h file.
        (main): Support "-v" option to print this information.
        * Makefile.am (sid_DEPENDENCIES): List version.h.
        * configure, Makefile.in: Regenerated.

22 years ago* path.cc (get_raw_device_number): Correct length arguments for wdeveqn.
cgf [Fri, 5 Oct 2001 18:23:49 +0000 (18:23 +0000)]
* path.cc (get_raw_device_number): Correct length arguments for wdeveqn.

22 years ago* winsup.api/nullgetcwd.c: New file. Check that NULL first argument to getcwd
cgf [Fri, 5 Oct 2001 16:52:42 +0000 (16:52 +0000)]
* winsup.api/nullgetcwd.c: New file.  Check that NULL first argument to getcwd
works.

22 years ago2001-10-05 H.J. Lu <hjl@gnu.org>
hjl [Fri, 5 Oct 2001 16:40:23 +0000 (16:40 +0000)]
2001-10-05  H.J. Lu  <hjl@gnu.org>

* genscripts.sh: Fix a typo in the last change.

22 years ago * doc/as.texinfo: Document M and S ELF section flags.
jakub [Fri, 5 Oct 2001 16:36:54 +0000 (16:36 +0000)]
* doc/as.texinfo: Document M and S ELF section flags.

* emultempl/elf32.em (gld_*_list_options): Include -z combreloc and
-z nocombreloc in usage.

22 years ago * elf32-mips.c (elf_mips_howto_table): Fix some relocation howtos
ths [Fri, 5 Oct 2001 16:14:38 +0000 (16:14 +0000)]
* elf32-mips.c (elf_mips_howto_table): Fix some relocation howtos
according to the MIPS/SGI ELF64 ABI Draft.
(mips_elf_sort_hash_table): Typo.

22 years ago* path.cc (getcwd): Allow NULL first argument.
cgf [Fri, 5 Oct 2001 15:05:07 +0000 (15:05 +0000)]
* path.cc (getcwd): Allow NULL first argument.

22 years ago * subsegs.c (subseg_text_p): Return 0 for absolute section.
amodra [Fri, 5 Oct 2001 10:53:00 +0000 (10:53 +0000)]
* subsegs.c (subseg_text_p): Return 0 for absolute section.
* read.c (do_align): If in absolute section, warn about and ignore
non-zero fill pattern.

22 years ago* config/tc-mn10300.c (tc_gen_reloc): Don't free
aoliva [Fri, 5 Oct 2001 07:49:24 +0000 (07:49 +0000)]
* config/tc-mn10300.c (tc_gen_reloc): Don't free
reloc->sym_ptr_ptr if it's not allocated.

22 years agoRevert incorrect checkins.
cgf [Fri, 5 Oct 2001 04:37:33 +0000 (04:37 +0000)]
Revert incorrect checkins.

22 years ago* heap.h (inheap): Check for NULL.
cgf [Fri, 5 Oct 2001 04:36:14 +0000 (04:36 +0000)]
* heap.h (inheap): Check for NULL.

22 years agoAdd second path_conv * argument to fstat()s throughout.
cgf [Fri, 5 Oct 2001 04:21:41 +0000 (04:21 +0000)]
Add second path_conv * argument to fstat()s throughout.
* fhandler.h: Change read and fstat to regparm/stdcall throughout.
(fhandler_base::fstat): Just declare.  Don't define.
(fhandler_disk_file::fstat_helper): Declare.
* fhandler.cc (fhandler_base::fstat): Move here from fhandler.h, adapt from
former stat_dev().
(fhandler_disk_file::fstat): Move most of the disk-file-specific logic from
stat_worker to here.  Use fstat_helper to derive final fstat output.
(fhandler_disk_file::fstat_helper): New method, renamed from former fstat
method.
(num_entries): Moved here from syscalls.cc.
* fhandler_mem.cc (fhandler_dev_mem::fstat): Use base class to initialize most
stuff.  Invert has_physical_mem_access test for establishing permissions.
* fhandler_raw.cc (fhandler_dev_raw::fstat): Eliminate unneed test and memory
clearing.  Use base class to initialize most stuff.
* syscalls.cc (stat_dev): Eliminate.
(stat_worker): Simply call fstat method to generate fstat output.  Move all
device specific code to appropriate fstats.
* dir.cc (opendir): Pass correct arg to stat_worker to allow following
symlinks.

22 years ago* winsup.api/systemcall.c (main): Change some messages for clarity.
cgf [Fri, 5 Oct 2001 02:47:28 +0000 (02:47 +0000)]
* winsup.api/systemcall.c (main): Change some messages for clarity.

22 years ago* winsup.api/systemcall.c: New file. Check for system call problems.
cgf [Fri, 5 Oct 2001 02:29:46 +0000 (02:29 +0000)]
* winsup.api/systemcall.c: New file.  Check for system call problems.

22 years ago* spawn.cc (perhaps_suffix): Return NULL on non-existence of file as well as
cgf [Fri, 5 Oct 2001 01:39:08 +0000 (01:39 +0000)]
* spawn.cc (perhaps_suffix): Return NULL on non-existence of file as well as
"directoryness".  Previous code modified on 2001/09/30 actually had an arguable
bug which was unmasked by the change on that day.

22 years ago* converge with internal tree.
bje [Fri, 5 Oct 2001 01:14:34 +0000 (01:14 +0000)]
* converge with internal tree.

22 years ago* regenerate with latest maintainer-tools.
bje [Fri, 5 Oct 2001 01:11:48 +0000 (01:11 +0000)]
* regenerate with latest maintainer-tools.

22 years ago* path.cc (path_conv::check): Return ENOTDIR when leading device and trailing
cgf [Fri, 5 Oct 2001 00:52:39 +0000 (00:52 +0000)]
* path.cc (path_conv::check): Return ENOTDIR when leading device and trailing
component.

22 years ago* belated merge.
bje [Fri, 5 Oct 2001 00:36:16 +0000 (00:36 +0000)]
* belated merge.

2001-08-15  John Healy  <jhealy@redhat.com>

* sw-load-elf.xml: Changed "set loader file" to "set cpu-loader file".
* sw-load-elf.txt: Ditto.

22 years ago* syscalls.cc (stat_worker): Make global. Accept path_conv parameter for
cgf [Fri, 5 Oct 2001 00:17:57 +0000 (00:17 +0000)]
* syscalls.cc (stat_worker): Make global.  Accept path_conv parameter for
passing information back to caller.
* winsup.h: Declare stat_worker.
* dir.cc (opendir): Use stat_worker rather than stat and pass path_conv
parameter to stat_worker for later inspection.
* syslog.cc (syslog): Teach syslog about syslog priorities other than LOG_ERR,
LOG_WARNING and LOG_INFO
* path.cc (path_conv::check): Don't perform file system or rootdir checks on
devices.

22 years agodaily update
amodra [Fri, 5 Oct 2001 00:00:06 +0000 (00:00 +0000)]
daily update

22 years ago*** empty log message ***
gdbadmin [Fri, 5 Oct 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago2001-10-04 Frank Ch. Eigler <fche@redhat.com>
fche [Thu, 4 Oct 2001 22:11:12 +0000 (22:11 +0000)]
2001-10-04  Frank Ch. Eigler  <fche@redhat.com>

* lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
if gdb child process crashes, just signal an error.

22 years ago * config/tc-mips.c (prev_insn_reloc_type): Make it an array to hold a
ths [Thu, 4 Oct 2001 20:07:00 +0000 (20:07 +0000)]
* config/tc-mips.c (prev_insn_reloc_type): Make it an array to hold a
relocation triple.
(prev_insn_fixp): Likewise.
(append_insn): Changed prototype to accept a relocation pointer.
(imm_reloc): Make it an array.
(offset_reloc): Likewise.
(md_assemble): Handle triple relocations.
(append_insn): Likewise. Add handling for some NewABI relocations.
(mips_no_prev_insn): Handle triple relocations.
(macro_build): Likewise. Add handling for some NewABI relocations.
Move handling for the 'u' case to append_insn().
(mips16_macro_build): Handle triple relocations.
(macro_build_lui): Likewise. Don't handle _gp_disp as special symbol
for NewABI.
(mips_ip): Handle triple relocations.
(mips16_ip): Likewise.
(mips_force_relocation): Force handling of triple relocations
without symbols for NewABI.
(md_apply_fix): Add handling for some NewABI relocations.

22 years ago * config/tc-i386.c (parse_register): If not producing code for
amodra [Thu, 4 Oct 2001 18:01:45 +0000 (18:01 +0000)]
* config/tc-i386.c (parse_register): If not producing code for
x86_64, reject x86_64 register name matches.
(md_assemble): Remove now redundant check for x86_64 regs.

22 years ago2001-10-04 Frank Ch. Eigler <fche@redhat.com>
fche [Thu, 4 Oct 2001 17:33:48 +0000 (17:33 +0000)]
2001-10-04  Frank Ch. Eigler  <fche@redhat.com>

* configrun-sid.in: Throughout, set boolean attributes only to
non-default values.

22 years ago* cleanup++
fche [Thu, 4 Oct 2001 17:28:44 +0000 (17:28 +0000)]
* cleanup++

2001-10-04  Frank Ch. Eigler  <fche@redhat.com>

        * sidcpuutil.h (basic_cpu ctor): Initialize those tracing flags.

22 years ago* cleanup
fche [Thu, 4 Oct 2001 16:50:11 +0000 (16:50 +0000)]
* cleanup

2001-10-04  Frank Ch. Eigler  <fche@redhat.com>

        * sidcpuutil.h (update_trace_result_p): New function.
        ({get,set}_trace_{sem,disasm,count,result}): Removed functions.
        (basic_cpu ctor): Use plain attributes or notify-attributes,
        not general virtual ones for the various tracing flags.

22 years agoFix a comment typo in last commit.
amodra [Thu, 4 Oct 2001 16:18:32 +0000 (16:18 +0000)]
Fix a comment typo in last commit.

22 years ago * elf32-mips.c (_bfd_mips_elf_copy_indirect_symbol): Bail out after
amodra [Thu, 4 Oct 2001 16:09:02 +0000 (16:09 +0000)]
* elf32-mips.c (_bfd_mips_elf_copy_indirect_symbol): Bail out after
copying flags if this is a weakdef.

22 years agosomehow missed committing this.
amodra [Thu, 4 Oct 2001 15:37:38 +0000 (15:37 +0000)]
somehow missed committing this.
* dep-in.sed: Remove symcat.h from dependencies.

22 years ago * main.c (enable_external_editor): Don't declare.
tromey [Thu, 4 Oct 2001 15:04:26 +0000 (15:04 +0000)]
* main.c (enable_external_editor): Don't declare.
(captured_main): Don't set enable_external_editor.

22 years ago * library/tclIndex: Updated.
tromey [Thu, 4 Oct 2001 15:01:33 +0000 (15:01 +0000)]
* library/tclIndex: Updated.
* library/prefs.tcl (pref_set_defaults): Define gdb/editor
preference.
* library/srcpref.itb (SrcPref::constructor): Save gdb/editor
preference.
(SrcPref::build_win): Added external editor control.
* library/srctextwin.itb (SrcTextWin::do_source_popup): Always
enable external editor.  Use `code' instead of `list'.
* library/srcwin.itb (SrcWin::edit): Use Editor::edit.
* library/editor.tcl: New file.
* generic/gdbtk.c (enable_external_editor): Removed.
(external_editor_command): Default to NULL.
(gdbtk_init): Don't set enable_external_editor.  Free external
editor command when finished with it.

22 years ago * elf-bfd.h (struct elf_link_hash_entry): Reorganise for better
amodra [Thu, 4 Oct 2001 12:30:25 +0000 (12:30 +0000)]
* elf-bfd.h (struct elf_link_hash_entry): Reorganise for better
packing.

22 years ago * elf32-mips.c (mips_elf_record_global_got_symbol): Set got.offset
amodra [Thu, 4 Oct 2001 05:50:29 +0000 (05:50 +0000)]
* elf32-mips.c (mips_elf_record_global_got_symbol): Set got.offset
to 1 rather than 0 to avoid confusing copy_indirect_symbol.
(mips_elf_sort_hash_table_f): Compare got.offset against 1.

22 years ago * Makefile.am (BFD_H_DEPS): Add symcat.h. Ensure everything
amodra [Thu, 4 Oct 2001 05:40:42 +0000 (05:40 +0000)]
* Makefile.am (BFD_H_DEPS): Add symcat.h.  Ensure everything
depends on $(BFD_H) $(BFD_H_DEPS) $(LOCAL_H_DEPS), not just those
backends we configure.  Run "make dep-am".
(install-data-local): Install symcat.h.
* dep-in.sed: Remove symcat.h from dependencies.
* Makefile.in: Regenerate.