OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
22 years ago * cgen-ibld.in (extract_normal): Match type of VALUE and MASK
rth [Sun, 12 Aug 2001 20:16:29 +0000 (20:16 +0000)]
    * cgen-ibld.in (extract_normal): Match type of VALUE and MASK
        to *VALUEP.  Regenerate all cgen files.

22 years ago * gloss.cxx (gloss32::read): Fix argument type mismatch for min.
rth [Sun, 12 Aug 2001 19:32:17 +0000 (19:32 +0000)]
    * gloss.cxx (gloss32::read): Fix argument type mismatch for min.

22 years agoExtend unaligned test to check .uaword with mulitple arguments
nickc [Sun, 12 Aug 2001 08:59:29 +0000 (08:59 +0000)]
Extend unaligned test to check .uaword with mulitple arguments

22 years agoFix behaviour of unaligned data directives
nickc [Sun, 12 Aug 2001 08:47:02 +0000 (08:47 +0000)]
Fix behaviour of unaligned data directives

22 years agoMake --verbose always display linker script
nickc [Sun, 12 Aug 2001 07:59:28 +0000 (07:59 +0000)]
Make --verbose always display linker script

22 years ago* config/mn10300/mn10300.mt (TM_FILE): Delete.
cagney [Sun, 12 Aug 2001 03:39:10 +0000 (03:39 +0000)]
* config/mn10300/mn10300.mt (TM_FILE): Delete.
* configure.tgt: Add mn10300 to list of mulit-arch targets.
* config/mn10300/tm-mn10300.h: Delete file. Move contents ...
* mn10300-tdep.c: To here.

22 years agoConvert some floatformat_{to,from}_double to floatformat_{to,from}_doublest.
cagney [Sun, 12 Aug 2001 03:19:22 +0000 (03:19 +0000)]
Convert some floatformat_{to,from}_double to floatformat_{to,from}_doublest.

22 years ago* config/mn10300/tm-mn10300.h (PC_REGNUM, SP_REGNUM): Delete.
cagney [Sun, 12 Aug 2001 02:10:17 +0000 (02:10 +0000)]
* config/mn10300/tm-mn10300.h (PC_REGNUM, SP_REGNUM): Delete.
* mn10300-tdep.c (mn10300_gdbarch_init): Initialize pc_regnum and
sp_regnum.

22 years ago* doublest.c (convert_doublest_to_floatformat): Rename
cagney [Sun, 12 Aug 2001 01:45:48 +0000 (01:45 +0000)]
* doublest.c (convert_doublest_to_floatformat): Rename
floatformat_from_doublest.  Make static.
(convert_floatformat_to_doublest): Rename floatformat_to_doublest.
Make static.
(floatformat_to_doublest): New function.
(floatformat_from_doublest): New function.
(host_float_format, host_double_format, host_long_double_format):
New static variables.
(store_floating, extract_floating): Always use
floatformat_to_doublest and floatformat_from_doublest.
* doublest.h (HOST_LONG_DOUBLE_FORMAT): Delete macro.

22 years ago* config/mn10300/tm-mn10300.h (INIT_FRAME_PC): Delete.
cagney [Sun, 12 Aug 2001 01:11:12 +0000 (01:11 +0000)]
* config/mn10300/tm-mn10300.h (INIT_FRAME_PC): Delete.
* mn10300-tdep.c (mn10300_gdbarch_init): Initialize init_frame_pc.

22 years ago*** empty log message ***
gdbadmin [Sun, 12 Aug 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

22 years agoreplace direct invocation og elf vma print functions with indirect invocation
nickc [Sat, 11 Aug 2001 16:48:15 +0000 (16:48 +0000)]
replace direct invocation og elf vma print functions with indirect invocation

22 years ago * config/tc-mips.c: Fix a comment typo.
kazu [Sat, 11 Aug 2001 15:15:14 +0000 (15:15 +0000)]
* config/tc-mips.c: Fix a comment typo.

22 years ago2001-08-10 Andreas Jaeger <aj@suse.de>
aj [Sat, 11 Aug 2001 07:59:54 +0000 (07:59 +0000)]
2001-08-10  Andreas Jaeger  <aj@suse.de>

* elf64-sparc.c: Add missing prototypes.
* elf32-cris.c: Likewise.
* elf32-i370.c: Likewise.
* elf64-hppa.c: Likewise.
* elf64-s390.c: Likewise.

22 years agoOops. Forgot to check in include/wchar.h???
cgf [Sat, 11 Aug 2001 01:56:53 +0000 (01:56 +0000)]
Oops.  Forgot to check in include/wchar.h???

22 years ago* target.h (TARGET_VIRTUAL_FRAME_POINTER): Delete, multi-arched.
cagney [Sat, 11 Aug 2001 00:59:29 +0000 (00:59 +0000)]
* target.h (TARGET_VIRTUAL_FRAME_POINTER): Delete, multi-arched.
* gdbarch.sh (TARGET_VIRTUAL_FRAME_POINTER): Add.
* gdbarch.h, gdbarch.c: Regenerate.

* arch-utils.h (legacy_virtual_frame_pointer): Declare.
* arch-utils.c: Include "gdb_assert.h".
(legacy_virtual_frame_pointer): Define.
* Makefile.in (arch-utils.o): Depends on gdb_assert.h.

* tracepoint.c (encode_actions): Make frame_reg an int.  Make
frame_offset a LONGEST.
* ax-gdb.c (gen_frame_args_address): Ditto.
(gen_frame_locals_address): Ditto.
* mn10300-tdep.c (mn10300_gdbarch_init): Initialize
virtual_frame_pointer.
(mn10300_virtual_frame_pointer): Make static.  Update parameter
list to match function signature.
* config/mn10300/tm-mn10300.h (TARGET_VIRTUAL_FRAME_POINTER): Delete.

22 years ago * gdb-events.sh: Add architecture_changed event.
kseitz [Sat, 11 Aug 2001 00:41:02 +0000 (00:41 +0000)]
* gdb-events.sh: Add architecture_changed event.
* gdbarch.sh: Include gdb-event.h.
(gdbarch_update_p): Notify UIs when architecture changes.
* gdb-events.h: Regenerated.
* gdb-events.c: Regenerated.
* gdbarch.c: Regenerated.

22 years ago*** empty log message ***
gdbadmin [Sat, 11 Aug 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago(lbasename): Change function declaration to return a const char pointer.
cagney [Fri, 10 Aug 2001 23:46:14 +0000 (23:46 +0000)]
(lbasename): Change function declaration to return a const char pointer.

22 years ago2001-08-10 Michael Snyder <msnyder@redhat.com>
msnyder [Fri, 10 Aug 2001 21:52:16 +0000 (21:52 +0000)]
2001-08-10  Michael Snyder  <msnyder@redhat.com>

* regcache.c (legacy_write_register_gen): Don't 'optimize out'
        a write_register to a pseudo-reg.  Target_store_pseudo_register
        needs to get called, because these regs may be computed and may
        have side-effects.

22 years ago2001-08-10 H.J. Lu <hjl@gnu.org>
hjl [Fri, 10 Aug 2001 20:38:32 +0000 (20:38 +0000)]
2001-08-10  H.J. Lu  <hjl@gnu.org>

* gas/mips/e32-rel2.d: Updated for the objdump output change.
* gas/mips/e32el-rel2.d: Likewise.
* gas/mips/elf-rel.d: Likewise.
* gas/mips/elf-rel2.d: Likewise.
* gas/mips/elf-rel3.d: Likewise.
* gas/mips/elf_e_flags1.d: Likewise.
* gas/mips/elf_e_flags2.d: Likewise.
* gas/mips/elf_e_flags3.d: Likewise.
* gas/mips/elf_e_flags4.d: Likewise.
* gas/mips/elfel-rel.d: Likewise.
* gas/mips/elfel-rel2.d: Likewise.
* gas/mips/elfel-rel3.d: Likewise.
* gas/mips/empic.d: Likewise.
* gas/mips/mips16-e.d: Likewise.
* gas/mips/mips16-f.d: Likewise.
* gas/mips/mipsel16-f.d: Likewise.
* gas/mips/telempic.d: Likewise.
* gas/mips/tempic.d: Likewise.
* gas/mips/tmips16-e.d: Likewise.
* gas/mips/tmipsel16-e.d: Likewise.

* gas/mips/mips16-f.d: Fix the symbol table output.

* gas/mips/mipsel16-f.d: Fix the endian.

* gas/mips/mips.exp; Don't xfail mips16-f/mipsel16-f.

22 years ago * elf64-x86-64.c (elf64_x86_64_elf_object_p): Make static.
aj [Fri, 10 Aug 2001 19:29:59 +0000 (19:29 +0000)]
* elf64-x86-64.c (elf64_x86_64_elf_object_p): Make static.
Add prototypes where needed.

22 years ago2001-08-10 H.J. Lu <hjl@gnu.org>
hjl [Fri, 10 Aug 2001 18:43:44 +0000 (18:43 +0000)]
2001-08-10  H.J. Lu  <hjl@gnu.org>

* bfd.c (bfd_sprintf_vma): Fix a typo in the last change.
(bfd_fprintf_vma): Likewise.

22 years ago2001-08-10 H.J. Lu <hjl@gnu.org>
hjl [Fri, 10 Aug 2001 16:43:17 +0000 (16:43 +0000)]
2001-08-10  H.J. Lu  <hjl@gnu.org>

* nm.c (print_value): Add one arg, bfd *.
(print_value): Replace fprintf_vma with bfd_fprintf_vma.
(print_symbol_info_bsd): Also pass `abfd' to print_value ().
(print_symbol_info_sysv): Likewise.
(print_symbol_info_posix): Likewise.

* objdump.c (dump_section_header): Replace printf_vma with
bfd_printf_vma.
(print_section_stabs): Likewise.
(dump_bfd_header): Likewise.
(objdump_print_value): Replace sprintf_vma with
bfd_sprintf_vma.
(disassemble_bytes): Likewise.
(dump_reloc_set): Likewise.

22 years ago2001-08-10 H.J. Lu <hjl@gnu.org>
hjl [Fri, 10 Aug 2001 16:32:03 +0000 (16:32 +0000)]
2001-08-10  H.J. Lu  <hjl@gnu.org>

* bfd.c (bfd_sprintf_vma): Don't return void.
(bfd_fprintf_vma): Likewise.

22 years ago * gas/mips/mips-gp32-fp32.d: Expect addu rather than or for moves.
rsandifo [Fri, 10 Aug 2001 16:28:03 +0000 (16:28 +0000)]
* gas/mips/mips-gp32-fp32.d: Expect addu rather than or for moves.
* gas/mips/mips-gp32-fp64.d: Likewise.
* gas/mips/mips-abi32.d: Likewise.
* gas/mips/mips-gp32-fp32-pic.d: Likewise.
* gas/mips/mips-gp32-fp64-pic.d: Likewise.
* gas/mips/mips-abi32-pic.d: Likewise.

22 years ago * config/tc-mips.c (move_register): New function.
rsandifo [Fri, 10 Aug 2001 16:24:31 +0000 (16:24 +0000)]
* config/tc-mips.c (move_register): New function.
(macro_build): Remove OPCODE_IS_MEMBER's gp32 argument.
(mips_ip): Likewise.
(macro2): Use move_register rather than macro_build for moves.
(mips16_macro): Likewise.
(macro): Likewise.  Handle M_MOVE.

22 years ago * mips-dis.c (print_insn_mips): Remove OPCODE_IS_MEMBER's gp32
rsandifo [Fri, 10 Aug 2001 16:22:07 +0000 (16:22 +0000)]
* mips-dis.c (print_insn_mips): Remove OPCODE_IS_MEMBER's gp32
argument.
* mips-opc.c (G6): Undefine.
(mips_builtin_opcodes): Remove gp32 entry for "move".  Add macro
as the first "move" alternative.

22 years ago * opcode/mips.h (INSN_GP32): Remove.
rsandifo [Fri, 10 Aug 2001 16:20:43 +0000 (16:20 +0000)]
* opcode/mips.h (INSN_GP32): Remove.
(OPCODE_IS_MEMBER): Remove gp32 parameter.
(M_MOVE): New macro identifier.

22 years ago * gdb-events.sh: Deal with event notifications with no
kseitz [Fri, 10 Aug 2001 16:05:30 +0000 (16:05 +0000)]
* gdb-events.sh: Deal with event notifications with no
arguments.

22 years ago * lib/kernels.c: New file.
earnie [Fri, 10 Aug 2001 11:52:35 +0000 (11:52 +0000)]
* lib/kernels.c: New file.

22 years ago * lib/test.c (Win32_Winsock): Replace with __USE_W32_SOCKETS.
earnie [Fri, 10 Aug 2001 11:51:02 +0000 (11:51 +0000)]
* lib/test.c (Win32_Winsock): Replace with __USE_W32_SOCKETS.
Add more includes of w32api headers.
* include/winnt.h (GetCurrentFiber): Change __inline to __inline__.
Swap asm code with that of GetFiberData.
(GetFiberData): Ditto.
* lib/kernels.c: New file, containing library versions of
GetCurrentFiber and GetFiberData.
* lib/makefile.in: Add kernel32.o as static object to libkernal32.a.

22 years ago * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
aj [Fri, 10 Aug 2001 10:56:41 +0000 (10:56 +0000)]
* configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
to build warnings.
* configure: Regenerate.

22 years ago2001-08-10 Orjan Friberg <orjanf@axis.com>
orjanf [Fri, 10 Aug 2001 09:59:32 +0000 (09:59 +0000)]
2001-08-10  Orjan Friberg  <orjanf@axis.com>

* remote.c (read_frame): Correct off-by-one error in condition.

22 years ago * elf.c (bfd_elf_sprintf_vma): Add ATTRIBUTE_UNUSED to quiet
amodra [Fri, 10 Aug 2001 08:06:22 +0000 (08:06 +0000)]
* elf.c (bfd_elf_sprintf_vma): Add ATTRIBUTE_UNUSED to quiet
warning if not BFD64.  Add braces so emacs auto format works.
(bfd_elf_fprintf_vma): Likewise.

22 years ago * libxcoff.h (struct xcoff_backend_data_rec): Constify src param
amodra [Fri, 10 Aug 2001 06:00:52 +0000 (06:00 +0000)]
* libxcoff.h (struct xcoff_backend_data_rec): Constify src param
of _xcoff_swap_ld*.
* coff-rs6000.c (xcoff_swap_ldhdr_in): Modify type of external
param to agree with libxcoff.h.
(xcoff_swap_ldhdr_out): Likewise.
(xcoff_swap_ldsym_in): Likewise.
(xcoff_swap_ldsym_out): Likewise.
(xcoff_swap_ldrel_in): Likewise.
(xcoff_swap_ldrel_out): Likewise.
(xcoff_create_csect_from_smclas): Likewise.
* coff64-rs6000.c: Add missing prototypes.
(xcoff64_swap_ldhdr_in): Modify type of external param to agree
with libxcoff.h.
(xcoff64_swap_ldhdr_out): Likewise.
(xcoff64_swap_ldsym_in): Likewise.
(xcoff64_swap_ldsym_out): Likewise.
(xcoff64_swap_ldrel_in): Likewise.
(xcoff64_swap_ldrel_out): Likewise.
(xcoff64_ppc_relocate_section): Make static.
(xcoff64_slurp_armap): Likewise.
(xcoff64_archive_p): Likewise.
(xcoff64_openr_next_archived_file): Likewise.
(xcoff64_sizeof_headers): Likewise.
(xcoff64_is_lineno_count_overflow): Likewise.
(xcoff64_is_reloc_count_overflow): Likewise.
(xcoff64_loader_symbol_offset): Likewise.
(xcoff64_loader_reloc_offset): Likewise.
* elf64-gen.c: Add missing prototypes.

22 years ago * as.h (alloca): Don't declare if __GNUC__. Remove an old comment.
amodra [Fri, 10 Aug 2001 02:49:27 +0000 (02:49 +0000)]
* as.h (alloca): Don't declare if __GNUC__.  Remove an old comment.
Comment indentation of #pragma.
* macro.c (alloca): Likewise.

22 years agoMove one entry from gas/ChangeLog to gas/testsuite/ChangeLog.
amodra [Fri, 10 Aug 2001 02:46:48 +0000 (02:46 +0000)]
Move one entry from gas/ChangeLog to gas/testsuite/ChangeLog.
Remove gas/ from file names.  Fix FOPEN_W comment.

22 years agoRevert 2001-08-08 changes.
amodra [Fri, 10 Aug 2001 01:34:47 +0000 (01:34 +0000)]
Revert 2001-08-08 changes.

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

22 years ago2001-08-09 H.J. Lu <hjl@gnu.org>
hjl [Thu, 9 Aug 2001 21:10:24 +0000 (21:10 +0000)]
2001-08-09  H.J. Lu  <hjl@gnu.org>

* elf.c (bfd_elf_sprintf_vma): Check ELFCLASS64 only in BFD64.
(bfd_elf_fprintf_vma): Likewise.

22 years ago * library/prefs.tcl (pref_set_defaults): Add new font
kseitz [Thu, 9 Aug 2001 20:43:53 +0000 (20:43 +0000)]
* library/prefs.tcl (pref_set_defaults): Add new font
color defaults for highlighting, headers, selecting, and "normal".
Get rid of gdb/variable/highlight_fg and gdb/reg/highlight_fg.
* library/variables.tcl (build_win): Use gdb/font/highlight_fg
and gdb/font/highilght_bg to set highlight style.
* library/memwin.itb (build_win): Use header_fg and header_bg.

22 years ago2001-08-09 H.J. Lu <hjl@gnu.org>
hjl [Thu, 9 Aug 2001 16:46:01 +0000 (16:46 +0000)]
2001-08-09  H.J. Lu  <hjl@gnu.org>

* bfd-in.h (bfd_elf_sprintf_vma, bfd_elf_fprintf_vma): Moved
to ...
* elf-bfd.h: Here.
* bfd-in2.h: Regenerated.

22 years ago2001-08-09 H.J. Lu <hjl@gnu.org>
hjl [Thu, 9 Aug 2001 16:00:20 +0000 (16:00 +0000)]
2001-08-09  H.J. Lu  <hjl@gnu.org>

* bfd-in.h (bfd_sprintf_vma): New prototype.
(bfd_fprintf_vma): Likewise.
(bfd_elf_sprintf_vma): Likewise.
(bfd_elf_fprintf_vma): Likewise.
(bfd_printf_vma): New. Defined with bfd_fprintf_vma.
* bfd-in2.h: Regenerated.

* bfd.c (bfd_sprintf_vma): New. Defined.
(bfd_fprintf_vma): Likewise.

* elf.c (bfd_elf_sprintf_vma): New. Defined.
(bfd_elf_fprintf_vma): Likewise.

22 years ago * alpha.c: Add missing prototypes.
amodra [Thu, 9 Aug 2001 14:57:42 +0000 (14:57 +0000)]
* alpha.c: Add missing prototypes.
* sparc.c: Likewise.
* tahoe.c: Likewise.
* vax.c: Likewise.
* i386.c: Likewise.
(i386_iscall): Don't use DEFUN.

22 years ago * dis-buf.c (generic_strcat_address): Add missing prototype.
amodra [Thu, 9 Aug 2001 14:52:56 +0000 (14:52 +0000)]
* dis-buf.c (generic_strcat_address): Add missing prototype.
#if 0 the functions as it is unused.

22 years ago * readelf.c: Add missing prototypes.
amodra [Thu, 9 Aug 2001 14:46:49 +0000 (14:46 +0000)]
* readelf.c: Add missing prototypes.
* objdump.c: Likewise.  Format existing prototypes.

22 years ago * emultempl/elf32.em (output_prev_sec_find): Add missing prototype.
amodra [Thu, 9 Aug 2001 14:44:17 +0000 (14:44 +0000)]
* emultempl/elf32.em (output_prev_sec_find): Add missing prototype.

22 years ago * symbols.c: Add missing prototypes.
amodra [Thu, 9 Aug 2001 14:42:06 +0000 (14:42 +0000)]
* symbols.c: Add missing prototypes.
* config/e-i386elf.c: Likewise.
* config/e-i386coff.c: Likewise.
* config/e-i386aout.c: Likewise.
* config/obj-coff.c: Likewise.
(def_symbol_in_progress, stack): Move definition.
* config/obj-elf.c: Add missing prototypes.
(obj_elf_change_section): Make static.
(obj_elf_parse_section_letters): Likewise.
(obj_elf_section_word): Likewise.
(obj_elf_section_type): Likewise.

22 years ago * coff-rs6000.c: Add missing prototypes.
amodra [Thu, 9 Aug 2001 14:38:04 +0000 (14:38 +0000)]
* coff-rs6000.c: Add missing prototypes.
(xcoff_ppc_relocate_section, xcoff_is_lineno_count_overflow,
xcoff_is_reloc_count_overflow, xcoff_loader_symbol_offset,
xcoff_loader_reloc_offset): Make static.
* dwarf1.c: Add missing prototypes.
* dwarf2.c: Add missing prototypes.
(struct abbrev_info): Move definition.
(struct attr_abbrev, ABBREV_HASH_SIZE, ATTR_ALLOC_CHUNK): Likewise.
* elf.c: Add missing prototypes.
* elf32-gen.c: Likewise.
* elf32-i386.c: Likewise.
* elf32-ppc.c: Likewise.
(ppc_elf_sort_rela): Use PTR instead of "void *".
* elflink.h: Add missing prototypes.  Formatting fixes.
* merge.c: Add missing prototypes.
(last4_eq): Use PTR instead of "void *".
(last_eq): Likewise.
* syms.c: Add missing prototypes.

22 years ago * scripttempl/elf.sc: Move non-text .dynamic section before
amodra [Thu, 9 Aug 2001 14:25:59 +0000 (14:25 +0000)]
* scripttempl/elf.sc: Move non-text .dynamic section before
.plt/.got/.sdata* group.
(OTHER_GOT_SECTIONS): Move to immediately after .got.
(OTHER_SDATA_SECTIONS): Add.
* emulparams/criself.sh: Use OTHER_SDATA_SECTIONS rather than
OTHER_GOT_SECTIONS.
* emulparams/crislinux.sh: Likewise.
* emulparams/elf32b4300.sh: Likewise.
* emulparams/elf32bmip.sh: Likewise.
* emulparams/elf32bmipn32.sh: Likewise.
* emulparams/elf32bsmip.sh: Likewise.
* emulparams/elf32btsmip.sh: Likewise.
* emulparams/elf32ebmip.sh: Likewise.
* emulparams/elf32elmip.sh: Likewise.
* emulparams/elf32l4300.sh: Likewise.
* emulparams/elf32lmip.sh: Likewise.
* emulparams/elf32lsmip.sh: Likewise.
* emulparams/elf32ltsmip.sh: Likewise.
* emulparams/elf64bmip.sh: Likewise.
* emulparams/elf64btsmip.sh: Likewise.
* emulparams/elf64ltsmip.sh: Likewise.

22 years agoFix formatting
nickc [Thu, 9 Aug 2001 09:09:03 +0000 (09:09 +0000)]
Fix formatting

22 years agoChange 'partial_inplace' to true (this target uses REL relocations) and
nickc [Thu, 9 Aug 2001 09:00:57 +0000 (09:00 +0000)]
Change 'partial_inplace' to true (this target uses REL relocations) and
'pcrel_offset' to false (the PC is implied, not stored in the offset).

22 years agomerge from gcc
dj [Thu, 9 Aug 2001 00:05:36 +0000 (00:05 +0000)]
merge from gcc

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

22 years ago* include/wchar.h: Define __need_wint_t.
cgf [Wed, 8 Aug 2001 19:26:24 +0000 (19:26 +0000)]
* include/wchar.h: Define __need_wint_t.

22 years ago * include/winuser.h (GET_WHEEL_DELTA_WPARAM): Add macro.
earnie [Wed, 8 Aug 2001 17:25:22 +0000 (17:25 +0000)]
* include/winuser.h (GET_WHEEL_DELTA_WPARAM): Add macro.
* lib/oleaut32.def: Regenerate.

22 years ago2001-08-08 Don Howard <dhoward@redhat.com>
dhoward [Wed, 8 Aug 2001 16:15:37 +0000 (16:15 +0000)]
2001-08-08  Don Howard  <dhoward@redhat.com>

* stabsread.c (read_type): Add support for const and volatile
modifiers.

22 years ago * config/tc-ppc.c (md_apply_fix3): Replace haphazard code for
amodra [Wed, 8 Aug 2001 13:23:07 +0000 (13:23 +0000)]
* config/tc-ppc.c (md_apply_fix3): Replace haphazard code for
determining reloc type with code reading operands->reloc field.

22 years ago * ppc.h (struct powerpc_operand): New field `reloc'.
amodra [Wed, 8 Aug 2001 13:19:36 +0000 (13:19 +0000)]
* ppc.h (struct powerpc_operand): New field `reloc'.
* ppc-opc.c: Include "bfd.h".
(powerpc_operands): Add new field for reloc type.

22 years ago * genscripts.sh: Source the emulparams script before each output
amodra [Wed, 8 Aug 2001 13:14:37 +0000 (13:14 +0000)]
* genscripts.sh: Source the emulparams script before each output
script is generated so that variables like `RELOCATING' may affect
variables defined in the emulparams script.

22 years ago * config/obj-elf.c (elf_copy_symbol_attributes): Make it a global
amodra [Wed, 8 Aug 2001 13:11:57 +0000 (13:11 +0000)]
* config/obj-elf.c (elf_copy_symbol_attributes): Make it a global
function, and expand old obj-elf.h OBJ_COPY_SYMBOL_ATTRIBUTES here.
* config/obj-elf.h (elf_copy_symbol_attributes): Declare.
(OBJ_COPY_SYMBOL_ATTRIBUTES): Call elf_copy_symbol_attributes.

22 years ago * elf-bfd.h (struct elf_backend_data): Add want_got_sym.
amodra [Wed, 8 Aug 2001 13:09:32 +0000 (13:09 +0000)]
* elf-bfd.h (struct elf_backend_data): Add want_got_sym.
* elfxx-target.h (elf_backend_want_got_sym): Define.
(elfNN_bed): Add elf_backend_want_got_sym.
* elflink.c (_bfd_elf_create_got_section): Define
_GLOBAL_OFFSET_TABLE_ only if bed->want_got_sym.

22 years ago* readelf.c (display_debug_info): Add to abbrev_offset the addend
aoliva [Wed, 8 Aug 2001 11:17:46 +0000 (11:17 +0000)]
* readelf.c (display_debug_info): Add to abbrev_offset the addend
of any RELA relocation for the abbrev_offset memory location that
refers to the .debug_abbrev section symbol.

22 years ago* dwarf2.c (struct dwarf2_debug): Add sec, sec_info_ptr and syms.
aoliva [Wed, 8 Aug 2001 11:17:34 +0000 (11:17 +0000)]
* dwarf2.c (struct dwarf2_debug): Add sec, sec_info_ptr and syms.
(find_rela_addend): New function.
(parse_comp_unit): Call it to find the abbrev offset addend.
(_bfd_dwarf2_find_nearest_line): Initialize and maintain the new
members of dwarf2_debug as debugging information is read.

22 years ago * security.cc (alloc_sd): Revert to setting inheritance attribute for
corinna [Wed, 8 Aug 2001 10:00:35 +0000 (10:00 +0000)]
    * security.cc (alloc_sd): Revert to setting inheritance attribute for
        permissions given to directories. Never set inheritance on NULL ACE.

22 years ago * output-file.c (output_file_create): Don't try to open using
amodra [Wed, 8 Aug 2001 01:10:17 +0000 (01:10 +0000)]
* output-file.c (output_file_create): Don't try to open using
FOPEN_W as it's unnecessary and VMS doesn't define FOPEN_W.

22 years ago2001-08-07 Ben Elliston <bje@redhat.com>
bje [Wed, 8 Aug 2001 00:16:09 +0000 (00:16 +0000)]
2001-08-07  Ben Elliston  <bje@redhat.com>

* configrun-sid.in (%options): New hash containing options/help.
(@options): Set to keys (%options).
(usage): Use the new structure of %options.

22 years ago*** empty log message ***
gdbadmin [Wed, 8 Aug 2001 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago2001-08-07 H.J. Lu <hjl@gnu.org>
hjl [Tue, 7 Aug 2001 20:15:00 +0000 (20:15 +0000)]
2001-08-07  H.J. Lu  <hjl@gnu.org>

* readelf.c (process_file): Return 0 if OK, otherwise return 1.
(main): Return process_file ().

22 years agoSupport relocs for sh-coff targets as well as sh-pe.
nickc [Tue, 7 Aug 2001 18:32:07 +0000 (18:32 +0000)]
Support relocs for sh-coff targets as well as sh-pe.

22 years ago * security.cc (alloc_sd): Don't set FILE_DELETE_CHILD for group
corinna [Tue, 7 Aug 2001 16:14:58 +0000 (16:14 +0000)]
    * security.cc (alloc_sd): Don't set FILE_DELETE_CHILD for group
        if S_ISVTX attribute is given.
        * dir.cc (mkdir): Allow immediate setting of S_ISUID, S_ISGID and
        S_ISVTX attribute.
        * syscalls.cc (_open): Ditto.

22 years ago * dir.cc (mkdir): Set security attributes correctly for
corinna [Tue, 7 Aug 2001 15:09:54 +0000 (15:09 +0000)]
    * dir.cc (mkdir): Set security attributes correctly for
        CreateDirectoryA () call if ntsec is on. Don't call
        set_file_attributes () then.
        * fhandler.cc (fhandler_base::open): Ditto for CreateFileA () call.
        * path.cc (symlink): Ditto.
        * security.cc (set_security_attribute): New function.
        * security.h: Add declaration for `allow_ntea' and
        `set_security_attribute'.

22 years agoReplace a bunch of magic constants in tc-mips.c with their proper
ths [Tue, 7 Aug 2001 13:22:46 +0000 (13:22 +0000)]
Replace a bunch of magic constants in tc-mips.c with their proper
defines from mips.h.

22 years agoSome formatting fixes and assorted cleanup in tc-mips.c.
ths [Tue, 7 Aug 2001 13:15:24 +0000 (13:15 +0000)]
Some formatting fixes and assorted cleanup in tc-mips.c.

22 years ago * config/tc-mips.c (md_begin): Take -mcpu value into account even when
ths [Tue, 7 Aug 2001 12:46:21 +0000 (12:46 +0000)]
* config/tc-mips.c (md_begin): Take -mcpu value into account even when
-mipsX is specified. Make both -mcpu/-march and -mcpu/-mtune pairs
mutually exclusive (if they are different).
(md_parse_option): Warn if an -march/-mtune/-mcpu/-m<cpu> option is
set more than once.

22 years ago * mips-dis.c (print_insn_arg): Don't use software integer registers
ths [Tue, 7 Aug 2001 12:36:12 +0000 (12:36 +0000)]
* mips-dis.c (print_insn_arg): Don't use software integer registers
for coprocessor registers.
(_print_insn_mips): Get distinction between old ABI and new ABI right.

22 years ago * grp.cc (class grp_check): New class. Make `group_state'
corinna [Tue, 7 Aug 2001 08:56:22 +0000 (08:56 +0000)]
    * grp.cc (class grp_check): New class. Make `group_state'
        a member of class grp_check.
        (read_etc_group): Free former allocated memory on reread.
        * passwd.cc (class pwd_check): New class Make `passwd_state'
        a member of class pwd_check.
        (read_etc_passwd): Free former allocated memory on reread.

22 years ago* fhandler_console.cc (get_tty_stuff): Don't initialize shared memory console
cgf [Tue, 7 Aug 2001 05:15:58 +0000 (05:15 +0000)]
* fhandler_console.cc (get_tty_stuff): Don't initialize shared memory console
area if it is already initialized.
* fhandler_termios.cc (fhandler_termios::tcsetpgrp): Augment debugging info.

22 years ago2001-08-06 Frank Ch. Eigler <fche@redhat.com>
fche [Tue, 7 Aug 2001 01:56:58 +0000 (01:56 +0000)]
2001-08-06  Frank Ch. Eigler  <fche@redhat.com>

* (*.conf): Regenerated without dud loader in gdb configurations.

22 years ago2001-08-06 Frank Ch. Eigler <fche@redhat.com>
fche [Tue, 7 Aug 2001 01:45:34 +0000 (01:45 +0000)]
2001-08-06  Frank Ch. Eigler  <fche@redhat.com>

        * configrun-sid.in (opt_load): Don't load if empty $exec.
        Always create mappers, separately from opt_load logic.

22 years ago2001-08-06 Ben Elliston <bje@redhat.com>
bje [Tue, 7 Aug 2001 00:33:08 +0000 (00:33 +0000)]
2001-08-06  Ben Elliston  <bje@redhat.com>

* configrun-sid.in (%component_libs): Add "cache" key/value.

22 years ago2001-08-06 Ben Elliston <bje@redhat.com>
bje [Tue, 7 Aug 2001 00:32:12 +0000 (00:32 +0000)]
2001-08-06  Ben Elliston  <bje@redhat.com>

* (*.conf): Regenerate with cache component included.

22 years ago* cygheap.cc (cygheap_root::set): Avoid treating '/' specially.
cgf [Tue, 7 Aug 2001 00:01:41 +0000 (00:01 +0000)]
* cygheap.cc (cygheap_root::set): Avoid treating '/' specially.
* fhandler.cc (fhandler_base::fcntl): Only set specific O_NDELAY style flag
passed in from application.
* fhandler_socket.cc (fhandler_socket::fcntl): Ditto.
* fhandler.h: Set constant for future use.
* winsup.h: Define OLD_O_NDELAY only for old programs.
* include/cygwin/version.h: Define CYGWIN_VERSION_CHECK_FOR_OLD_O_NONBLOCK.

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

22 years ago * Makefile.in: Regen.
mdejong [Mon, 6 Aug 2001 22:20:17 +0000 (22:20 +0000)]
* Makefile.in: Regen.
* configure: Regen.
* configure.in: Remove unused ITCL_DIR variable.
* library/Makefile.in: Regen.
* src/Makefile.in: Regen.

22 years ago * Makefile.in:
mdejong [Mon, 6 Aug 2001 22:12:26 +0000 (22:12 +0000)]
* Makefile.in:
* library/Makefile.in:
* src/Makefile.in:
Regenerate Makefiles to account for AR fix
on 2001-08-03.

22 years ago2001-08-02 Michael Snyder <msnyder@redhat.com>
msnyder [Mon, 6 Aug 2001 22:08:12 +0000 (22:08 +0000)]
2001-08-02  Michael Snyder  <msnyder@redhat.com>

* gdb.base/completion.exp: Remove the symbol "a64l" from
the expect string; this is target-specific, and not related
to what is being tested.

23 years ago*** empty log message ***
gdbadmin [Mon, 6 Aug 2001 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

23 years ago2001-08-05 Philip Blundell <philb@gnu.org>
pb [Sun, 5 Aug 2001 21:01:26 +0000 (21:01 +0000)]
2001-08-05  Philip Blundell  <philb@gnu.org>

* doc/binutils.texi: Use "Thumb" not "THUMB".

23 years ago * include/stdlib.h (_wpgmptr): Don't declare ifndef __MSVCRT__.
earnie [Sun, 5 Aug 2001 12:52:42 +0000 (12:52 +0000)]
* include/stdlib.h (_wpgmptr): Don't declare ifndef __MSVCRT__.
* include/stdio.h (_IORW): Change constant to 0x0080.
(TMP_MAX): Add new define.
(_P_tmpdir): Ditto.
(_wP_tmpdir): Ditto.
(L_tmpnam): Change constant to 16.
* include/malloc.h: Fix non-ANSI comment after #endif.
* profile/Makefile.in (mkinstalldirs): Correct relative path.

23 years ago * include/wtypes.h: (DECIMAL_SETZERO): Correct typo.
earnie [Sun, 5 Aug 2001 12:47:53 +0000 (12:47 +0000)]
* include/wtypes.h: (DECIMAL_SETZERO): Correct typo.
  * include/oleidl.h (ISupportErrorInfo, ICreateInfo): Move from here
* include/oaidl.h: ... to here.
* include/oaidl.h ICreateErrorInfo): Add interface definition.
(IErrorInfo::GetGUID): Change arg to GUID.
(LPSUPPORTERRORINFO): Add typedef.
(IID_ISupportErrorInfo): Change forward decl. of type to IID.
* include/winsock2.h (WSAGET* and WSAMAKE*): Remove duplicate
defines.
* include/commctrl.h (TreeView_SetIndent): Correct typo.
* include/commctrl.h (TBSTYPE_FLAT): Remove define.
* include/commctrl.h (TBBUTTONINFO[AW]): Add struct definitions,
and UNICODE mappings, if _WIN32_IE >= 0x400.
(TBIF_* and TB_SETBUTTONINFO): Add defines, if _WIN32_IE >= 0x400.
(CDIS_*,CDDS_*,CDRF_*) : Add defines.
(tagNMCUSTOMDRAWINFO): Add struct definition and typedefs.
(tagNMLVCUSTOMDRAW): Likewise.
(tagNMTVCUSTOMDRAW): Likewise.
(tagNMLVCACHEHINT): Likewise.
* include/basetsd.h (#include <_mingw.h>): Remove.
(__int64): Define.
* include/wingdi.h (AC_SRC_OVER): Add define.
(struct _BLENDFUNCTION): Add.
* include/shlobj.h:  Add BIF_* defines.
* include/winerror.h (E_PENDING): Add error code define.
* include/basetsd.h (#include <_mingw.h>): Add directive.
* include/winbase.h(InterlockedCompareExchange): Change args
and return value from PVOID to LONG.
(InterlockedExchange): Change first arg to LPLONG.
(InterlockedCompareExchangePointer): New macro.
(InterlockedExchangePointer): New macro.

23 years ago2001-08-04 H.J. Lu <hjl@gnu.org>
hjl [Sun, 5 Aug 2001 02:22:09 +0000 (02:22 +0000)]
2001-08-04  H.J. Lu  <hjl@gnu.org>

* gas/cris/operand-err-1.s: Updated.

23 years ago2001-08-04 H.J. Lu <hjl@gnu.org>
hjl [Sun, 5 Aug 2001 00:53:27 +0000 (00:53 +0000)]
2001-08-04  H.J. Lu  <hjl@gnu.org>
    Chris G. Demetriou <cgd@broadcom.com>

* gas/mips/e32-rel4.s: Removed.

* gas/mips/e32-rel4.d: Use elf-rel4.s.

* gas/mips/mips.exp: Use the same rel4 test for litte endian.

* gas/mips/mips-abi32-pic.d: Add lines for objdump.
* gas/mips/mips-abi32.d: Likewise.
* gas/mips/mips-gp32-fp32-pic.d: Likewise.
* gas/mips/mips-gp32-fp32.d: Likewise.
* gas/mips/mips-gp32-fp64-pic.d: Likewise.
* gas/mips/mips-gp32-fp64.d: Likewise.
* gas/mips/mips-gp64-fp32-pic.d: Likewise.
* gas/mips/mips-gp64-fp32.d: Likewise.
* gas/mips/mips-gp64-fp64-pic.d: Likewise.
* gas/mips/mips-gp64-fp64.d: Likewise.

* gas/mips/mips-abi32-pic.s: Add space for objdump.
* gas/mips/mips-abi32.s: Likewise.
* gas/mips/mips-gp32-fp32-pic.s: Likewise.
* gas/mips/mips-gp32-fp32.s: Likewise.
* gas/mips/mips-gp32-fp64-pic.s: Likewise.
* gas/mips/mips-gp32-fp64.s: Likewise.
* gas/mips/mips-gp64-fp32-pic.s: Likewise.
* gas/mips/mips-gp64-fp32.s: Likewise.
* gas/mips/mips-gp64-fp64-pic.s: Likewise.
* gas/mips/mips-gp64-fp64.s: Likewise.

* gas/mips/mips-abi32-pic.s: Add the missing .end.
* gas/mips/mips-gp32-fp32-pic.s: Likewise.
* gas/mips/mips-gp32-fp64-pic.s: Likewise.
* gas/mips/mips-gp64-fp32-pic.s: Likewise.
* gas/mips/mips-gp64-fp64-pic.s: Likewise.

23 years ago*** empty log message ***
gdbadmin [Sun, 5 Aug 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

23 years agoThroughout, change check for running under Windows NT to 'iswinnt'.
cgf [Sat, 4 Aug 2001 21:10:51 +0000 (21:10 +0000)]
Throughout, change check for running under Windows NT to 'iswinnt'.
* dcrt0.cc (set_os_type): Set 'iswinnt' appropriately.
* cygheap.cc (init_cheap): Revert to using VirtualAlloc for allocating cygheap.
(cygheap_setup_for_child_cleanup): New function.  Standard function to call
after calling CreateProcess to cleanup cygheap info passed to child.
(cygheap_fixup_in_child): Copy cygheap from shared memory into allocated space
under Windows 9x or if can't relocate shared space under NT.
* cygheap.h: Declare new function.
* spawn.cc (spawn_guts): Use cygheap_fixup_in_child.
* fork.cc (fork_parent): Ditto.
* winsup.h: Declare iswinnt.

23 years ago* dtable.cc (dtable::release): Avoid messing with console when
duda [Sat, 4 Aug 2001 18:53:53 +0000 (18:53 +0000)]
* dtable.cc (dtable::release): Avoid messing with console when
closing socket.

23 years ago2001-08-02 Dave Brolley <brolley@redhat.com>
brolley [Sat, 4 Aug 2001 15:56:41 +0000 (15:56 +0000)]
2001-08-02  Dave Brolley  <brolley@redhat.com>

* config/sid.exp: Rename gdb-socket to cpu-gdb-socket.

23 years ago2001-08-02 Dave Brolley <brolley@redhat.com>
brolley [Sat, 4 Aug 2001 15:55:44 +0000 (15:55 +0000)]
2001-08-02  Dave Brolley  <brolley@redhat.com>

* config/sid.exp: Rename gdb-socket to cpu-gdb-socket.

23 years ago* build fix
fche [Sat, 4 Aug 2001 12:28:01 +0000 (12:28 +0000)]
* build fix

[e.g., cache/ChangeLog]
2001-08-04  Frank Ch. Eigler  <fche@redhat.com>

* cache.cxx (~cache_component): Define.