OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
23 years agoRegenerate
dj [Tue, 13 Feb 2001 21:05:09 +0000 (21:05 +0000)]
Regenerate

23 years ago* include/coff/pe.h: Rename PEP64AOUTHDR to PEPAOUTHDR. Rename
dj [Tue, 13 Feb 2001 21:01:44 +0000 (21:01 +0000)]
* include/coff/pe.h: Rename PEP64AOUTHDR to PEPAOUTHDR.  Rename
PEP64AOUTSZ to PEPAOUTSZ.

23 years ago* peicode.h (coff_swap_filehdr_out) [COFF_IMAGE_WITH_PE]: Define
dj [Tue, 13 Feb 2001 19:23:08 +0000 (19:23 +0000)]
* peicode.h (coff_swap_filehdr_out) [COFF_IMAGE_WITH_PE]: Define
as _bfd_XXi_only_swap_filehdr_out.
(pe_mkobject) [PEI_FORCE_MINIMUM_ALIGNMENT]: Set
pe->force_minimum_alignment to TRUE.
(pe_mkobject) [PEI_TARGET_SUBSYSTEM]: Set pe->target_subsystem to
PEI_TARGET_SUBSYSTEM.
(pe_print_private_bfd_data): Call
_bfd_XX_print_private_bfd_data_common() instead of
_bfd_pe_print_private_bfd_data_common().
(pe_bfd_copy_private_bfd_data): Call
_bfd_XX_bfd_copy_private_bfd_data_common() instead of
_bfd_pe_bfd_copy_private_bfd_data_common().
(coff_bfd_copy_private_section_data): Define as
_bfd_XX_bfd_copy_private_section_data instead of
_bfd_pe_bfd_copy_private_section_data.
(coff_get_symbol_info): Define as _bfd_XX_get_symbol_info instead
of a _bfd_pe_get_symbol_info.

* peigen.c: Delete.

* peXXigen.c: Renamed from peigen.c.
(COFF_WITH_XX): Define this macro (will get expanded into
COFF_WITH_pep or COFF_WITH_pe, depending on whether this is being
compiled as peigen.c or pepigen.c.
[COFF_WITH_pep]: Include "coff/ia64.h" instead of "coff/i386.h" to
define the canonical PEP structures and definitions.
(_bfd_XXi_swap_aouthdr_out): If pe->force_minimum_alignment is in
effect, enforce minimum file and section alignments.  If
extra->Subsystem is IMAGE_SUBSYSTEM_UNKNOWN, set it to
pe->target_subsystem (this defaults to IMAGE_SUBSYSTEM_UNKNOWN,
so, by default, this is a no-op).

* libpei.h: Rename COFF_WITH_PEP to COFF_WITH_pep.
(_bfd_XX_bfd_copy_private_bfd_data_common): Add macros to map
_bfd_XXfoo to _bfd_pepfoo if COFF_WIT_PEP is defined and to
_bfd_pefoo if it's not defined.  Use these macros to define
coff swap macros.

* libcoff.h (pe_tdata): Add members target_subsystem and
force_minimum_alignment.

* efi-app-ia64.c (COFF_WITH_pep): Rename COFF_WITH_PEP to
COFF_WITH_pep.
(PEI_TARGET_SUBSYSTEM): Rename from PEI_DEFAULT_TARGET_SUBSYSTEM.

* configure.in (bfd_efi_app_ia64_vec): Use pepigen.lo instead of
peigen.lo.

* coff-ia64.c: Rename COFF_WITH_PEP to COFF_WITH_pep.
(AOUTSZ): Rename PEP64AOUTSZ and PEP64AOUTHDR to PEPAOUTSZ and
PEPAOUTHDR.

* Makefile.in (BFD64_BACKENDS): Mention pepigen.lo.
(BFD64_BACKENDS_CFILES): Mention pepigen.c
(peigen.c): Add rule to generate from peXXigen.c.
(pepigen.c): Ditto.
(pepigen.lo): List dependencies for pepigen.lo.

* unwind-ia64.c (unw_decode_x1): Declare code arg with
ATTRIBUTE_UNUSED.
(unw_decode_x2): Ditto.
(unw_decode_x3): Ditto.
(unw_decode_x4): Ditto.

* pe.h (PEPAOUTSZ): Rename from PEP64AOUTSZ.
Rename from PEPAOUTHDR.

23 years agoHandle long jumps for .code16 and .arch < 386 by using a two
amodra [Tue, 13 Feb 2001 12:44:17 +0000 (12:44 +0000)]
Handle long jumps for .code16 and .arch < 386 by using a two
instruction sequence consisting of a conditional jump of the
opposite sense around an unconditional jump to the target.
Add jumps/nojumps .arch modifier.

23 years agoUpdate copyright date.
amodra [Tue, 13 Feb 2001 11:17:48 +0000 (11:17 +0000)]
Update copyright date.

23 years agoFix parsing of multi-char operators.
amodra [Tue, 13 Feb 2001 11:13:53 +0000 (11:13 +0000)]
Fix parsing of multi-char operators.

23 years ago(elf32_hppa_set_gp): Handle weak $global$.
amodra [Tue, 13 Feb 2001 10:14:14 +0000 (10:14 +0000)]
(elf32_hppa_set_gp): Handle weak $global$.
If $global$ referenced but not defined, set its value here.

23 years agoFix definition of NEGBRANCH
nickc [Mon, 12 Feb 2001 23:29:49 +0000 (23:29 +0000)]
Fix definition of NEGBRANCH

23 years ago * lib/Makefile.in: (host_alias): Add variable.
earnie [Mon, 12 Feb 2001 19:45:33 +0000 (19:45 +0000)]
* lib/Makefile.in: (host_alias): Add variable.
(host_build): Ditto:
(xinstall): Removed
(xinstall-libraries): Ditto.
(xinstall-headers): Ditto.
(xuninstall): Ditto.
(xuninstall-libraries): Ditto.
(xuninstall-headers): Ditto.
* Makefile.in: (host_alias): Add variable.
(build_alias): Ditto.

23 years ago2001-02-12 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Mon, 12 Feb 2001 18:17:17 +0000 (18:17 +0000)]
2001-02-12  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/sys/stat.h: Add mknod for Cygwin now that
        Cygwin definition has correct prototype.

23 years ago2001-02-09 Bo Thorsen <bo@suse.de>
hubicka [Mon, 12 Feb 2001 16:54:07 +0000 (16:54 +0000)]
2001-02-09  Bo Thorsen  <bo@suse.de>

* elf64-x86-64.c (elf64_x86_64_check_relocs): Set .rela.got section
alignment to 3.
(elf64_x86_64_check_relocs): Write R_X86_64_GOTPCREL GOT entry
and relocation.
(elf64_x86_64_relocate_section): Fix formatting.
(elf64_x86_64_relocate_section): Fix addend for relocation of
R_X86_64_(8|16|32|PC8|PC16|PC32).

23 years ago * elf64-x86-64.c (x86_64_elf_howto): Fix name of R_X86_64_GOTPCREL.
hubicka [Mon, 12 Feb 2001 16:47:12 +0000 (16:47 +0000)]
* elf64-x86-64.c (x86_64_elf_howto): Fix name of R_X86_64_GOTPCREL.
* tc-i386.c (i386_displacement): Fix handling of
BFD_RELOC_X86_64_GOTPCREL.
(i386_validate_fix): Likewise.

23 years ago * i386.h (i386_optab): SSE integer converison instructions have
hubicka [Mon, 12 Feb 2001 16:42:49 +0000 (16:42 +0000)]
* i386.h (i386_optab): SSE integer converison instructions have
64bit versions on x86-64.
* i386-dis.c (prefix_user_t): Add 'Y' to SSE ineger converison
instructions.
(putop): Handle 'Y'

23 years ago2001-02-12 Philip Blundell <pb@futuretv.com>
pb [Mon, 12 Feb 2001 13:32:23 +0000 (13:32 +0000)]
2001-02-12  Philip Blundell  <pb@futuretv.com>

* config/tc-arm.c (do_ldst): Improve warnings for unpredictable
ldrt/strt instructions.

23 years ago2001-02-11 H.J. Lu <hjl@gnu.org>
hjl [Mon, 12 Feb 2001 00:23:37 +0000 (00:23 +0000)]
2001-02-11  H.J. Lu  <hjl@gnu.org>

* elflink.h (elf_bfd_final_link): Use file_align for STMTAB
alignment.

23 years ago2001-02-11 H.J. Lu <hjl@gnu.org>
hjl [Mon, 12 Feb 2001 00:21:57 +0000 (00:21 +0000)]
2001-02-11  H.J. Lu  <hjl@gnu.org>

* config/default.exp: Set up gcc_gas_flag.

* binutils-all/objcopy.exp (copy_setup): Process gcc_gas_flag
for Linux only.

* binutils-all/testprog.c: Include <string.h> and don't use
exit ().

23 years agofix formatting
nickc [Sun, 11 Feb 2001 23:22:25 +0000 (23:22 +0000)]
fix formatting

23 years agofix formatting
nickc [Sun, 11 Feb 2001 23:21:21 +0000 (23:21 +0000)]
fix formatting

23 years agooops - omitted from previous delta
nickc [Sun, 11 Feb 2001 23:21:01 +0000 (23:21 +0000)]
oops - omitted from previous delta

23 years ago * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
msokolov [Sun, 11 Feb 2001 23:13:38 +0000 (23:13 +0000)]
* unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
literal concatenation.

23 years agoApply several patches from Maciej W. Rozycki
nickc [Sun, 11 Feb 2001 23:11:40 +0000 (23:11 +0000)]
Apply several patches from Maciej W. Rozycki

23 years ago * readelf.c (struct unw_aux_info): Remove const from the info member.
msokolov [Sun, 11 Feb 2001 23:11:39 +0000 (23:11 +0000)]
* readelf.c (struct unw_aux_info): Remove const from the info member.
(process_unwind): Don't type-cast the third argument to the
GET_DATA_ALLOC macro.

23 years ago * Makefile.am (stamp-lib): ranlib the libopcodes.a in the build
msokolov [Sun, 11 Feb 2001 22:56:42 +0000 (22:56 +0000)]
* Makefile.am (stamp-lib): ranlib the libopcodes.a in the build
directory.
* Makefile.in: Regenerate.

23 years ago * Makefile.am (stamp-lib): ranlib the libbfd.a in the build directory.
msokolov [Sun, 11 Feb 2001 22:53:28 +0000 (22:53 +0000)]
* Makefile.am (stamp-lib): ranlib the libbfd.a in the build directory.
* Makefile.in: Regenerate.

23 years agofix seg fault in reloc reading code
nickc [Sun, 11 Feb 2001 22:14:01 +0000 (22:14 +0000)]
fix seg fault in reloc reading code

23 years ago * gdb.texinfo (Environment): Document that `path' does not change
eliz [Sun, 11 Feb 2001 13:37:32 +0000 (13:37 +0000)]
* gdb.texinfo (Environment): Document that `path' does not change
the value of PATH in GDB's own environment (it did in the past,
but that was changed on March 15, 1994).  Reported by Doug Evans
<dje@transmeta.com>.

23 years ago * NEWS: Document that "info symbol" works with COFF debug info and
eliz [Sun, 11 Feb 2001 06:11:38 +0000 (06:11 +0000)]
* NEWS: Document that "info symbol" works with COFF debug info and
its variants.

* minsyms.c (lookup_minimal_symbol_by_pc_section): Don't skip
symbols whose SYMBOL_BFD_SECTION is NULL.

23 years ago * gdbint.texinfo: Fix up @itemize lists so that @item is alone on
eliz [Sun, 11 Feb 2001 05:48:30 +0000 (05:48 +0000)]
* gdbint.texinfo: Fix up @itemize lists so that @item is alone on
its line.  Fix markup of commands.  Add an index and index entries.

23 years agoRemove annoying entry....:-)
nickc [Sat, 10 Feb 2001 22:30:07 +0000 (22:30 +0000)]
Remove annoying entry....:-)

23 years agoRemove extraneous whitespace
nickc [Sat, 10 Feb 2001 22:26:55 +0000 (22:26 +0000)]
Remove extraneous whitespace

23 years ago2001-02-10 Chris Demetriou <cgd@broadcom.com>
cgd [Sat, 10 Feb 2001 22:25:10 +0000 (22:25 +0000)]
2001-02-10  Chris Demetriou  <cgd@broadcom.com>

        * configure.in: Make 'mipself' and 'mipsecoff' emulations
        map to MIPS-specific files, as they used to do before the
        change on 2000-05-21.
        * configure: Regerate.

23 years agoDocument new --unwind option to readelf.
nickc [Sat, 10 Feb 2001 22:20:55 +0000 (22:20 +0000)]
Document new --unwind option to readelf.

23 years ago2001-02-10 Chris Demetriou <cgd@broadcom.com>
cgd [Sat, 10 Feb 2001 21:41:11 +0000 (21:41 +0000)]
2001-02-10  Chris Demetriou  <cgd@broadcom.com>

        * config/tc-mips.c (md_parse_option): Don't try to compile
        ELF-only option code if not ELF.

23 years ago Get rid of AIX specific PC_LOAD_SEGMENT, replace with PC_SOLIB.
schauer [Sat, 10 Feb 2001 12:01:11 +0000 (12:01 +0000)]
Get rid of AIX specific PC_LOAD_SEGMENT, replace with PC_SOLIB.
* xcoffsolib.c (xcoff_solib_address):  Renamed from
pc_load_segment_name.  Return NULL if address is not in a shared
library.  Cleanup shared library name construction, using xasprintf.
Format shared library member names consistent with format in exec.c.
(solib_info):  Format shared library member names consistent with
format in exec.c.
* config/rs6000/nm-rs6000.h:  Replace PC_LOAD_SEGMENT with PC_SOLIB,
using xcoff_solib_address for PC_SOLIB definition.
* stack.c (print_frame):  Remove PC_LOAD_SEGMENT code, no longer
needed.

23 years ago * mipsread.c (read_alphacoff_dynamic_symtab): Replace alloca calls
schauer [Sat, 10 Feb 2001 11:12:05 +0000 (11:12 +0000)]
* mipsread.c (read_alphacoff_dynamic_symtab):  Replace alloca calls
with xmalloc calls and cleanups.

23 years ago * rs6000-nat.c (child_xfer_memory): Add missing parameter
schauer [Sat, 10 Feb 2001 11:05:38 +0000 (11:05 +0000)]
* rs6000-nat.c (child_xfer_memory):  Add missing parameter
'struct mem_attrib *' required by 2001-01-23 change.

23 years ago* fork.cc (fork_parent): Return EAGAIN when can't record pid.
cgf [Sat, 10 Feb 2001 04:20:52 +0000 (04:20 +0000)]
* fork.cc (fork_parent): Return EAGAIN when can't record pid.
* pinfo.h (pinfo::remember): Return value of call to proc_subproc.
* sigproc.cc (proc_subproc): Return error if can't record pid.

23 years ago * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add
rth [Sat, 10 Feb 2001 01:44:38 +0000 (01:44 +0000)]
    * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add
        .IA_64.unwind.* pattern to unwind table section and
        .IA_64.unwind_info* pattern to unwind info section.

23 years ago * config/tc-ia64.h (md_elf_section_type): New macro.
rth [Sat, 10 Feb 2001 01:42:04 +0000 (01:42 +0000)]
    * config/tc-ia64.h (md_elf_section_type): New macro.
        (ELF_TC_SPECIAL_SECTIONS): Drop .IA_64.unwind and .IA_64.unwind_info
        (they're now handled via ia64_elf_section_type.

        * config/tc-ia64.c (unwind): New members saved_text_seg,
        saved_text_subseg, and force_unwind_entry.
        (optimize_unw_records): New function to optimize away unnecessary
        unwind directives.
        (ia64_elf_section_type): New function.
        (output_unw_records): Generate unwind info only if the size is
        non-zero or if it's forced for some other reason (e.g.,
        handlerdata or a personality routine).
        (generate_unwind_image): Don't switch back to previous
        section---stay inside the unwind info section instead so that
        handlerdata that may follow goes into the right place.
        (dot_handlerdata): Force generation of unwind entry and save the
        current active text segment before generating unwind image.
        (dot_unwentry): Force generation of unwind entry.
        (dot_personality): Ditto.
        (dot_endp): Generate unwind table entry only if there is
        some unwind info or the unwind entry was forced.

        * config/tc-ia64.c (make_unw_section_name): New macro to form
        unwind section name.
        (generate_unwind_image): Add "text_name" argument.  Use it to
        form unwind section name.
        (dot_handlerdata): Determine current segment (section) name and
        pass it to generate_unwind_image().
        (dot_endp): Determine current segment (section) name and use
        it to determine the appropriate unwind section name.
        (ia64_md_do_align): Add missing ATTRIBUTE_UNUSED declarations to
        n, fill, and max arguments.

23 years ago * elfxx-ia64.c (is_unwind_section_name): New function. Returns
rth [Sat, 10 Feb 2001 01:41:06 +0000 (01:41 +0000)]
    * elfxx-ia64.c (is_unwind_section_name): New function.  Returns
        true if section name is an unwind table section name.
        (elfNN_ia64_additional_program_headers): Count each unwind section
        separately.
        (elfNN_ia64_modify_segment_map): Install one unwind program header
        for each unwind separate section.  Note: normally the linker
        script merges the unwind sections that go into a single segment,
        so this still generates at most one unwind program header per
        segment.

        * elfxx-ia64.c (elfNN_ia64_section_from_shdr): Accept any section
        name for SHT_IA_64_UNWIND, not just .IA_64.unwind.
        (elfNN_ia64_fake_sections): Mark sections with names that start
        with .IA_64.unwind but not with .IA_64.unwind_info as an IA-64
        unwind section.

        * elfxx-ia64.c (elfNN_ia64_final_write_processing): New function.
        Use it to make sh_info in unwind section point to the text section
        it applies to.

23 years agoAdd s390 support
nickc [Sat, 10 Feb 2001 00:58:38 +0000 (00:58 +0000)]
Add s390 support

23 years agoAdd s390 support
nickc [Sat, 10 Feb 2001 00:55:46 +0000 (00:55 +0000)]
Add s390 support

23 years agoSuppress extra addition of ImageBase.
nickc [Fri, 9 Feb 2001 18:38:58 +0000 (18:38 +0000)]
Suppress extra addition of ImageBase.

23 years ago* config/tc-sh.c (md_pseudo_table): Add uaquad. Use s_uacons for
aoliva [Fri, 9 Feb 2001 18:21:42 +0000 (18:21 +0000)]
* config/tc-sh.c (md_pseudo_table): Add uaquad.  Use s_uacons for
2byte, 4byte and 8byte.

23 years ago * elf64-sparc.c (sparc64_elf_copy_private_bfd_data): New function.
jakub [Fri, 9 Feb 2001 17:53:16 +0000 (17:53 +0000)]
* elf64-sparc.c (sparc64_elf_copy_private_bfd_data): New function.

23 years ago * elf64-sparc.c (sparc64_elf_check_relocs): Don't trust reloc_count.
jakub [Fri, 9 Feb 2001 17:31:11 +0000 (17:31 +0000)]
* elf64-sparc.c (sparc64_elf_check_relocs): Don't trust reloc_count.
(sparc64_elf_relocate_section): Likewise.

23 years ago* syscalls.cc (mknod): Add valid parameters.
cgf [Fri, 9 Feb 2001 17:17:34 +0000 (17:17 +0000)]
* syscalls.cc (mknod): Add valid parameters.

23 years agoDon't #ifdef inside printf in case printf is a macro.
amodra [Fri, 9 Feb 2001 16:33:20 +0000 (16:33 +0000)]
Don't #ifdef inside printf in case printf is a macro.

23 years ago* elf32-sparc.c (_bfd_sparc_elf_howto_table): Treat R_SPARC_UA32
kettenis [Fri, 9 Feb 2001 16:19:25 +0000 (16:19 +0000)]
* elf32-sparc.c (_bfd_sparc_elf_howto_table): Treat R_SPARC_UA32
similar to R_SPARC_32.
* elf64-sparc.c (sparc64_elf_howto_table): Likewise.

23 years ago * configure.tgt (sparc64-*-linux-gnu*): Add elf32_sparc into
jakub [Fri, 9 Feb 2001 15:55:14 +0000 (15:55 +0000)]
* configure.tgt (sparc64-*-linux-gnu*): Add elf32_sparc into
targ_extra_libpath.
(sparc-*-linux-gnu*): Add elf64_sparc into targ_extra_libpath.

23 years ago2001-02-08 H.J. Lu <hjl@gnu.org>
hjl [Fri, 9 Feb 2001 06:58:59 +0000 (06:58 +0000)]
2001-02-08  H.J. Lu  <hjl@gnu.org>

* elf32-i386.c (elf_i386_check_relocs): Reserve R_386_PC32
relocation entries for weak definitions when building DSO with
-Bsymbolic.

23 years ago Updates to "make TAGS":
kingdon [Fri, 9 Feb 2001 01:47:34 +0000 (01:47 +0000)]
Updates to "make TAGS":
* Makefile.in (ALLDEPFILES): Remove altos-xdep.c arm-convert.s
arm-xdep.c convex-tdep.c convex-xdep.c pyr-tdep.c pyr-xdep.c
tahoe-tdep.c.
(TAGFILES_NO_SRCDIR): Add $(SUBDIR_CLI_SRCS).

23 years ago2001-02-08 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Fri, 9 Feb 2001 01:01:06 +0000 (01:01 +0000)]
2001-02-08  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/sys/stat.h: Must revert change for mknod
        for CYGWIN until winsup/cygwin/syscalls.cc changes mknod
        prototype.

23 years ago2001-02-08 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Fri, 9 Feb 2001 00:32:42 +0000 (00:32 +0000)]
2001-02-08  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/stdio.h: Revert putw prototype.

23 years ago * elf64-alpha.c (alpha_elf_dynamic_symbol_p): Respect weakness
rth [Fri, 9 Feb 2001 00:29:58 +0000 (00:29 +0000)]
    * elf64-alpha.c (alpha_elf_dynamic_symbol_p): Respect weakness
        before visibility.  Locally defined protected symbols are not
        dynamic.

23 years ago2001-02-08 Edward M. Lee <tailbert@yahoo.com>
jjohnstn [Fri, 9 Feb 2001 00:13:54 +0000 (00:13 +0000)]
2001-02-08  Edward M. Lee  <tailbert@yahoo.com>

        * libc/include/grp.h: add prototype for initgroups.
        * libc/include/stdio.h: fix prototype for putw.
        * libc/include/sys/signal.h: add prototype for killpg.
        * libc/include/sys/stat.h: enable mknod/lstat for CYGWIN.
        * libc/include/sys/unistd.h: add prototypes for getpgid, setpgrp,
        vhangup and remove duplicate sysconf prototype.

23 years ago * config.bfd: Enable coff64 for rs6000-*. Patch from
geoffk [Fri, 9 Feb 2001 00:11:23 +0000 (00:11 +0000)]
* config.bfd: Enable coff64 for rs6000-*.  Patch from
<hzoli@austin.ibm.com>.

23 years ago * mmap.cc (mmap): Check for reusing a mapping only on MAP_SHARED
corinna [Thu, 8 Feb 2001 21:10:45 +0000 (21:10 +0000)]
    * mmap.cc (mmap): Check for reusing a mapping only on MAP_SHARED
        and on MAP_PRIVATE|MAP_ANON in the special case of offset 0.

23 years ago * mmap.cc (class list): Add member `hash'.
corinna [Thu, 8 Feb 2001 21:02:36 +0000 (21:02 +0000)]
    * mmap.cc (class list): Add member `hash'.
        (list::list): Initialize `hash'.
        (list::get_list_by_fd): Use filepath hash value to get the correct
        mapping list if it's not an anonymous mapping.
        (map::add_list): Initialize `hash' with filepath hash value.
        (mmap): Check for reusing a mapping only on MAP_SHARED.

23 years ago2001-02-08 Fernando Nasser <fnasser@redhat.com>
fnasser [Thu, 8 Feb 2001 19:26:29 +0000 (19:26 +0000)]
2001-02-08  Fernando Nasser  <fnasser@redhat.com>

From 2001-02-06  Martin Hunt  <hunt@redhat.com>
* library/debugwin.itb: Change window name to "Insight Debug"
* library/embeddedwin.ith: Fix debug messages.
* library/locals.tcl: Ditto.
* library/watch.tcl (postMenu): Ditto.
* library/variables.tcl: Ditto.
* library/interface.tcl: Ditto.
* library/regwin.itb: Ditto.
* library/gdbwin.ith: Ditto.
* library/srcbar.itcl: Ditto.

23 years ago * ld-srec/srec.exp (run_srec_test): m6811 code has references
ciceron [Thu, 8 Feb 2001 18:57:47 +0000 (18:57 +0000)]
* ld-srec/srec.exp (run_srec_test): m6811 code has references
to soft registers, define them with --defsym.
* ld-selective/selective.exp: Likewise.

23 years ago * gas/mri/mri.exp: Don't execute the M68K specific tests
ciceron [Thu, 8 Feb 2001 18:55:29 +0000 (18:55 +0000)]
* gas/mri/mri.exp: Don't execute the M68K specific tests
on m6811-elf and m6812-elf targets, still run the generic MRI tests.

23 years ago * config/djgpp/fnchange.lst: Remove extraneous "too many dots".
eliz [Thu, 8 Feb 2001 11:14:11 +0000 (11:14 +0000)]
* config/djgpp/fnchange.lst: Remove extraneous "too many dots".

23 years agoFrom Dean Luick <luick@cray.com>:
cagney [Thu, 8 Feb 2001 06:49:18 +0000 (06:49 +0000)]
From Dean Luick <luick@cray.com>:
* defs.h (continuation): Remove unused global variable.

23 years agoRemove configurations marked as obsolete in 5.0.
cagney [Thu, 8 Feb 2001 06:30:23 +0000 (06:30 +0000)]
Remove configurations marked as obsolete in 5.0.

23 years agoAdd __FILE__ and __LINE__ parameter to internal_error() /
cagney [Thu, 8 Feb 2001 06:03:52 +0000 (06:03 +0000)]
Add __FILE__ and __LINE__ parameter to internal_error() /
internal_verror().

23 years ago * acinclude.m4 (AM_PROG_LEX): Override installed definition.
hp [Thu, 8 Feb 2001 06:01:31 +0000 (06:01 +0000)]
* acinclude.m4 (AM_PROG_LEX): Override installed definition.
* aclocal.m4: Regenerate.
* configure: Regenerate.

23 years ago2001-02-08 Ben Elliston <bje@redhat.com>
cgd [Thu, 8 Feb 2001 05:22:04 +0000 (05:22 +0000)]
2001-02-08  Ben Elliston  <bje@redhat.com>

        * sim-main.c (load_memory): Pass cia to sim_core_read* functions.
        (store_memory): Likewise, pass cia to sim_core_write*.

23 years agoFrom Mark Kettenis, include <signal.h>.
cagney [Thu, 8 Feb 2001 05:06:13 +0000 (05:06 +0000)]
From Mark Kettenis, include <signal.h>.

23 years ago* setup2.sgml: Add docs about domain accounts.
dj [Thu, 8 Feb 2001 04:12:48 +0000 (04:12 +0000)]
* setup2.sgml: Add docs about domain accounts.

23 years ago(pa_build_unwind_subspace): Don't call
amodra [Thu, 8 Feb 2001 00:15:36 +0000 (00:15 +0000)]
(pa_build_unwind_subspace): Don't call
md_number_to_chars with size > sizeof (valueT).

23 years agoIf stabs info is successfully found, do not attempt to find dwarf2 info
nickc [Wed, 7 Feb 2001 23:50:04 +0000 (23:50 +0000)]
If stabs info is successfully found, do not attempt to find dwarf2 info
before returning.

23 years ago* signal.cc (killpg): Correct first argument.
cgf [Wed, 7 Feb 2001 23:48:09 +0000 (23:48 +0000)]
* signal.cc (killpg): Correct first argument.

23 years agoignore common definitions of function symbols in unlinked archives
nickc [Wed, 7 Feb 2001 23:42:15 +0000 (23:42 +0000)]
ignore common definitions of function symbols in unlinked archives

23 years agoChange bfd_target_vector from an array to a pointer
nickc [Wed, 7 Feb 2001 23:16:21 +0000 (23:16 +0000)]
Change bfd_target_vector from an array to a pointer

23 years ago * autoload.cc: Add LoadDLLinitfunc for iphlpapi.dll.
corinna [Wed, 7 Feb 2001 22:50:49 +0000 (22:50 +0000)]
    * autoload.cc: Add LoadDLLinitfunc for iphlpapi.dll.
        Add LoadDLLfuncEx statements for GetIfTable@12 and GetIpAddrTable@12.
        * fhandler_socket.cc (fhandler_socket::ioctl): Move variable
        definitions to the beginning of the function to allow better debugging.
        Add handling for SIOCGIFHWADDR, SIOCGIFMETRIC and SIOCGIFMTU.
        * net.cc: Include iphlpapi.h.
        (get_2k_ifconf): Rewritten. Uses IP Helper API now.
        (get_nt_ifconf): Add handling for SIOCGIFHWADDR, SIOCGIFMETRIC
        and SIOCGIFMTU.
        (get_95_ifconf): Ditto. Renamed from `get_9x_ifconf'.
        (get_ifconf): Name loopback `lo' instead of `lo0' as in Linux.
        Add handling for SIOCGIFHWADDR, SIOCGIFMETRIC and SIOCGIFMTU.
        Call `get_95_ifconf' only on Windows 95, `get_nt_ifconf' only
        on Windows NT < Service Pack 3, `get_2k_ifconf otherwise.
        * include/asm/socket.h: Add defines for SIOCGIFHWADDR, SIOCGIFMETRIC
        and SIOCGIFMTU.
        * include/cygwin/if.h: Add `ifr_hwaddr', `ifr_metric' and `ifr_mtu'.
        (struct ifreq): Add `ifru_hwaddr'.

23 years agoAdd -u option toi readelf to display unwind info.
nickc [Wed, 7 Feb 2001 19:41:02 +0000 (19:41 +0000)]
Add -u option toi readelf to display unwind info.
Add support to display unwind info for IA64 binaries.

23 years agoFix printf fmt of long in remote-sim.c.
cagney [Wed, 7 Feb 2001 18:37:24 +0000 (18:37 +0000)]
Fix printf fmt of long in remote-sim.c.
mn10300-elf now buildable.

23 years ago2001-02-07 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Wed, 7 Feb 2001 18:11:08 +0000 (18:11 +0000)]
2001-02-07  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/sys/rtems/sys/types.h: Removed.

23 years ago* event-top.c: Remove duplicate #include <signal.h>.
kettenis [Wed, 7 Feb 2001 07:29:38 +0000 (07:29 +0000)]
* event-top.c: Remove duplicate #include <signal.h>.

23 years ago2001-02-06 H.J. Lu <hjl@gnu.org>
hjl [Wed, 7 Feb 2001 06:19:58 +0000 (06:19 +0000)]
2001-02-06  H.J. Lu  <hjl@gnu.org>

* elfxx-ia64.c (elfNN_ia64_dynamic_symbol_p): Only hidden and
internal symbols are not dynamic.
* elf64-alpha.c (alpha_elf_dynamic_symbol_p): Likewise.

23 years ago* sol-thread.c (restore_inferior_pid): Save the PID in a freshly
cagney [Wed, 7 Feb 2001 03:44:24 +0000 (03:44 +0000)]
* sol-thread.c (restore_inferior_pid): Save the PID in a freshly
allocated buffer.
(save_inferior_pid): Restore the PID from that tempoary
buffer. Delete the buffer.
* utils.c (make_cleanup_close, do_close_cleanup): Ditto for FD.

23 years ago* MAINTAINERS: Add ``The Obvious Fix Rule''.
cagney [Wed, 7 Feb 2001 03:11:44 +0000 (03:11 +0000)]
* MAINTAINERS: Add ``The Obvious Fix Rule''.

23 years agoAdd Michael Synder to Solaris/SPARC list.
cagney [Wed, 7 Feb 2001 03:08:44 +0000 (03:08 +0000)]
Add Michael Synder to Solaris/SPARC list.

23 years agoAddd set_gdbarch_data() method. Update register_gdbarch_data() interface.
cagney [Wed, 7 Feb 2001 02:17:48 +0000 (02:17 +0000)]
Addd set_gdbarch_data() method.  Update register_gdbarch_data() interface.

23 years agoRemove elf64-ia64.c from list of backend C files - it is auto-generated.
nickc [Wed, 7 Feb 2001 01:58:26 +0000 (01:58 +0000)]
Remove elf64-ia64.c from list of backend C files - it is auto-generated.

23 years ago* i960-desc.c: Update all the A macro definitions to the new
dj [Wed, 7 Feb 2001 01:16:05 +0000 (01:16 +0000)]
* i960-desc.c: Update all the A macro definitions to the new
stdc-sensitive versions that cgen would have used.

23 years ago2001-02-06 Fernando Nasser <fnasser@redhat.com>
fnasser [Wed, 7 Feb 2001 01:11:18 +0000 (01:11 +0000)]
2001-02-06  Fernando Nasser  <fnasser@redhat.com>

Originally from Martin Hunt <hunt@redhat.com>, with modifications
* library/srcwin.itb (_name): Check for errors when invoking
gdb_find_file.
* library/srctextwin.itb (_mtime_changed, location): Ditto.
* generic/gdbtk-cmds.c (gdb_find_file_command): Better error checking.
(full_lookup_symtab): Fix misleading comment.

23 years ago* configure: Output host type to stdout, not stderr.
dj [Wed, 7 Feb 2001 01:06:42 +0000 (01:06 +0000)]
* configure: Output host type to stdout, not stderr.

23 years ago2001-02-06 H.J. Lu <hjl@gnu.org>
hjl [Wed, 7 Feb 2001 01:04:58 +0000 (01:04 +0000)]
2001-02-06  H.J. Lu  <hjl@gnu.org>

* config/tc-ia64.h (TC_RELOC_RTSYM_LOC_FIXUP): Do fixup if
there is no relocation.

23 years ago * ser-unix.c (hardware_print_tty_state) [HAVE_SGTTY]: Call
msokolov [Tue, 6 Feb 2001 21:39:46 +0000 (21:39 +0000)]
* ser-unix.c (hardware_print_tty_state) [HAVE_SGTTY]: Call
fprintf_filtered with correct arguments.

23 years ago2001-02-06 Michael Snyder <msnyder@makita.cygnus.com>
msnyder [Tue, 6 Feb 2001 20:05:40 +0000 (20:05 +0000)]
2001-02-06  Michael Snyder  <msnyder@makita.cygnus.com>
Submitted by Paul Hilfinger (hilfingr@gnat.com)
and Andrei Petrov (and@genesyslab.com).
* findvar.c: Buffers of size MAX_REGISTER_RAW_SIZE or REGISTER_BYTES
must be allocated dynamically, since these are no longer constants.
* infcmd.c: Ditto.
* regcache.c: Ditto.
* remote.c: Ditto.
* sol-thread.c: Ditto.
* valops.c: Ditto.
* config/sparc/sun4sol2.mh (MH_CFLAGS): Add -I/usr/include/v9, as a
work-around for a missing Sun header file in solaris for sparc64.

23 years ago2001-02-04 Philip Blundell <philb@gnu.org>
pb [Tue, 6 Feb 2001 19:59:05 +0000 (19:59 +0000)]
2001-02-04  Philip Blundell  <philb@gnu.org>

* config/arm/linux.mh (NATDEPFILES): Add proc-service.o,
thread-db.o, lin-lwp.o; remove lin-thread.o, linux-thread.o.
* config/arm/nm-linux.h (PREPARE_TO_PROCEED, ATTACH_LWP,
GET_THREAD_SIGNALS): Define.
* arm-linux-nat.c (fill_gregset): Correct type of argument.
(supply_gregset): Likewise.
(fill_fpregset): Likewise.
(supply_fpregset): Likewise.

23 years ago2001-02-06 H.J. Lu <hjl@gnu.org>
hjl [Tue, 6 Feb 2001 19:43:19 +0000 (19:43 +0000)]
2001-02-06  H.J. Lu  <hjl@gnu.org>

* bfd/peicode.h (coff_swap_filehdr_in): Remove the e_magic
checking.
(pe_bfd_object_p): Rewrite with external_PEI_DOS_hdr and
external_PEI_IMAGE_hdr.

23 years ago2001-01-23 H.J. Lu <hjl@gnu.org>
hjl [Tue, 6 Feb 2001 19:35:48 +0000 (19:35 +0000)]
2001-01-23  H.J. Lu  <hjl@gnu.org>

* include/coff/pe.h (struct external_PEI_DOS_hdr): New.
(struct external_PEI_IMAGE_hdr): New.

23 years ago2001-02-06 Will Cohen <wcohen@redhat.com>
jjohnstn [Tue, 6 Feb 2001 19:17:20 +0000 (19:17 +0000)]
2001-02-06  Will Cohen  <wcohen@redhat.com>

        * rs6000/sim-errno.c (__errno): Removed.
        (_cerror): Use re-entrant version of errno.

23 years ago2001-02-06 H.J. Lu <hjl@gnu.org>
hjl [Tue, 6 Feb 2001 19:14:07 +0000 (19:14 +0000)]
2001-02-06  H.J. Lu  <hjl@gnu.org>

* config/tc-ia64.h (TC_RELOC_RTSYM_LOC_FIXUP): New. Defined.

* config/tc-ia64.c (md_parse_option): Only accept the valid
ia64 options on "-axxx".

23 years ago2001-02-06 H.J. Lu <hjl@gnu.org>
hjl [Tue, 6 Feb 2001 19:09:01 +0000 (19:09 +0000)]
2001-02-06  H.J. Lu  <hjl@gnu.org>

* config/tc-ia64.h (TC_RELOC_RTSYM_LOC_FIXUP): New. Defined.

* config/tc-ia64.c (md_parse_option): Only accept the valid
ia64 options on "-axxx".

23 years ago2001-02-06 Kazu Hirata <kazu@hxi.com>
kazu [Tue, 6 Feb 2001 19:04:20 +0000 (19:04 +0000)]
2001-02-06  Kazu Hirata  <kazu@hxi.com>

* elf-m10200.c: Fix formatting.

23 years ago * valops.c (value_cast): If casting a scalar to a pointer, do not
taylor [Tue, 6 Feb 2001 18:07:47 +0000 (18:07 +0000)]
* valops.c (value_cast): If casting a scalar to a pointer, do not
  issue a message about truncation unless it exceeds the length of
  an address, not the length of a pointer.  This is because what the
  user gives us is an address, not a pointer, and we will ultimately
  convert it (via ADDRESS_TO_POINTER) to a pointer, not truncate it
  to a pointer.  This allows things like "print *(int *)0x01000234"
  to work without generating a misleading message on a target having
  two byte pointers and four byte addresses.