OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
22 years agoAdd TYPE_FLOATFORMAT().
cagney [Thu, 23 Aug 2001 01:09:38 +0000 (01:09 +0000)]
Add TYPE_FLOATFORMAT().

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

22 years agomerge from gcc
dj [Wed, 22 Aug 2001 22:55:38 +0000 (22:55 +0000)]
merge from gcc

22 years ago * net.cc (cygwin_inet_ntoa): Rearrange previous patch to use
corinna [Wed, 22 Aug 2001 21:51:48 +0000 (21:51 +0000)]
    * net.cc (cygwin_inet_ntoa): Rearrange previous patch to use
        thread local buffer space when compiled thread safe.
        (cygwin_getprotobyname): Ditto.
        (cygwin_getprotobynumber): Ditto.
        (cygwin_getservbyname): Ditto.
        (cygwin_getservbyport): Ditto.
        (cygwin_gethostbyname): Ditto.
        (cygwin_gethostbyaddr): Ditto. Move near to cygwin_gethostbyname.
        * thread.h (struct _winsup_t): Add pointers for above used buffer space.
        * passwd.cc (getpwduid): Remove initializing passwd.
        (setpwent): Ditto.
        (endpwent): Ditto.
        (setpassent): Ditto.

22 years ago * library/prefs.tcl (pref_read): Version number appears in
tromey [Wed, 22 Aug 2001 21:11:16 +0000 (21:11 +0000)]
* library/prefs.tcl (pref_read): Version number appears in
comment.

22 years ago * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
ths [Wed, 22 Aug 2001 18:42:07 +0000 (18:42 +0000)]
* readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.

22 years ago* smallprint.c (console_printf): New function.
cgf [Wed, 22 Aug 2001 17:50:22 +0000 (17:50 +0000)]
* smallprint.c (console_printf): New function.
* dcrt0.cc (dll_crt0_1): Use console_printf for debugging output.
* debug.cc (debug_mark_closed): New function.
(close_handle): Use debug_mark_closed.
* debug.h: Declare new functions.
* dtable.cc (dtable::build_fhandler): Remove unneeded extern.
* spawn.cc: Cosmetic changes.
* winsup.h: Define NO_COPY for C files, too.  Declare a global.

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

* emulparams/elf32fr30.sh: Add a newline.

22 years ago * net.cc (free_char_list): New static function.
corinna [Wed, 22 Aug 2001 15:31:59 +0000 (15:31 +0000)]
    * net.cc (free_char_list): New static function.
        (dup_char_list): Ditto.
        (free_protoent_ptr): Ditto.
        (dup_protoent_ptr): Ditto.
        (free_servent_ptr): Ditto.
        (dup_servent_ptr): Ditto.
        (free_hostent_ptr): Ditto.
        (dup_hostent_ptr): Ditto.
        (cygwin_inet_ntoa): Use local static buffer to allow propagating of
        the result to child processes.
        (cygwin_getprotobyname): Ditto.
        (cygwin_getprotobynumber): Ditto.
        (cygwin_getservbyname): Ditto.
        (cygwin_getservbyport): Ditto.
        (cygwin_gethostbyname): Ditto.
        (cygwin_gethostbyaddr): Ditto.

22 years agoAdd missing comma
nickc [Wed, 22 Aug 2001 08:43:00 +0000 (08:43 +0000)]
Add missing comma

22 years ago2001-08-22 Ben Elliston <bje@redhat.com>
bje [Wed, 22 Aug 2001 05:32:17 +0000 (05:32 +0000)]
2001-08-22  Ben Elliston  <bje@redhat.com>

* config/default.exp (sid_assert): New proc.

22 years agofix typo.
cgf [Wed, 22 Aug 2001 02:40:22 +0000 (02:40 +0000)]
fix typo.

22 years agomerge from gcc
dj [Wed, 22 Aug 2001 02:12:15 +0000 (02:12 +0000)]
merge from gcc

22 years agomerge from gcc
dj [Wed, 22 Aug 2001 02:11:38 +0000 (02:11 +0000)]
merge from gcc

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

* sidbusutil.h (class fixed_control_register): Add a new
convenience constructor which creates a register which is
readable, writable and initialised to 0.

22 years ago * mips/Makefile.in (jmr3904-io.o): Remove bogus use of `-mips3.'
jlarmour [Wed, 22 Aug 2001 00:22:58 +0000 (00:22 +0000)]
* mips/Makefile.in (jmr3904-io.o): Remove bogus use of `-mips3.'

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

22 years ago* coff-go32.c: Set the alignment of dwarf2 linkonce sections to 0.
dj [Tue, 21 Aug 2001 22:39:47 +0000 (22:39 +0000)]
* coff-go32.c: Set the alignment of dwarf2 linkonce sections to 0.
* coff-stgo32.c: Likewise.

22 years ago* coff-go32.c: Make DWARF2 sections use an alignment of 0.
dj [Tue, 21 Aug 2001 20:23:37 +0000 (20:23 +0000)]
* coff-go32.c: Make DWARF2 sections use an alignment of 0.
* coff-sto32.c: Likewise.

22 years ago2001-08-21 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Tue, 21 Aug 2001 20:23:15 +0000 (20:23 +0000)]
2001-08-21  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/stdlib/mallocr.c [!defined(MALLOC_ALIGNMENT)]: Add conditional
        for SIZE_SZ so that alignment ends up a minimum of 8.

22 years ago * generic/gdbtk.c (gdbtk_init): Reinitialize disassemle info's
kseitz [Tue, 21 Aug 2001 19:29:00 +0000 (19:29 +0000)]
* generic/gdbtk.c (gdbtk_init): Reinitialize disassemle info's
stream parameter: we just deleted the one it saved when we

22 years ago * printcmd.c (print_insn): Use the given stream for
kseitz [Tue, 21 Aug 2001 19:25:39 +0000 (19:25 +0000)]
* printcmd.c (print_insn): Use the given stream for
output.

22 years ago * generic/gdbtk.c (gdbtk_init): Reinitialize disassemle info's
kseitz [Tue, 21 Aug 2001 16:55:21 +0000 (16:55 +0000)]
* generic/gdbtk.c (gdbtk_init): Reinitialize disassemle info's
stream parameter: we just deleted the one it saved when we
re-routed gdb_stdout to our own gdb_stdout.

22 years agoReturn if target is `vax-*-ultrix*'.
nickc [Tue, 21 Aug 2001 16:04:36 +0000 (16:04 +0000)]
Return if target is `vax-*-ultrix*'.
Continue with other tests when there is a compilation error.

22 years ago2001-08-21 H.J. Lu <hjl@gnu.org>
hjl [Tue, 21 Aug 2001 15:54:16 +0000 (15:54 +0000)]
2001-08-21  H.J. Lu  <hjl@gnu.org>

* binutils-all/readelf.r: Updated for the readelf change.

* binutils-all/readelf.r-64: New for the readelf change.

22 years agomerge from gcc
dj [Tue, 21 Aug 2001 15:19:19 +0000 (15:19 +0000)]
merge from gcc

22 years agomerge from gcc
dj [Tue, 21 Aug 2001 15:18:37 +0000 (15:18 +0000)]
merge from gcc

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

* readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
(display_debug_info): Cast for 64bit hosts.
(display_debug_frames): Likewise.
(process_mips_specific): Likewise.

22 years ago * include/setupapi.h : New file.
earnie [Tue, 21 Aug 2001 13:58:51 +0000 (13:58 +0000)]
* include/setupapi.h : New file.
* lib/setupapi.def:New file.
* lib/test.c: Include setupapi.h.
* include/winioctl.h (_DISK_PERFORMANCE): Correct typo.
* include/richedit.h (ENLINK): Add structure definition.
(EM_AUTOURLDETECT, EN_LINK, ENM_LINK): Add defines.
* include/shlobj.h (CMIC_*): Remove duplicate defines.
(CMDSTR_*): Remove duplicates; UNICODE string constants.
(GCS_*): Make UNICODE.
(CSIDL_*): Add more defines.
* include/winioctl.h (_MEDIA_TYPE): Add pointer typedef.
(_DISK_GEOMETRY): Ditto.
(_DISK_PERFORMANCE): Ditto.
* include/winbase.h (HasOverlappedIoCompleted): Add macro.
* include/winnt.h: Move CHAR, SHORT and LONG typedefs outside
of block protected by #ifndef VOID.
(This reverts 1998-12-01 Anders Norlander change.)
* include/odbcinst.h: End file with newline.
* include/raserror.h: Ditto.
* include/winsock2.h (#include <wtypes.h): Don't.
(_BLOB): Define instead, if not already done.
(__BLOB_T_DEFINED: New define for guarding _BLOB.
* include/wtypes.h (_BLOB): Guard against prior definition.
* include/oaidl.h (tagVARIANT): Mark anonymous structs and unions
 as  __extension__.
(tagTYPEDESC): Ditto.
(_wireBRECORD): Add structure definition.
(_wireSAFEARR_BRECORD): Ditto.
(_wireSAFEARR_HAVEIID): Ditto.
(_wireSAFEARRAY_UNION.u): Add fields SAFEARR_BRECORD RecordStr,
SAFEARR_HAVEIID HaveIidStr.
(tagVariant): Add fields _VARIANT_BOOL bool,*pbool.
(_wireVARIANT): Change field parray to type wirePSAFEARRAY,
pparray to wirePSAFEARRAY*.
(_wireVARIANT): Add field wireBRECORD brecVal.
(wireVARIANT): Change typedef to struct _wireVariant*.
(IRecordInfo): Add interface definition.
(LPRECORDINFO): Add typedef for IRecordInfo*.
(IID_IRecordInfo): Add forward decalaration.
* include/lmcons.h: Guard CNLEN and UNCLEN against prior definition.
* include/nddeapi.h: Likewise.
* ChangeLog: Formatting and typo fixes.

22 years ago * deffilep.y: Add missing prototypes.
aj [Tue, 21 Aug 2001 11:42:57 +0000 (11:42 +0000)]
* deffilep.y: Add missing prototypes.
* pe-dll.c: Likewise.

22 years ago * coffgrok.h: Add missing parameter for prototype of coff_grok.
aj [Tue, 21 Aug 2001 10:02:26 +0000 (10:02 +0000)]
* coffgrok.h: Add missing parameter for prototype of coff_grok.

* sysdump.c: Add missing prototypes.
* srconv.c: Likewise.
* unwind-ia64.c: Likewise.
* coffdump.c: Likewise.

* sysinfo.y: Print prototypes, include <ansidecl.h>.

* coffgrok.c: Add missing prototypes, include libiberty.h instead
of declaring xcalloc.

22 years ago * mips-dis.c: Add missing prototypes.
aj [Tue, 21 Aug 2001 08:51:12 +0000 (08:51 +0000)]
* mips-dis.c: Add missing prototypes.
* a29k-dis.c: Likewise.
* arc-dis.c: Likewise.
* ia64-opc.c: Likewise.

22 years ago * i960-dis.c: Add parameters for prototypes
aj [Tue, 21 Aug 2001 08:42:28 +0000 (08:42 +0000)]
* i960-dis.c: Add parameters for prototypes
(ctrl): Add unused attributes.
(cobr): Likewise.
(put_abs): Likewise.

* mips-dis.c: Add missing prototypes.
* a29k-dis.c: Likewise.
* arc-dis.c: Likewise.
* ia64-opc.c: Likewise.

* s390-dis.c: Add missing prototypes.
(init_disasm): Remove unused attribute since the parameter is
used.

22 years ago * coff-sparc.c: Add missing prototypes.
aj [Tue, 21 Aug 2001 08:40:22 +0000 (08:40 +0000)]
* coff-sparc.c: Add missing prototypes.
* elf32-s390.c: Likewise.
* elf32-i960.c: Likewise.
* aout-target.h: Likewise.

22 years ago* arm-tdep.c (convert_from_extended, convert_to_extended): Delete
cagney [Tue, 21 Aug 2001 04:31:30 +0000 (04:31 +0000)]
* arm-tdep.c (convert_from_extended, convert_to_extended): Delete
assembler version of function.
(convert_from_extended, convert_to_extended): Rewrite. Use
floatformat_to_doublest, floatformat_from_doublest,
floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword.
(arm_push_arguments): Use extract_floating and store_floating to
perform floating point conversions.
(SWAP_TARGET_AND_HOST): Delete macro.
* arm-linux-tdep.c (arm_linux_push_arguments): Use
extract_floating and store_floating to perform floating point
conversions.

22 years ago * tc_mips.c (md_begin): Warn about incompatibility between -march=FOO
ths [Tue, 21 Aug 2001 01:13:05 +0000 (01:13 +0000)]
* tc_mips.c (md_begin): Warn about incompatibility between -march=FOO
and -mipsN option, continue with default ISA.

22 years ago2001-08-20 H.J. Lu <hjl@gnu.org>
hjl [Tue, 21 Aug 2001 01:02:41 +0000 (01:02 +0000)]
2001-08-20  H.J. Lu  <hjl@gnu.org>

* elf-bfd.h (elf_obj_tdata): Add num_section_syms.
(elf_num_section_syms): New for num_section_syms.

* elf.c (elf_map_symbols): Set num_section_syms.
(_bfd_elf_symbol_from_bfd_symbol): Check num_section_syms for
the section symbol index.

22 years ago * config/tc-mips.c (md_parse_option): #ifdef the
ths [Tue, 21 Aug 2001 00:59:48 +0000 (00:59 +0000)]
* config/tc-mips.c (md_parse_option): #ifdef the
traditional/non-traditional names as it is done in mips_target_format.

22 years ago* gdbtypes.h (struct type): Clarify meaning of field ``length''.
cagney [Tue, 21 Aug 2001 00:24:57 +0000 (00:24 +0000)]
* gdbtypes.h (struct type): Clarify meaning of field ``length''.

22 years ago * config/tc-alpha.h (MD_APPLY_FIX3): Define.
rth [Tue, 21 Aug 2001 00:22:22 +0000 (00:22 +0000)]
    * config/tc-alpha.h (MD_APPLY_FIX3): Define.
        * config/tc-alpha.c (md_apply_fix3): Rename from md_apply_fix;
        use seg parameter instead of now_seg.

22 years ago* floatformat.h (floatformat_arm_ext): Document as deprecated.
cagney [Tue, 21 Aug 2001 00:20:04 +0000 (00:20 +0000)]
* floatformat.h (floatformat_arm_ext): Document as deprecated.
(floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword)
(floatformat_ia64_spill_little, floatformat_ia64_quad_little)
(floatformat_ia64_spill_big, floatformat_ia64_quad_big)
(floatformat_m88110_harris_ext): Declare.

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

22 years ago * library/stackwin.itb (build_win): Use iwidget's scrolled listbox
kseitz [Mon, 20 Aug 2001 19:14:09 +0000 (19:14 +0000)]
* library/stackwin.itb (build_win): Use iwidget's scrolled listbox
instead of tix scrolled list box.
(update): Update to use iwidget's scrolled list box.
(change_frame): Ditto.
Remove parameters.
* library/stackwin.ith (change_frame): Remove all parameters.

22 years ago * generic/gdbtk-cmds.c (gdb_load_disassembly): Save the original
kseitz [Mon, 20 Aug 2001 17:55:31 +0000 (17:55 +0000)]
* generic/gdbtk-cmds.c (gdb_load_disassembly): Save the original
address from parse_and_eval_address: if find_pc_partial_function
errors, we will lose our original address.
If find_pc_partial_function does error, print out both
the address we thought we were disassembling at AND the address
we actually did disassemble at. This should help elide address-
to-pointer and pointer-to-address problems in the tdep files.
* library/srctextwin.itb (FillAssembly): When gdb_load_disassembly
fails, use its error message instead of the cooked "Unable to
Read insturctions..." message.
(UnLoadFromCache): If oldpane is empty, don't try show it,
don't try to set our view to it, don't do anything but
erase the given pane.

22 years agodebug
cgf [Mon, 20 Aug 2001 16:03:54 +0000 (16:03 +0000)]
debug

22 years ago* cygheap.cc (init_cheap): Allocate cygheap in shared memory for Windows NT.
cgf [Mon, 20 Aug 2001 15:58:16 +0000 (15:58 +0000)]
* cygheap.cc (init_cheap): Allocate cygheap in shared memory for Windows NT.

22 years agoNever select the generic has table creator. All elf backends need elf specific
nickc [Mon, 20 Aug 2001 14:28:46 +0000 (14:28 +0000)]
Never select the generic has table creator.  All elf backends need elf specific
fields in the hash table.

22 years ago * config.sub, config.guess: Import latest from subversions.
amodra [Mon, 20 Aug 2001 03:29:20 +0000 (03:29 +0000)]
* config.sub, config.guess: Import latest from subversions.

22 years ago * ldlang.c (insert_pad): Fix typos in last patch.
amodra [Mon, 20 Aug 2001 03:09:07 +0000 (03:09 +0000)]
* ldlang.c (insert_pad): Fix typos in last patch.

22 years ago * ldlang.c: When traversing lang_statement_union_type lists,
amodra [Mon, 20 Aug 2001 02:14:49 +0000 (02:14 +0000)]
* ldlang.c: When traversing lang_statement_union_type lists,
consistently use "header.next" rather than "next".
* mpw-eppcmac.c: Likewise.
* emultempl/beos.em: Likewise.
* emultempl/hppaelf.em: Likewise.
* emultempl/pe.em: Likewise.
* ldlang.h (union lang_statement_union): Remove "next" field.

22 years ago * ldlang.c (insert_pad): Use offsetof macro.
amodra [Mon, 20 Aug 2001 01:21:06 +0000 (01:21 +0000)]
* ldlang.c (insert_pad): Use offsetof macro.
(lang_size_sections): Always neuter padding statements.
* emultempl/hppaelf.em (hppaelf_delete_padding_statements): Delete.

22 years ago * pe-dll.c (pe_dll_fill_sections): Correct type of "relax" param
amodra [Mon, 20 Aug 2001 00:22:40 +0000 (00:22 +0000)]
* pe-dll.c (pe_dll_fill_sections): Correct type of "relax" param
passed to lang_size_sections.
(pe_exe_fill_sections): Likewise.
* emultempl/pe.em (output_prev_sec_find): Copied from elf32.em.
(gld_${EMULATION_NAME}_place_orphan): Merge from elf32.em.

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

22 years ago * archive.c (offsetof): Remove define.
amodra [Sun, 19 Aug 2001 23:42:47 +0000 (23:42 +0000)]
* archive.c (offsetof): Remove define.
* elf.c: Likewise.
* oasys.c: Likewise
* sysdep.h (offsetof): Define.

22 years ago* mi0-var-block.exp, mi0-stack.exp, mi0-simplerun.exp,
cagney [Sun, 19 Aug 2001 01:23:43 +0000 (01:23 +0000)]
* mi0-var-block.exp, mi0-stack.exp, mi0-simplerun.exp,
mi0-regs.exp, mi0-watch.exp, mi0-stepi.exp, mi0-until.exp,
mi0-return.exp, mi0-read-memory.exp, mi0-eval.exp,
mi0-disassemble.exp, mi0-console.exp, mi-watch.exp,
mi-var-display.exp, mi-var-cmd.exp, mi-var-child.exp,
mi-until.exp, mi-var-block.exp, mi-stepi.exp, mi-stack.exp,
mi-simplerun.exp, mi-return.exp, mi-regs.exp, mi-read-memory.exp,
mi-disassemble.exp, mi-eval.exp, mi-console.exp: Replace pattern
matching thread=0 with one to also match thread=1.
Fix PR gdb/190.

22 years ago* lib/mi-support.exp (mi_gdb_start): If a remote target, use the
cagney [Sun, 19 Aug 2001 01:02:57 +0000 (01:02 +0000)]
* lib/mi-support.exp (mi_gdb_start): If a remote target, use the
CLI jump command to start it.
(mi_run_to_main): Fail immediatly when unexpected output.

22 years ago* mi0-until.exp, mi-until.exp, mi0-stepi.exp, mi-stepi.exp,
cagney [Sun, 19 Aug 2001 00:37:28 +0000 (00:37 +0000)]
* mi0-until.exp, mi-until.exp, mi0-stepi.exp, mi-stepi.exp,
mi-simplerun.exp, mi0-simplerun.exp, mi0-return.exp,
mi-return.exp, mi0-console.exp, mi-console.exp: Recognize an
unexpected run-to-main response. Report as a fail.

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

22 years agomerge from gcc
dj [Sat, 18 Aug 2001 23:47:14 +0000 (23:47 +0000)]
merge from gcc

22 years ago* lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
cagney [Sat, 18 Aug 2001 21:34:28 +0000 (21:34 +0000)]
* lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
beginning of function.  Fix PR gdb/191.

22 years ago2001-08-18 H.J. Lu <hjl@gnu.org>
hjl [Sat, 18 Aug 2001 18:03:24 +0000 (18:03 +0000)]
2001-08-18  H.J. Lu  <hjl@gnu.org>

* config/tc-mips.c (show): Add the missing prototype.

22 years ago * config/tc-mips.c (S_EX_*): New enum for my_getSmallExpression()
ths [Sat, 18 Aug 2001 17:24:52 +0000 (17:24 +0000)]
* config/tc-mips.c (S_EX_*): New enum for my_getSmallExpression()
return values.
(mips_ip): Use the new return values instead of characters. Add
support for %higher and %highest.
(LP): Remove.
(RP): Remove.
(my_getSmallExpression): Make parsing case insensitive and more
reliable. Add support for %higher and %highest. Further support to
parse %gprel and %neg is implemented but currently deactivated.

22 years ago * emultempl/aix.em: Formatting fixes.
amodra [Sat, 18 Aug 2001 15:42:26 +0000 (15:42 +0000)]
* emultempl/aix.em: Formatting fixes.

22 years ago * ldlang.c (insert_pad): Make use of an existing pad statement if
amodra [Sat, 18 Aug 2001 14:54:26 +0000 (14:54 +0000)]
* ldlang.c (insert_pad): Make use of an existing pad statement if
available.  Move code calculating alignment, adjusting section
alignment power, and adjusting dot to ..
(size_input_section): .. here.  Remove unused relax param.
(lang_size_sections): Change boolean `relax' param to boolean *.
Adjust call to size_input_section.  Make use of insert_pad to
place pad after the assignment statement.  If relaxing, zap
padding statements.
(reset_memory_regions): Reset output_bfd section sizes too.
(relax_again): Move to..
(lang_process): ..here.  Adjust call to lang_size_sections, and
remove duplicated code.
* ldlang.h (lang_size_sections): Change `relax' param to boolean *.

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

22 years agomerge from gcc
dj [Fri, 17 Aug 2001 21:14:20 +0000 (21:14 +0000)]
merge from gcc

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

* gas/sparc/unalign.d: Support Sparc V9.

22 years ago * generic/gdbtk-varobj.c (variable_obj_command): Pass pointer
kseitz [Fri, 17 Aug 2001 19:10:33 +0000 (19:10 +0000)]
* generic/gdbtk-varobj.c (variable_obj_command): Pass pointer
to varobj* when calling variable_update (API changed).
(variable_create): Don't pass varobj* to install_variable. It's
not used.
(variable_children): Likewise.
(variable_update): Change parameters to accept pointer to
varobj*. Matches API change in varobj_update.
(install_variable): Remove unused "var" parameter.

22 years ago * mi-cmd-var.c (varobj_update_one): Update call to
kseitz [Fri, 17 Aug 2001 19:01:22 +0000 (19:01 +0000)]
* mi-cmd-var.c (varobj_update_one): Update call to
varobj_update to reflect recent api change.

22 years ago * varobj.c (varobj_update): Change first parameter to
kseitz [Fri, 17 Aug 2001 18:56:49 +0000 (18:56 +0000)]
* varobj.c (varobj_update): Change first parameter to
pointer to struct varobj*. This function can delete
varobjs, so we need to give callers the new varobj
when this happens.
(value_of_root): Update "var", too, if "var_handle"
changes.
* varobj.h (varobj_update): Likewise.

22 years ago * Makefile.in (varobj_h): Define.
kseitz [Fri, 17 Aug 2001 17:58:24 +0000 (17:58 +0000)]
* Makefile.in (varobj_h): Define.
(mi-cmd-var.o): Depends on varobj_h.
(gdbtk-varobj.o): Change varobj.h to $(varobj_h).

22 years ago * ecoff.c (ecoff_frob_symbol): Remove casts from bfd_get_gp_size.
amodra [Fri, 17 Aug 2001 16:01:48 +0000 (16:01 +0000)]
* ecoff.c (ecoff_frob_symbol): Remove casts from bfd_get_gp_size.
(ecoff_build_symbols): Likewise.
* read.c (s_lcomm_internal): Fix signed/unsigned warning.

22 years ago * bfd.c (bfd_get_gp_size): Return an unsigned int.
amodra [Fri, 17 Aug 2001 15:56:57 +0000 (15:56 +0000)]
* bfd.c (bfd_get_gp_size): Return an unsigned int.
(bfd_set_gp_size): Make param unsigned.
* bfd-in2.h: Regenerate.
* elf32-ppc.c (ppc_elf_add_symbol_hook): Use elf_gp_size rather
than calling bfd_get_gp_size.
* elf64-alpha.c (elf64_alpha_add_symbol_hook): Likewise.
* elfxx-ia64.c (elfNN_ia64_add_symbol_hook): Likewise.

22 years ago * ld.texinfo: Document that fill values now use the four least
amodra [Fri, 17 Aug 2001 09:51:05 +0000 (09:51 +0000)]
* ld.texinfo: Document that fill values now use the four least
significant bytes.
* emulparams/elf32fr30.sh (NOP): Update.
* emulparams/elf32mcore.sh: Likewise.
* emulparams/elf64_s390.sh: Likewise.
* emulparams/elf_i386.sh: Likewise.
* emulparams/elf_i386_be.sh: Likewise.
* emulparams/elf_i386_chaos.sh: Likewise.
* emulparams/elf_i386_ldso.sh: Likewise.
* emulparams/elf_s390.sh: Likewise.
* emulparams/elf_x86_64.sh: Likewise.
* emulparams/i386moss.sh: Likewise.
* emulparams/i386nw.sh: Likewise.
* emulparams/m68kelf.sh: Likewise.
* scripttempl/elf.sc: Update NOP comment.
* scripttempl/elfi370.sc: Likewise.
* scripttempl/elfm68hc11.sc: Likewise.
* scripttempl/elfm68hc12.sc: Likewise.
* scripttempl/nw.sc: Likewise.

22 years ago * linker.c (default_fill_link_order): Handle four byte fill value.
amodra [Fri, 17 Aug 2001 09:50:05 +0000 (09:50 +0000)]
* linker.c (default_fill_link_order): Handle four byte fill value.

22 years ago * elf64-sparc.c (sparc64_elf_output_arch_syms): Add missing
amodra [Fri, 17 Aug 2001 09:44:13 +0000 (09:44 +0000)]
* elf64-sparc.c (sparc64_elf_output_arch_syms): Add missing
prototype.
* nlm32-alpha.c (nlm_alpha_write_external): Fix warning.

22 years ago * elf64-mips.c (UNUSED_RELOC): Define.
amodra [Fri, 17 Aug 2001 09:21:33 +0000 (09:21 +0000)]
* elf64-mips.c (UNUSED_RELOC): Define.
(mips_elf64_howto_table_rel): Use it.
(mips_elf64_howto_table_rela): Here too.
(mips_elf64_write_relocs): Fix signed/unsigned warning.

22 years agoOops missed from last commit
amodra [Fri, 17 Aug 2001 09:19:10 +0000 (09:19 +0000)]
Oops missed from last commit

22 years ago * coffcode.h (coff_write_object_contents): Add ATTRIBUTE_UNUSED to
amodra [Fri, 17 Aug 2001 08:57:39 +0000 (08:57 +0000)]
* coffcode.h (coff_write_object_contents): Add ATTRIBUTE_UNUSED to
silence warning.
* coffgen.c (coff_print_symbol): Fix warnings.
(coff_find_nearest_line): Likewise.
* cofflink.c (_bfd_coff_link_input_bfd): Likewise.
* coff-alpha.c (alpha_convert_external_reloc): Likewise.
* format.c (bfd_check_format_matches): Likewise.
(bfd_set_format): Likewise.
* coff-ia64.c: Add missing prototypes.
* elf64-alpha.c (struct alpha_elf_link_hash_entry): Make addend
signed to silence warnings.
(elf64_alpha_relocate_section): Likewise.
(elf64_alpha_find_reloc_at_ofs): Fix warnings.
(elf64_alpha_add_symbol_hook): Likewise.
(elf64_alpha_final_link): Likewise.
(elf64_alpha_relax_section): Remove redundant assign to info.gotent.
(elf64_alpha_merge_gots): Add ATTRIBUTE_UNUSED to unused args.
(elf64_alpha_size_got_sections): Likewise.
* elfxx-ia64.c: Add missing prototypes.
(elfNN_ia64_relocate_section): Fix warning.
(elfNN_ia64_unwind_entry_compare): Make params const.

22 years agomerge from gcc
dj [Fri, 17 Aug 2001 06:33:05 +0000 (06:33 +0000)]
merge from gcc

22 years agomerge from gcc
dj [Fri, 17 Aug 2001 06:32:52 +0000 (06:32 +0000)]
merge from gcc

22 years ago * config.bfd (targ64_selvecs): New.
amodra [Fri, 17 Aug 2001 04:17:17 +0000 (04:17 +0000)]
* config.bfd (targ64_selvecs): New.
<powerpc-*-aix* entry>: Use it here instead of ineffectual #ifdef.

22 years ago * bfd-in.h (BFD_VERSION): Remove wrong comment.
amodra [Fri, 17 Aug 2001 03:54:52 +0000 (03:54 +0000)]
* bfd-in.h (BFD_VERSION): Remove wrong comment.
(BFD_DEFAULT_TARGET_SIZE): New.
(BFD_ARCH_SIZE): Comment.
* configure.in (target_size): New.  Set instead of target64 in
selvecs case statement.  Set target64 from it.
(bfd_default_target_size): New.  Set from taget_size. AC_SUBST.
* bfd-in2.h: Regenerate.
* configure: Regenerate.

22 years ago * bfd.c (enum bfd_error): Add bfd_error_wrong_object_format.
amodra [Fri, 17 Aug 2001 03:19:00 +0000 (03:19 +0000)]
* bfd.c (enum bfd_error): Add bfd_error_wrong_object_format.
(bfd_errmsgs): Add corresponding message.
* archive.c (bfd_generic_archive_p): Don't release bfd_ardata when
finding an archive that contains different format object files.
Return bfd_error_wrong_object_format for this case.
* format.c: Formatting fixes.  s/CONST/const/.
(bfd_check_format_matches): Accept archives that give
bfd_error_wrong_object_format if no full match is found.  Tidy
code handling matching_vector.  Don't return a pointer to freed
memory in `matching'.  Handle ambiguous matches as for partial
archive matches.
* bfd-in2.h: Regenerate.

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

22 years ago * generic/gdbtk.c (gdbtk_init): Revert change from earlier.
kseitz [Thu, 16 Aug 2001 23:04:45 +0000 (23:04 +0000)]
* generic/gdbtk.c (gdbtk_init): Revert change from earlier.
It is insufficient. We must get the absolute pathname
from autoconf.
Don't bother setting TCL_LIBRARY: it must be set already
in order for us to execute a script.

22 years ago * cpp_variable.test (2.29, 2.30, 2.43, 2.63, 2.72): Char
kseitz [Thu, 16 Aug 2001 22:58:34 +0000 (22:58 +0000)]
* cpp_variable.test (2.29, 2.30, 2.43, 2.63, 2.72): Char
pointers can now be dereferenced. Update test to reflect
this change in varobj.
* c_variable.test (4.9, 4.10, 4.47, 4.48, 5.1, 5.2, 5.3,
5.4, 5.5, 5.6, 5.7, 5.8, 5.9, 5.17, 5.18, 5.43, 5.44, 5.47,
5.48, 5.49, 5.50, 5.51, 5.53, 6.30): Likewise.

22 years ago * configure.in (GDBTK_SRC_DIR): We must have autoconf
kseitz [Thu, 16 Aug 2001 22:47:00 +0000 (22:47 +0000)]
* configure.in (GDBTK_SRC_DIR): We must have autoconf
give us the absolute path to the source directory.
* configure: Regenerated.
* Makefile.in (GDBTK_SRC_DIR): Add variable so that
autoconf can substitue it in for us.
(gdbtk.o): Pass in GDBTK_SRC_DIR instead of srcdir. We
really do need an absolute pathname.

22 years agoSet MIPS n32 ABI flag in ELF header if appropriate.
ths [Thu, 16 Aug 2001 21:48:28 +0000 (21:48 +0000)]
Set MIPS n32 ABI flag in ELF header if appropriate.

22 years agoAdd support for MIPS R1[02]000 performance counter opcodes.
ths [Thu, 16 Aug 2001 19:24:32 +0000 (19:24 +0000)]
Add support for MIPS R1[02]000 performance counter opcodes.

22 years ago * mips-opc.c: R3900s can support all branch likely INSN_MACROs where
jlarmour [Thu, 16 Aug 2001 19:10:49 +0000 (19:10 +0000)]
* mips-opc.c: R3900s can support all branch likely INSN_MACROs where
the corresponding non-likely insn is in MIPS I.

22 years ago * library/globalpref.ith (_change_font, _change_size): New
kseitz [Thu, 16 Aug 2001 18:55:50 +0000 (18:55 +0000)]
* library/globalpref.ith (_change_font, _change_size): New
private methods.
(_size): New private variable.
(font_changed, wfont_changed): Removed.
* library/globalpref.itb (make_font_item): Change combobox
callback to use _change_font.
Replace tixControl with iwidgets::spinint.
(font_changed, wfont_changed): Removed.
(_change_font, _change_size): New private methods.
* tclIndex: Regenerate.

22 years ago * generic/gdbtk.c (gdbtk_init): Make sure we're working with
kseitz [Thu, 16 Aug 2001 17:38:16 +0000 (17:38 +0000)]
* generic/gdbtk.c (gdbtk_init): Make sure we're working with
absolute pathnames in the *_LIBRAY variables.

22 years ago* new docs
fche [Thu, 16 Aug 2001 16:23:22 +0000 (16:23 +0000)]
* new docs

22 years ago From Ian Roxborough <irox@redhat.com>
kseitz [Thu, 16 Aug 2001 15:48:14 +0000 (15:48 +0000)]
From Ian Roxborough  <irox@redhat.com>
* generic/gdbtk-hooks.c (x_event): Deal with Tcl API insanity
for Tcl_ObjGetVar2 or Tcl_GetObjVar2.
(gdbtk_trace_find): Likewise for Tcl_GlobalEvalObj
or Tcl_EvalObj (TCL_EVAL_GLOBAL).

22 years agoRemove obsolete special handling of 64bit Relocations.
ths [Thu, 16 Aug 2001 15:12:07 +0000 (15:12 +0000)]
Remove obsolete special handling of 64bit Relocations.

22 years ago* fhandler_socket.cc (fhandler_socket::create_secret_event): Relax
duda [Thu, 16 Aug 2001 14:34:27 +0000 (14:34 +0000)]
* fhandler_socket.cc (fhandler_socket::create_secret_event): Relax
security of secret_event so AF_UNIX socket clients can connect to
servers even if running under a different user account.
(fhandler_socket::check_peer_secret_event): Ditto.

22 years ago * resource.cc (getrlimit): Return getdtablesize () as current limit
corinna [Thu, 16 Aug 2001 14:29:21 +0000 (14:29 +0000)]
    * resource.cc (getrlimit): Return getdtablesize () as current limit
        on RLIMIT_NOFILE.
        * syscalls.cc (getdtablesize): Return OPEN_MAX if current dtable size
        is less than OPEN_MAX, the current dtable size otherwise.
        * sysconf.cc (sysconf): Return getdtablesize () on _SC_OPEN_MAX.

22 years ago * resource.cc (getrlimit): Return OPEN_MAX as current limit
corinna [Thu, 16 Aug 2001 14:20:09 +0000 (14:20 +0000)]
    * resource.cc (getrlimit): Return OPEN_MAX as current limit
        on RLIMIT_NOFILE.
        * syscalls.cc (getdtablesize): Return OPEN_MAX.
        * sysconf.cc (sysconf): Return OPEN_MAX on _SC_OPEN_MAX.
        * include/limits.h (OPEN_MAX): Define as 256.

22 years ago* obvious fix
fche [Thu, 16 Aug 2001 14:19:54 +0000 (14:19 +0000)]
* obvious fix

2001-08-16  Frank Ch. Eigler  <fche@redhat.com>

* config/sid.exp (sid_start): Don't warn if we cannot figure out
what to force sid endianness to.