OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
22 years agoSpecial handling of AIX xcoff text alignment fix.
trix [Thu, 20 Dec 2001 21:29:20 +0000 (21:29 +0000)]
Special handling of AIX xcoff text alignment fix.

22 years ago* gdbint.texinfo (TARGET_CHAR_SIGNED): Document.
jimb [Thu, 20 Dec 2001 21:16:31 +0000 (21:16 +0000)]
* gdbint.texinfo (TARGET_CHAR_SIGNED): Document.

22 years ago2001-12-20 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
drow [Thu, 20 Dec 2001 21:11:25 +0000 (21:11 +0000)]
2001-12-20  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
            Daniel Jacobowitz <drow@mvista.com>

        * config/tc-mips.c (file_mips_gp32): Initialize to invalid value.
        (file_mips_fp32): Likewise.
        (md_begin): Compatibility handling for -mipsN option.

22 years ago2001-12-20 Michael Snyder <msnyder@redhat.com>
msnyder [Thu, 20 Dec 2001 21:03:01 +0000 (21:03 +0000)]
2001-12-20  Michael Snyder  <msnyder@redhat.com>

* maint.c (maintenance_info_sections): Pass string argument to
print_section_table, so that it can be used to select sections.
(print_section_table): Change PTR to void *.  Look at string arg
to select sections by name and by flag attributes.
(match_bfd_flags): New function.
(print_bfd_flags): New function.

22 years ago 2001-12-19 Michael Snyder <msnyder@redhat.com>
msnyder [Thu, 20 Dec 2001 20:22:16 +0000 (20:22 +0000)]
 2001-12-19  Michael Snyder  <msnyder@redhat.com>

* elf32-i386.c (elf_i386_grok_psinfo): Fix probable copy-and-paste
error: target is i386 (not mips), and size of descdata is 124
(not 128).

22 years ago* include/cygwin/version.h: Bump API minor version for below changes.
cgf [Thu, 20 Dec 2001 18:54:28 +0000 (18:54 +0000)]
* include/cygwin/version.h: Bump API minor version for below changes.

22 years ago * cli/cli-decode.c (add_cmd): Initialize pre_show_hook in
law [Thu, 20 Dec 2001 18:35:29 +0000 (18:35 +0000)]
* cli/cli-decode.c (add_cmd): Initialize pre_show_hook in
the new command.

22 years ago * cpp_variable.test: Catch non-test calls in case we
kseitz [Thu, 20 Dec 2001 18:28:35 +0000 (18:28 +0000)]
* cpp_variable.test: Catch non-test calls in case we
could not run.

22 years ago* remote.c (struct packet_reg): Add field in_g_packet.
cagney [Thu, 20 Dec 2001 17:39:57 +0000 (17:39 +0000)]
* remote.c (struct packet_reg): Add field in_g_packet.
(struct remote_state): Rename field g_packet to regs;
(free_remote_state): Update.
(init_remote_state): Add pseudo-registers to table.  Initialize
in_g_packet.  Drop sentinal from table.
(packet_reg_from_regnum, packet_reg_from_pnum): Update.
(remote_fetch_registers): Handle registers not in the g-packet.
(remote_store_registers): Ditto.

22 years ago * compile.c: Fix formatting.
kazu [Thu, 20 Dec 2001 17:36:23 +0000 (17:36 +0000)]
* compile.c: Fix formatting.

22 years ago* gas/sh/err-at.s: New test.
aoliva [Thu, 20 Dec 2001 17:28:20 +0000 (17:28 +0000)]
* gas/sh/err-at.s: New test.

22 years ago* config/tc-sh.c (parse_at): Reject @(r0) and @(r0,).
aoliva [Thu, 20 Dec 2001 17:28:12 +0000 (17:28 +0000)]
* config/tc-sh.c (parse_at): Reject @(r0) and @(r0,).

22 years ago* gdbarch.sh (TARGET_CHAR_SIGNED): Do not specify the print
cagney [Thu, 20 Dec 2001 17:23:06 +0000 (17:23 +0000)]
* gdbarch.sh (TARGET_CHAR_SIGNED): Do not specify the print
format.

22 years ago * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
law [Thu, 20 Dec 2001 16:53:52 +0000 (16:53 +0000)]
    * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"

22 years ago * gdb.base/annota1.exp: Expect failure for hpux11 when posting
law [Thu, 20 Dec 2001 16:52:07 +0000 (16:52 +0000)]
    * gdb.base/annota1.exp: Expect failure for hpux11 when posting
        a SIGTRAP to the inferior.

22 years ago * compile.c: Fix comment typos.
kazu [Thu, 20 Dec 2001 16:47:52 +0000 (16:47 +0000)]
* compile.c: Fix comment typos.

22 years ago * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
corinna [Thu, 20 Dec 2001 16:06:11 +0000 (16:06 +0000)]
* gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
Substitute call to target_link by call to gdb_compile.

22 years agoWhen --wide is used, do not truncate symbol names.
nickc [Thu, 20 Dec 2001 11:20:14 +0000 (11:20 +0000)]
When --wide is used, do not truncate symbol names.

22 years ago* s390-tdep.c (s390_pop_frame_regular): Make sure the saved_regs
jimb [Thu, 20 Dec 2001 08:55:31 +0000 (08:55 +0000)]
* s390-tdep.c (s390_pop_frame_regular): Make sure the saved_regs
array is actually set before we try to use it.

22 years ago* s390-tdep.c (s390_frame_saved_pc_nofix): If we get the saved PC
jimb [Thu, 20 Dec 2001 08:54:02 +0000 (08:54 +0000)]
* s390-tdep.c (s390_frame_saved_pc_nofix): If we get the saved PC
out of the return address register, cache that in the frame's
extra info, just as if we'd gotten it from the saved regs array;
that way, it's not a lie to set the saved_pc_valid flag.

22 years ago* s390-tdep.c (s390_get_frame_info): Give orig_sp a reasonable
jimb [Thu, 20 Dec 2001 08:52:37 +0000 (08:52 +0000)]
* s390-tdep.c (s390_get_frame_info): Give orig_sp a reasonable
value, even when fextra_info->stack_bought can't be trusted,

22 years ago* s390-tdep.c (s390_readinstruction): Don't call
jimb [Thu, 20 Dec 2001 08:50:46 +0000 (08:50 +0000)]
* s390-tdep.c (s390_readinstruction): Don't call
info->read_memory_func to read zero bytes.  Some targets'
xfer_memory functions can't cope with that.

22 years ago* gdbarch.sh (TARGET_CHAR_SIGNED): New macro.
jimb [Thu, 20 Dec 2001 08:33:34 +0000 (08:33 +0000)]
* gdbarch.sh (TARGET_CHAR_SIGNED): New macro.
* gdbarch.c, gdbarch.h: Regenerated.
* gdbtypes.c (build_gdbtypes): If TARGET_CHAR_SIGNED is zero,
set the TYPE_FLAG_UNSIGNED bit on the type.
* s390-tdep.c (s390_gdbarch_init): On the S/390, characters
are unsigned by default.
* rs6000-tdep.c (rs6000_gdbarch_init): Same for PowerPC and
RS6000.

22 years ago* config/tc-ppc.c (md_parse_option): Make -maltivec default
mrg [Thu, 20 Dec 2001 07:34:43 +0000 (07:34 +0000)]
* config/tc-ppc.c (md_parse_option): Make -maltivec default
to generating PowerPC instructions.

22 years ago * configure.tgt (mips*-dec-netbsd*): Delete alias for
amodra [Thu, 20 Dec 2001 05:40:08 +0000 (05:40 +0000)]
* configure.tgt (mips*-dec-netbsd*): Delete alias for
mips*el-*-netbsd*.
(sparc64-*-netbsd*): Add elf32_sparc to targ_extra_emuls.

22 years ago * configure.in (mips-dec-netbsd*): Delete.
amodra [Thu, 20 Dec 2001 05:39:34 +0000 (05:39 +0000)]
* configure.in (mips-dec-netbsd*): Delete.
* configure: Regenerate.

22 years ago * config.bfd (mips-dec-netbsd*): Delete alias for mips*el-*-netbsd*.
amodra [Thu, 20 Dec 2001 05:38:50 +0000 (05:38 +0000)]
* config.bfd (mips-dec-netbsd*): Delete alias for mips*el-*-netbsd*.

22 years ago* gdbarch.sh (TARGET_CHAR_SIGNED): New macro.
jimb [Thu, 20 Dec 2001 03:26:07 +0000 (03:26 +0000)]
* gdbarch.sh (TARGET_CHAR_SIGNED): New macro.
* gdbarch.c, gdbarch.h: Regenerated.
* gdbtypes.c (build_gdbtypes): If TARGET_CHAR_SIGNED is zero,
set the TYPE_FLAG_UNSIGNED bit on the type.
* s390-tdep.c (s390_gdbarch_init): On the S/390, characters
are unsigned by default.
* rs6000-tdep.c (rs6000_gdbarch_init): Same for PowerPC and
RS6000.

22 years ago * configure.tgt (arm-*-netbsdelf*): Add target.
amodra [Thu, 20 Dec 2001 03:19:43 +0000 (03:19 +0000)]
* configure.tgt (arm-*-netbsdelf*): Add target.
(arm-*-netbsd*): Add armelf and armelf_nbsd to targ_extra_emuls.
* emulparams/armelf_nbsd.sh: Added.
* Makefile.am: Add rules for earmelf_nbsd.
* Makefile.in: Regenerate.

22 years ago * configure.in (arm-*-netbsdelf*): Add target.
amodra [Thu, 20 Dec 2001 03:19:03 +0000 (03:19 +0000)]
* configure.in (arm-*-netbsdelf*): Add target.
* configure: Regenerate.

22 years ago * config.bfd (arm-*-netbsdelf*): Add target.
amodra [Thu, 20 Dec 2001 03:18:22 +0000 (03:18 +0000)]
* config.bfd (arm-*-netbsdelf*): Add target.
* configure.in: Include netbsd-core.lo for native arm-*-netbsd*.
* configure: Regenerate.

22 years agoRemove obsolete include.
cgf [Thu, 20 Dec 2001 03:03:59 +0000 (03:03 +0000)]
Remove obsolete include.

22 years ago* Makefile.in (VPATH): Add regex directory.
cgf [Thu, 20 Dec 2001 02:55:07 +0000 (02:55 +0000)]
* Makefile.in (VPATH): Add regex directory.
(NM): new variable.
(OBSOLETE_FUNCTIONS): Ditto.
(NEW_FUNCTIONS): Ditto.
(install-headers): Install regex.h.
(install-man): New target.
(install): Use new target.
(DLL_OFILES): Add v8_reg* stuff.
(new-cygwin1.dll): Eliminate stamp-cygwin-lib creation.
(libcygwin.a): Remove obsolete functions from import lib.  Add new functions.
* configure.in: Detect 'nm' tool.
* configure: Regenerate.
* cygwin.din: Export posix_reg* functions.  Eliminate export of v8 reg*
functions.  This is now handled in object files themselves.
* regex/*: New files.
* regexp/v8_*.c: New files, renamed from non v8_ equivalents.

22 years ago*** empty log message ***
gdbadmin [Thu, 20 Dec 2001 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago2001-12-19 Elena Zannoni <ezannoni@redhat.com>
ezannoni [Wed, 19 Dec 2001 23:54:26 +0000 (23:54 +0000)]
2001-12-19  Elena Zannoni  <ezannoni@redhat.com>

        * corefile.c (do_captured_read_memory_integer,
        safe_read_memory_integer): New functions.
        * gdbcore.h (safe_read_memory_integer): Export.
        * arm-tdep.c (arm_scan_prologue): Use safe_read_memory_integer,
        to read the frame value, to capture calls to error().

22 years ago * elfcode.h (elf_slurp_symbol_table): Test elf_elfsections for NULL,
amodra [Wed, 19 Dec 2001 23:54:26 +0000 (23:54 +0000)]
* elfcode.h (elf_slurp_symbol_table): Test elf_elfsections for NULL,
as can happen with a core file, before dereferencing.

22 years ago * libm/machine/configure.in (HAVE_LIBM_MACHINE_DIR): New conditional.
fitzsim [Wed, 19 Dec 2001 23:41:46 +0000 (23:41 +0000)]
* libm/machine/configure.in (HAVE_LIBM_MACHINE_DIR): New conditional.
* libm/machine/Makefile.am [HAVE_LIBM_MACHINE_DIR] (LIBM_MACHLIB): New variable.

22 years ago* s390-tdep.c (s390_register_name): S390_LAST_REGNUM is, in fact,
jimb [Wed, 19 Dec 2001 23:07:52 +0000 (23:07 +0000)]
* s390-tdep.c (s390_register_name): S390_LAST_REGNUM is, in fact,
the last register number, not one greater than the last register
number.

* s390-tdep.c (s390_register_virtual_type): Replace clever but
incorrect range comparison with correct, legible equivalent.

22 years agodaily update
amodra [Wed, 19 Dec 2001 23:00:04 +0000 (23:00 +0000)]
daily update

22 years ago * mi-var-display.exp: char* variables have a child. Update all
kseitz [Wed, 19 Dec 2001 22:57:46 +0000 (22:57 +0000)]
* mi-var-display.exp: char* variables have a child. Update all
occurences.
* mi0-var-display.exp: Likewise.

22 years ago* s390-tdep.c (s390_gdbarch_init): Revert accidentally committed
jimb [Wed, 19 Dec 2001 22:32:35 +0000 (22:32 +0000)]
* s390-tdep.c (s390_gdbarch_init): Revert accidentally committed
change.

22 years ago* s390-tdep.c (s390_register_raw_size): Replace unnecessarily
jimb [Wed, 19 Dec 2001 22:24:49 +0000 (22:24 +0000)]
* s390-tdep.c (s390_register_raw_size): Replace unnecessarily
obscure range comparison with legible equivalent.

22 years ago * gdb.base/break.exp: Fix HP specific search string when testing
law [Wed, 19 Dec 2001 21:08:44 +0000 (21:08 +0000)]
    * gdb.base/break.exp: Fix HP specific search string when testing
        backtracing in a called function.

        * gdb.base/constvars.exp: Only set lang to C++ if we're
        compiling the test with HP's compilers.
        * gdb.base/volatile.exp: Similarly.

22 years ago * config/pa/tm-hppa.h (STORE_RETURN_VALUE): Use hppa_store_return_value.
law [Wed, 19 Dec 2001 20:21:43 +0000 (20:21 +0000)]
    * config/pa/tm-hppa.h (STORE_RETURN_VALUE): Use hppa_store_return_value.
        (EXTRACT_RETURN_VALUE): Similarly.
        * hppa-tdep.c (hppa_store_return_value): New function.
        (hppa_extract_return_value): New function.

22 years agoFix up comments.
cgf [Wed, 19 Dec 2001 20:10:02 +0000 (20:10 +0000)]
Fix up comments.

22 years ago * configure.host: Add rules for x86_64-*linux-gnu. Change
aj [Wed, 19 Dec 2001 19:58:28 +0000 (19:58 +0000)]
* configure.host: Add rules for x86_64-*linux-gnu.  Change
s390x-linux entry to use gcc to report configuration, replace gcc
with $CC in s390-linux

22 years ago * infttrate.c (child_acknowledge_created_inferior): Pass
law [Wed, 19 Dec 2001 19:16:49 +0000 (19:16 +0000)]
    * infttrate.c (child_acknowledge_created_inferior): Pass
        correct argument to add_thread.
        (update_thread_state_after_attach): Likewise.

22 years ago2001-12-19 Fernando Nasser <fnasser@redhat.com>
fnasser [Wed, 19 Dec 2001 17:57:41 +0000 (17:57 +0000)]
2001-12-19  Fernando Nasser  <fnasser@redhat.com>

* config/arm/tm-arm.h: Properly define SOFTWARE_SINGLE_STEP_P.
Always define SOFTWARE_SINGLE_STEP.
* config/arm/tm-embed.h: Properly define SOFTWARE_SINGLE_STEP_P.
* arm-tdep.c (arm_get_next_pc, thumb_get_next_pc, bitcount,
shifted_reg_val): Always compile these functions.
(arm_software_single_step): Fix second argument in function calls.

22 years agoAdd function gdbarch_info_init() replaces memset().
cagney [Wed, 19 Dec 2001 14:14:52 +0000 (14:14 +0000)]
Add function gdbarch_info_init() replaces memset().

22 years ago * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): If new_size
jakub [Wed, 19 Dec 2001 11:48:14 +0000 (11:48 +0000)]
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): If new_size
is 0, temporarily grow it to minimal CIE size.
(_bfd_elf_write_section_eh_frame): If input .eh_frame section would
end up empty, build a fake minimal CIE.

22 years ago * libm/machine/Makefile.am: Change rules to create correct lib.a.
corinna [Wed, 19 Dec 2001 09:22:34 +0000 (09:22 +0000)]
* libm/machine/Makefile.am: Change rules to create correct lib.a.
* libm/machine/Makefile.in: Regenerated through automake.

22 years ago * ld.texinfo (VERSION): Fix markup.
aj [Wed, 19 Dec 2001 09:20:22 +0000 (09:20 +0000)]
* ld.texinfo (VERSION): Fix markup.

22 years ago* gdb.base/printcmds.exp: Expect the null character to be printed
jimb [Wed, 19 Dec 2001 06:29:44 +0000 (06:29 +0000)]
* gdb.base/printcmds.exp: Expect the null character to be printed
as '\0', and the '\013' to be printed as '\v'.
* gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
* gdb.base/setvar.exp: Same.

22 years ago* c-lang.c (c_emit_char): Print ASCII 11 as '\v', to match
jimb [Wed, 19 Dec 2001 06:29:17 +0000 (06:29 +0000)]
* c-lang.c (c_emit_char): Print ASCII 11 as '\v', to match
ISO C, and our parser.  Print ASCII 0 as '\0', since that's what
people are used to seeing.

22 years ago2001-12-18 Michael Snyder <msnyder@redhat.com>
msnyder [Wed, 19 Dec 2001 05:18:34 +0000 (05:18 +0000)]
2001-12-18  Michael Snyder  <msnyder@redhat.com>

        * objcopy.c (copy_file): Accept corefiles (format bfd_core).
        (copy_object): Don't set the start address or flags of a core file.
        (copy_section): Don't relocate a core file.  Don't copy contents
        if the input section has the contents flag set, but the output
        section does not (which happens with the fake 'note' pseudo-
        sections that BFD creates for corefiles).

22 years ago2001-12-18 Michael Snyder <msnyder@redhat.com>
msnyder [Wed, 19 Dec 2001 05:18:01 +0000 (05:18 +0000)]
2001-12-18  Michael Snyder  <msnyder@redhat.com>

        * objcopy.c (copy_file): Accept corefiles (format bfd_core).
        (copy_object): Don't set the start address or flags of a core file.
        (copy_section): Don't relocate a core file.  Don't copy contents
        if the input section has the contents flag set, but the output
        section does not (which happens with the fake 'note' pseudo-
        sections that BFD creates for corefiles).

22 years ago2001-12-18 Michael Snyder <msnyder@redhat.com>
msnyder [Wed, 19 Dec 2001 05:16:44 +0000 (05:16 +0000)]
2001-12-18  Michael Snyder  <msnyder@redhat.com>

        * elf.c (assign_file_positions_for_segments): Don't sort PT_NOTE
        sections of corefiles.  Also it makes no sense to sort if count == 1.

22 years ago* Makefile.in: Don't attempt to use zlib directory as a dependency if it
cgf [Wed, 19 Dec 2001 03:35:36 +0000 (03:35 +0000)]
* Makefile.in: Don't attempt to use zlib directory as a dependency if it
doesn't exist.

22 years ago* c-lang.c (c_printstr, c_builtin_types, cplus_builtin_types):
jimb [Wed, 19 Dec 2001 03:07:08 +0000 (03:07 +0000)]
* c-lang.c (c_printstr, c_builtin_types, cplus_builtin_types):
Fix indentation.

22 years ago2001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
fitzsim [Wed, 19 Dec 2001 03:03:29 +0000 (03:03 +0000)]
2001-12-18  Thomas Fitzsimmons  <fitzsim@redhat.com>

* libc/machine/i386/f_*: Move to libm/machine/i386.

2001-12-18      Joel Sherrill <joel@OARcorp.com>

* libm/machine/Makefile.am: Add dummy doc stub so
"make info" works.

2001-12-17 Joel Sherrill <joel@OARcorp.com>

* libc/include/sys/types.h (ino_t): RTEMS uses long also.

22 years ago2001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
fitzsim [Wed, 19 Dec 2001 03:03:17 +0000 (03:03 +0000)]
2001-12-18  Thomas Fitzsimmons  <fitzsim@redhat.com>

* libc/machine/i386/f_*: Move to libm/machine/i386.

2001-12-18      Joel Sherrill <joel@OARcorp.com>

* libm/machine/Makefile.am: Add dummy doc stub so
"make info" works.

2001-12-17 Joel Sherrill <joel@OARcorp.com>

* libc/include/sys/types.h (ino_t): RTEMS uses long also.

22 years ago* Makefile.in (c-exp.tab.o): Delete duplicate build rule. Fix
jimb [Wed, 19 Dec 2001 02:45:35 +0000 (02:45 +0000)]
* Makefile.in (c-exp.tab.o): Delete duplicate build rule.  Fix
dependency list on remaining build rule.

22 years ago * config.bfd (bfd_elf32_ia64_hpux_big_vec): New vector for
amodra [Wed, 19 Dec 2001 02:18:20 +0000 (02:18 +0000)]
* config.bfd (bfd_elf32_ia64_hpux_big_vec): New vector for
ia64*-*-hpux* target.
(bfd_elf64_ia64_hpux_big_vec): Likewise.
* targets.c: Ditto.
* configure.in: Ditto.
* configure: Regenerate
* elfxx-ia64.c (elfNN_ia64_final_write_processing): Replace use of
alloca with bfd_malloc.
(get_local_sym_hash): Likewise.
(elfNN_hpux_post_process_headers): New function.
#include elfNN-target.h again with values for IA64 HP-UX vector.

22 years ago*** empty log message ***
amodra [Wed, 19 Dec 2001 02:14:37 +0000 (02:14 +0000)]
*** empty log message ***

22 years ago2001-12-18 Dave Brolley <brolley@redhat.com>
brolley [Wed, 19 Dec 2001 01:06:15 +0000 (01:06 +0000)]
2001-12-18  Dave Brolley  <brolley@redhat.com>

* cgen-ops.h (ROLHI): New macro.
(RORHI): New macro.

22 years ago*** empty log message ***
gdbadmin [Wed, 19 Dec 2001 00:00:07 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
amodra [Tue, 18 Dec 2001 23:00:05 +0000 (23:00 +0000)]
daily update

22 years ago * Makefile.am (DOCDIR): Force to empty string when doc
fitzsim [Tue, 18 Dec 2001 22:52:51 +0000 (22:52 +0000)]
* Makefile.am (DOCDIR): Force to empty string when doc
directory is not present.

22 years ago * library/memwin.itb (incr_addr): Fix typo.
kseitz [Tue, 18 Dec 2001 21:35:55 +0000 (21:35 +0000)]
* library/memwin.itb (incr_addr): Fix typo.

22 years ago2001-12-18 H.J. Lu <hjl@gnu.org>
hjl [Tue, 18 Dec 2001 19:03:21 +0000 (19:03 +0000)]
2001-12-18  H.J. Lu <hjl@gnu.org>

* elf.c (_bfd_elf_copy_private_bfd_data): Also copy GP.

22 years ago2001-12-18 Martin M. Hunt <hunt@redhat.com>
hunt [Tue, 18 Dec 2001 18:54:18 +0000 (18:54 +0000)]
2001-12-18  Martin M. Hunt  <hunt@redhat.com>

* ser-tcp.c (tcp_open): Disable Nagle algorithm which
improves performance in some cases.

22 years ago2001-12-18 H.J. Lu <hjl@gnu.org>
hjl [Tue, 18 Dec 2001 18:11:52 +0000 (18:11 +0000)]
2001-12-18  H.J. Lu <hjl@gnu.org>

* elf.c (_bfd_elf_copy_private_bfd_data): Update comments.

22 years ago2001-12-18 H.J. Lu <hjl@gnu.org>
hjl [Tue, 18 Dec 2001 17:59:56 +0000 (17:59 +0000)]
2001-12-18  H.J. Lu <hjl@gnu.org>

* elf-bfd.h (_bfd_elf_copy_private_bfd_data): New. Prototype.
(_bfd_mips_elf_copy_private_bfd_data): Removed.

* elf.c (_bfd_elf_copy_private_bfd_data): New. Copy e_flags in
the ELF header.

* elf32-i370.c (??_elf_copy_private_bfd_data): Removed.
(bfd_elf??_bfd_copy_private_bfd_data): Removed.
* elf32-m32r.c: Likewise.
* elf32-m68k.c: Likewise.
* elf32-mcore.c: Likewise.
* elf32-mips.c: Likewise.
* elf32-ppc.c: Likewise.
* elf32-v850.c: Likewise.
* elf64-ppc.c: Likewise.
* elf64-sparc.c: Likewise.
* elfxx-ia64.c: Likewise.

* elf64-mips.c (bfd_elf64_bfd_copy_private_bfd_data): Removed.

* elfxx-target.h (bfd_elfNN_bfd_copy_private_bfd_data): Defined
to _bfd_elf_copy_private_bfd_data.

22 years ago * elf32-s390 (elf_s390_check_relocs): Pass addend to
sky [Tue, 18 Dec 2001 16:21:37 +0000 (16:21 +0000)]
    * elf32-s390 (elf_s390_check_relocs): Pass addend to
        gc_record_vtentry.
        * elf64-s390 (elf_s390_check_relocs): Likewise.
        Fix by Andreas Jaeger <aj@suse.de>.

22 years ago * readelf.c (get_machine_flags): Recognize header flags for ABI and
ths [Tue, 18 Dec 2001 15:08:05 +0000 (15:08 +0000)]
* readelf.c (get_machine_flags): Recognize header flags for ABI and
ASE extensions. More robust code for ISA checking. Ignore empty fields
in header flags for GNU extensions.

22 years agoCorrectly match all NetBSD/mips hosts.
nickc [Tue, 18 Dec 2001 14:42:02 +0000 (14:42 +0000)]
Correctly match all NetBSD/mips hosts.

22 years agoRemove redundant definition.
nickc [Tue, 18 Dec 2001 14:35:34 +0000 (14:35 +0000)]
Remove redundant definition.

22 years agoFix endian detection for configuration of sh-linux builds
nickc [Tue, 18 Dec 2001 14:33:36 +0000 (14:33 +0000)]
Fix endian detection for configuration of sh-linux builds
Tidy up dates in ChangeLog.

22 years ago* ppc-opc.c (PPCVEC): Include PPC_OPCODE_ANY.
mrg [Tue, 18 Dec 2001 14:07:03 +0000 (14:07 +0000)]
* ppc-opc.c (PPCVEC): Include PPC_OPCODE_ANY.

22 years ago* config.bfd (m68*-*-netbsdelf*): New target.
mrg [Tue, 18 Dec 2001 13:26:22 +0000 (13:26 +0000)]
* config.bfd (m68*-*-netbsdelf*): New target.
(m68*-*-netbsd): Also include bfd_elf32_m68k_vec.
(m68*-*-netbsdaout*): New alias for m68*-*-netbsd.

* configure.in (m68k-*-netbsdelf*): New target.
(m68k-*-netbsd*): Also include ELF support.
(m68k-*-netbsdaout*): New alias for m68*-*-netbsd*.
* configure: Regenerate.

* Makefile.am (ALL_EMULATIONS): Add m68kelfnbsd.o.
(m68kelfnbsd.c): New rule.
* Makefile.in: Regenerate.
* configure.tgt (m68*-hp-netbsd*): Renamed to ..
(m68*-*-netbsd*4k*): .. this.
(m68*-*-netbsdelf*): New target.
(m68*-*-netbsd*): Also include ELF support.
(m68*-*-netbsdaout*): New alias for m68*-*-netbsd*.
* emulparams/m68kelfnbsd.sh: New emulation.

22 years ago * ldgram.y (vers_node): Support anonymous version tags.
jakub [Tue, 18 Dec 2001 12:15:29 +0000 (12:15 +0000)]
* ldgram.y (vers_node): Support anonymous version tags.
* ldlang.c (lang_register_vers_node): Ensure anonymous version
tag is not defined together with non-anonymous versions.
* ld.texinfo: Document it.

* elflink.h (size_dynamic_sections): Skip anonymous version tag.
(elf_link_assign_sym_version): Don't count anonymous version tag.

22 years ago * objcopy.c (copy_archive): Set output bfd format outside the loop.
amodra [Tue, 18 Dec 2001 11:54:10 +0000 (11:54 +0000)]
* objcopy.c (copy_archive): Set output bfd format outside the loop.

22 years ago * elf-eh-frame.c (struct cie): Add make_lsda_relative.
jakub [Tue, 18 Dec 2001 11:49:50 +0000 (11:49 +0000)]
* elf-eh-frame.c (struct cie): Add make_lsda_relative.
(struct eh_cie_fde): Add lsda_encoding, lsda_offset,
make_lsda_relative.
(read_value, write_value): New.
(_bfd_elf_discard_section_eh_frame): Inicialize
lsda_encoding, lsda_offset and make_lsda_relative.
(_bfd_elf_eh_frame_section_offset): If make_lsda_relative,
request no dynamic reloc for LSDA field of FDE.
(_bfd_elf_write_section_eh_frame): Handle make_lsda_relative.
If a non-DW_EH_PE_absptr value is 0, don't adjust it by base
or pcrel.  Fix address computation for DW_EH_PE_pcrel relocs.
Update LSDA field if LSDA encoding is DW_EH_PE_pcrel, because
. might have changed due to deleted FDE or CIEs.

22 years ago * elf-strtab.c (struct elf_strtab_hash_entry): Add u.next.
jakub [Tue, 18 Dec 2001 11:47:57 +0000 (11:47 +0000)]
* elf-strtab.c (struct elf_strtab_hash_entry): Add u.next.
(last_eq): Remove.
(_bfd_elf_strtab_finalize): Don't use a hash table for last
character chains, instead use an array.

22 years ago * gas/cris/rd-dw2-10.d: Tweak for change in gas dwarf2 line number
hp [Tue, 18 Dec 2001 10:40:12 +0000 (10:40 +0000)]
* gas/cris/rd-dw2-10.d: Tweak for change in gas dwarf2 line number
handling.

22 years agoImport Turkish translation.
nickc [Tue, 18 Dec 2001 10:35:26 +0000 (10:35 +0000)]
Import Turkish translation.

22 years agoImport japanese translation from translation project.
nickc [Tue, 18 Dec 2001 10:33:36 +0000 (10:33 +0000)]
Import japanese translation from translation project.

22 years ago * addr2line.c (main): Protoype.
ths [Tue, 18 Dec 2001 08:22:30 +0000 (08:22 +0000)]
* addr2line.c (main): Protoype.
* ar.c (main): Protoype.
* nm.c (main): Protoype.
* objcopy.c (main): Protoype.
* objdump.c (main): Protoype.
* size.c (main): Protoype.
* strings.c (main): Protoype.
* gasp.c (main): Protoype.

22 years ago * elf.c (elfcore_netbsd_get_lwpid): New function.
amodra [Tue, 18 Dec 2001 07:53:11 +0000 (07:53 +0000)]
* elf.c (elfcore_netbsd_get_lwpid): New function.
(elfcore_grok_netbsd_procinfo): New function.
(elfcore_grok_netbsd_note): New function.
(elfcore_read_notes): Call elfcore_grok_netbsd_note to process
NetBSD ELF core file notes.

22 years ago * config.sub: Import latest version.
amodra [Tue, 18 Dec 2001 07:20:15 +0000 (07:20 +0000)]
* config.sub: Import latest version.
* config.guess: Likewise.

22 years ago * elfcode.h (struct bfd_preserve): New.
amodra [Tue, 18 Dec 2001 07:12:17 +0000 (07:12 +0000)]
* elfcode.h (struct bfd_preserve): New.
(elf_object_p): Replace preserved_* vars with instance of above.
Save and restore arch_info pointer rather than arch, mach so that
more cases can be restored.  Save and restore new section_tail,
section_htab structure, and init appropriately.  Move "rest of
section header" code so that i_shdrp needs no NULL initialisation.
Free old section_htab on success.
* elfcore.h (elf_core_file_p): Likewise.

22 years ago * libc/stdlib/Makefile.am (LIB_COMPILE): Change to equal
fitzsim [Tue, 18 Dec 2001 02:22:54 +0000 (02:22 +0000)]
* libc/stdlib/Makefile.am (LIB_COMPILE): Change to equal
$(COMPILE) rather than $(CC).
* libc/stdio/Makefile.am (LIB_COMPILE): Likewise.
(vfprintf.$(oext)): Remove $(INCLUDES), made redundant by
$(LIB_COMPILE) change.
(vfiprintf.$(oext)): Likewise.

22 years agoFix email address.
trix [Tue, 18 Dec 2001 00:55:39 +0000 (00:55 +0000)]
Fix email address.

22 years agoMinimal handle .typchk and .except section.
trix [Tue, 18 Dec 2001 00:32:32 +0000 (00:32 +0000)]
Minimal handle .typchk and .except section.

22 years ago * config/tc-alpha.c (alpha_handle_align): Encode unop with RB as $sp.
rth [Tue, 18 Dec 2001 00:24:46 +0000 (00:24 +0000)]
    * config/tc-alpha.c (alpha_handle_align): Encode unop with RB as $sp.

22 years ago * alpha-opc.c (unop): Encode with RB as $sp.
rth [Tue, 18 Dec 2001 00:22:59 +0000 (00:22 +0000)]
    * alpha-opc.c (unop): Encode with RB as $sp.

22 years ago*** empty log message ***
gdbadmin [Tue, 18 Dec 2001 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago * Makefile.am: Add rules for eelf64alpha_nbsd.
rth [Mon, 17 Dec 2001 23:54:57 +0000 (23:54 +0000)]
    * Makefile.am: Add rules for eelf64alpha_nbsd.
        * Makefile.in: Regenerate.
        * configure.tgt (alpha*-*-netbsd*): Set
        targ_emul to elf64alpha_nbsd.
        * emulparams/elf64alpha_nbsd.sh: Added.

22 years agodaily update
amodra [Mon, 17 Dec 2001 23:00:05 +0000 (23:00 +0000)]
daily update

22 years ago* gdb.base/completion.exp: Rather than completing very long
jimb [Mon, 17 Dec 2001 22:58:41 +0000 (22:58 +0000)]
* gdb.base/completion.exp: Rather than completing very long
filenames, which can make the readline library produce output we
don't recognize, cd to the directory first, and then complete
using nice, short relative paths.