external/binutils.git
23 years ago2001-10-24 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Wed, 24 Oct 2001 21:08:34 +0000 (21:08 +0000)]
2001-10-24  Chris Demetriou  <cgd@broadcom.com>

        * config/tc-mips.c (hilo_interlocks, cop_interlocks): Make
        these evaluate to true if mips_arch indicates SB-1.

23 years agomerge from gcc
DJ Delorie [Wed, 24 Oct 2001 20:32:09 +0000 (20:32 +0000)]
merge from gcc

23 years ago2001-10-24 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Wed, 24 Oct 2001 20:12:36 +0000 (20:12 +0000)]
2001-10-24  Chris Demetriou  <cgd@broadcom.com>

        * gas/mips/mips-abi32-pic.s: Use ".word" rather than ".4byte".
        Delete use of ".size".
        * 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.

23 years ago2001-10-24 Jeff Holcomb <jeffh@redhat.com>
Jeff Holcomb [Wed, 24 Oct 2001 20:02:25 +0000 (20:02 +0000)]
2001-10-24  Jeff Holcomb  <jeffh@redhat.com>

Makefile.in (all-bison): Don't depend on texinfo.

23 years ago(start_psymtab_common): Revert change accidentally included in last
Jim Blandy [Wed, 24 Oct 2001 17:13:12 +0000 (17:13 +0000)]
(start_psymtab_common): Revert change accidentally included in last
commit.

23 years agoIsolate STABS readers' use of the `textlow' and `texthigh' fields
Jim Blandy [Wed, 24 Oct 2001 17:10:18 +0000 (17:10 +0000)]
Isolate STABS readers' use of the `textlow' and `texthigh' fields
of `struct partial_symtab' to only a few locations.  This change
is not supposed to affect the way the values are computed, only
where they live.

* dbxread.c (struct symloc): Add `textlow' and `texthigh' fields
to the reader-specific structure.
* mdebugread.c (struct symloc): Same.
* dbxread.c (TEXTLOW, TEXTHIGH): New accessor macros.
* mdebugread.c (TEXTLOW, TEXTHIGH): Same.
* dbxread.c (dbx_symfile_read): After we've built all our partial
symbol tables, set each partial symtab's `textlow' and `texthigh'
fields from our reader-specific structure.
* mdebugread.c (mdebug_build_psymtabs): Same.
* dbxread.c (start_psymtab): Initialize the reader-specific
structure's `textlow' and `texthigh' from the new psymtab's.
* mdebugread.c (parse_partial_symbols, new_psymtab): Same.
* dbxread.c (read_dbx_symtab, end_psymtab, read_ofile_symtab): Use
the reader-specific `textlow' and `texthigh', not the generic
psymtab fields.
* mdebugread.c (parse_lines, parse_partial_symbols,
psymtab_to_symtab_1): Same.
* partial-stab.h: Same.

23 years ago * elf32-cris.c (cris_reloc_type_lookup): Change loop to use
Hans-Peter Nilsson [Wed, 24 Oct 2001 03:39:54 +0000 (03:39 +0000)]
* elf32-cris.c (cris_reloc_type_lookup): Change loop to use
unsigned, increasing index.

23 years agoFix -Wformat for hpux.
Andrew Cagney [Wed, 24 Oct 2001 02:53:48 +0000 (02:53 +0000)]
Fix -Wformat for hpux.

23 years agoTweeks for HP/UX and -Werror.
Andrew Cagney [Wed, 24 Oct 2001 01:19:12 +0000 (01:19 +0000)]
Tweeks for HP/UX and -Werror.

23 years agodaily update
Alan Modra [Wed, 24 Oct 2001 00:00:35 +0000 (00:00 +0000)]
daily update

23 years ago*** empty log message ***
gdbadmin [Wed, 24 Oct 2001 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

23 years ago2001-10-23 H.J. Lu <hjl@gnu.org>
H.J. Lu [Tue, 23 Oct 2001 20:24:23 +0000 (20:24 +0000)]
2001-10-23  H.J. Lu <hjl@gnu.org>

* elf32-mips.c (_bfd_mips_elf_modify_segment_map): Check
m != NULL before accessing it.

23 years ago[opcodes/ChangeLog]
Chris Demetriou [Tue, 23 Oct 2001 19:20:28 +0000 (19:20 +0000)]
[opcodes/ChangeLog]

2001-10-21  Chris Demetriou  <cgd@broadcom.com>

        * mips-opc.c (mips_builtin_opcodes): Mark "bgezall" and
        "bltzall" as writing GPR 31 (since they do).

        * mips-dis.c (print_insn_arg): Calculate info->target
        where appropriate.
        (print_insn_mips): Fill in instruction info.
        (print_mips16_insn_arg): Remove unneded variable 'val'.
        Removed duplicated instruction target calculations,
        calculate once and print that result.  Use same idiom for
        masking the jump segment bits as is used in print_insn_arg.

[gas/testsuite/ChangeLog]

2001-10-21  Chris Demetriou  <cgd@broadcom.com>

        * gas/mips/beq.s: Add zero words at end of instructions so
        that objdump will print "..." when disassembling.
        * gas/mips/beq.d: Update for disassembler changes which force
        branch delay-slot nops to be printed.
        * gas/mips/bge.d: Ditto.
        * gas/mips/bgeu.d: Ditto.
        * gas/mips/blt.d: Ditto.
        * gas/mips/bltu.d: Ditto.
        * gas/mips/jal-svr4pic.d: Ditto.
        * gas/mips/jal-xgot.d: Ditto.

23 years agomerge from gcc
DJ Delorie [Tue, 23 Oct 2001 15:32:45 +0000 (15:32 +0000)]
merge from gcc

23 years ago * configure.host: Move alpha*-*-linux-gnu* entry to generic
Alan Modra [Tue, 23 Oct 2001 05:49:02 +0000 (05:49 +0000)]
* configure.host: Move alpha*-*-linux-gnu* entry to generic
entries, and match *-*-linux*.

23 years ago * internal.h: White space changes to keep lines under 80 chars.
Alan Modra [Tue, 23 Oct 2001 04:42:12 +0000 (04:42 +0000)]
* internal.h: White space changes to keep lines under 80 chars.

23 years ago * as.c (parse_args): Print the date as well for --version.
Alan Modra [Tue, 23 Oct 2001 04:30:21 +0000 (04:30 +0000)]
* as.c (parse_args): Print the date as well for --version.

23 years ago * elflink.h (elf_link_input_bfd): Zero the reloc instead of doing
Alan Modra [Tue, 23 Oct 2001 03:55:24 +0000 (03:55 +0000)]
* elflink.h (elf_link_input_bfd): Zero the reloc instead of doing
bfd_reloc_type_lookup (bfd, BFD_RELOC_NONE) as bfd_reloc_type_lookup
doesn't accept BFD_RELOC_* on some targets, eg. hppa.

* elf32-hppa.c (elf32_hppa_link_hash_entry): Remove plt_abs.
(hppa_link_hash_newfunc): Likewise.
(elf32_hppa_finish_dynamic_symbol): Likewise.
(allocate_dynrelocs): Always allocate .got relocs if shared.
(elf32_hppa_relocate_section): Output them too.  Similarly
consolidate .plt reloc code, and no longer initialise .plt
when a reloc is output.
(elf32_hppa_finish_dynamic_symbol): Only initialise .plt entries
when no reloc is output.

From Herbert Xu <herbert@gondor.apana.org.au>
* elf32-hppa.c (final_link_relocate): Call bfd_set_error for
unreachable branches.

23 years ago*** empty log message ***
gdbadmin [Tue, 23 Oct 2001 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

23 years agodaily update
Alan Modra [Tue, 23 Oct 2001 00:00:04 +0000 (00:00 +0000)]
daily update

23 years ago2001-10-22 H.J. Lu <hjl@gnu.org>
H.J. Lu [Mon, 22 Oct 2001 18:45:35 +0000 (18:45 +0000)]
2001-10-22  H.J. Lu <hjl@gnu.org>

* configure.in (WIN32LIBADD): Use -L../libiberty for
mips*-*-linux*.
* configure: Rebuild.

23 years ago2001-10-21 H.J. Lu <hjl@gnu.org>
H.J. Lu [Mon, 22 Oct 2001 00:40:48 +0000 (00:40 +0000)]
2001-10-21  H.J. Lu <hjl@gnu.org>

* configure.in (WIN32LIBADD): Include -L../libiberty/pic -liberty
if shared library is enabled only for Linux hosts.
* configure: Rebuild.

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

23 years agodaily update
Alan Modra [Mon, 22 Oct 2001 00:00:04 +0000 (00:00 +0000)]
daily update

23 years agoDon't print ``(MI_OUT)'' at startup.
Andrew Cagney [Sun, 21 Oct 2001 19:43:41 +0000 (19:43 +0000)]
Don't print ``(MI_OUT)'' at startup.

23 years agoUpdate makefile.in dependencies. Add header wrappers.
Andrew Cagney [Sun, 21 Oct 2001 19:20:30 +0000 (19:20 +0000)]
Update makefile.in dependencies.  Add header wrappers.

23 years agoAdd explicit #include of "value.h".
Andrew Cagney [Sun, 21 Oct 2001 17:19:38 +0000 (17:19 +0000)]
Add explicit #include of "value.h".

23 years ago2001-10-21 H.J. Lu <hjl@gnu.org>
H.J. Lu [Sun, 21 Oct 2001 17:14:08 +0000 (17:14 +0000)]
2001-10-21  H.J. Lu <hjl@gnu.org>

* configure.in (WIN32LIBADD): Check if PICFLAG is defined in
../libiberty/Makefile instead of $enable_shared.
* configure: Rebuild.

23 years ago* infptrace.c (child_xfer_memory): Fix a few coding standards
Mark Kettenis [Sun, 21 Oct 2001 14:53:46 +0000 (14:53 +0000)]
* infptrace.c (child_xfer_memory): Fix a few coding standards
violations.

23 years ago * config/djgpp/README: Fix a typo and tweak for GDB 5.1.
Eli Zaretskii [Sun, 21 Oct 2001 14:21:03 +0000 (14:21 +0000)]
* config/djgpp/README: Fix a typo and tweak for GDB 5.1.

23 years ago2001-10-21 H.J. Lu <hjl@gnu.org>
H.J. Lu [Sun, 21 Oct 2001 07:23:24 +0000 (07:23 +0000)]
2001-10-21  H.J. Lu <hjl@gnu.org>

* elf32-cris.c (cris_reloc_type_lookup): Use int for index.

23 years ago2001-10-20 H.J. Lu <hjl@gnu.org>
H.J. Lu [Sun, 21 Oct 2001 06:51:03 +0000 (06:51 +0000)]
2001-10-20  H.J. Lu <hjl@gnu.org>

* configure.in (WIN32LIBADD): Include -L../libiberty/pic -liberty
if shared library is enabled.
* configure: Rebuild.

23 years ago2001-10-20 H.J. Lu <hjl@gnu.org>
H.J. Lu [Sun, 21 Oct 2001 06:16:43 +0000 (06:16 +0000)]
2001-10-20  H.J. Lu  <hjl@gnu.org>

* gas/elf/ehopt0.s: Lose ",@progbits".

23 years ago2001-10-20 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Sun, 21 Oct 2001 05:58:55 +0000 (05:58 +0000)]
2001-10-20  Chris Demetriou  <cgd@broadcom.com>

        * config/tc-mips.c (md_show_usage): Print "sb1" for Broadcom
        SB-1 CPU for consistency.
        (mips_cpu_info_table): Tweak comment about SB-1.

23 years agos/value_ptr/struct value */
Andrew Cagney [Sun, 21 Oct 2001 01:57:42 +0000 (01:57 +0000)]
s/value_ptr/struct value */

23 years ago* cp-abi.h, hpacc-abi.c, gnu-v2-abi.c, cp-abi.c: Ditto.
Andrew Cagney [Sun, 21 Oct 2001 01:06:25 +0000 (01:06 +0000)]
* cp-abi.h, hpacc-abi.c, gnu-v2-abi.c, cp-abi.c: Ditto.

23 years agomerge from gcc
DJ Delorie [Sun, 21 Oct 2001 00:08:22 +0000 (00:08 +0000)]
merge from gcc

23 years ago*** empty log message ***
gdbadmin [Sun, 21 Oct 2001 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***

23 years agodaily update
Alan Modra [Sun, 21 Oct 2001 00:00:04 +0000 (00:00 +0000)]
daily update

23 years ago* breakpoint.h, breakpoint.c: Ditto.
Andrew Cagney [Sat, 20 Oct 2001 23:54:29 +0000 (23:54 +0000)]
* breakpoint.h, breakpoint.c: Ditto.

23 years ago2001-10-20 H.J. Lu <hjl@gnu.org>
H.J. Lu [Sat, 20 Oct 2001 23:16:17 +0000 (23:16 +0000)]
2001-10-20  H.J. Lu <hjl@gnu.org>

* elf32-cris.c (cris_reloc_type_lookup): Allow index 0.

23 years agos/value_ptr/struct value */
Andrew Cagney [Sat, 20 Oct 2001 22:43:26 +0000 (22:43 +0000)]
s/value_ptr/struct value */

23 years ago2001-10-20 H.J. Lu <hjl@gnu.org>
H.J. Lu [Sat, 20 Oct 2001 22:41:09 +0000 (22:41 +0000)]
2001-10-20  H.J. Lu  <hjl@gnu.org>

* config/tc-arm.c (do_c_shift): Use ISDIGIT instead of isdigit.
(cirrus_parse_offset): Likewise.

23 years ago*** empty log message ***
gdbadmin [Sat, 20 Oct 2001 20:00:04 +0000 (20:00 +0000)]
*** empty log message ***

23 years ago* alpha-nat.c: Include <alpha/coreregs.h> instead of
Andrew Cagney [Sat, 20 Oct 2001 19:32:40 +0000 (19:32 +0000)]
* alpha-nat.c: Include <alpha/coreregs.h> instead of
<machine/reg.h>.
(fetch_osf_core_registers): Define core_reg_mapping in a way that
works on OSF5 as well as previous OSF versions.

23 years ago * ppc-opc.c (CT): Make it an optional operand.
Alan Modra [Sat, 20 Oct 2001 13:50:16 +0000 (13:50 +0000)]
* ppc-opc.c (CT): Make it an optional operand.

23 years ago * ldgram.y (mri_script_command): Surround processing of INCLUDE
Alan Modra [Sat, 20 Oct 2001 13:49:00 +0000 (13:49 +0000)]
* ldgram.y (mri_script_command): Surround processing of INCLUDE
with ldlex_script, ldlex_popstate.
(ifile_p1): Likewise.
* ldlex.l (EOF): Don't BEGIN(SCRIPT).  Restore lineno from the
correct slot.
(lex_push_file): Save current lineno to lineno_stack.  Set lineno
to 1.  Don't BEGIN(SCRIPT).
(lex_redirect): Similarly.
* ldmain.c (main): Set yydebug non-zero if YYDEBUG.

23 years agoDefine __EH_FRAME_{BEGIN|END}__
Nick Clifton [Sat, 20 Oct 2001 09:56:29 +0000 (09:56 +0000)]
Define __EH_FRAME_{BEGIN|END}__

23 years agoRevert previous erroneous checkin.
Christopher Faylor [Sat, 20 Oct 2001 05:13:45 +0000 (05:13 +0000)]
Revert previous erroneous checkin.

23 years ago* win32-nat.c (handle_load_dll): Avoid strlwr'ing loaded DLLs or cygwin may not
Christopher Faylor [Sat, 20 Oct 2001 05:11:41 +0000 (05:11 +0000)]
* win32-nat.c (handle_load_dll): Avoid strlwr'ing loaded DLLs or cygwin may not
be able to read them in certain situations.

23 years agoEnable PowerPC simulator on native linux and netbsd.
Andrew Cagney [Sat, 20 Oct 2001 00:16:44 +0000 (00:16 +0000)]
Enable PowerPC simulator on native linux and netbsd.

23 years agodaily update
Alan Modra [Sat, 20 Oct 2001 00:00:06 +0000 (00:00 +0000)]
daily update

23 years ago2001-10-19 H.J. Lu <hjl@gnu.org>
H.J. Lu [Fri, 19 Oct 2001 16:29:12 +0000 (16:29 +0000)]
2001-10-19  H.J. Lu <hjl@gnu.org>

* elfcode.h (elf_object_p): Don't clear D_PAGED if the section
size is empty.

23 years ago* pe-dll.c (autofilter_objectlist): Add gcrt0.o.
DJ Delorie [Fri, 19 Oct 2001 14:25:51 +0000 (14:25 +0000)]
* pe-dll.c (autofilter_objectlist): Add gcrt0.o.
(auto-export): Fix indentation.

23 years agoRestore line_comment_chars after a SNAFU.
Nick Clifton [Fri, 19 Oct 2001 10:53:19 +0000 (10:53 +0000)]
Restore line_comment_chars after a SNAFU.

23 years ago2001-10-18 H.J. Lu <hjl@gnu.org>
H.J. Lu [Fri, 19 Oct 2001 02:11:04 +0000 (02:11 +0000)]
2001-10-18  H.J. Lu <hjl@gnu.org>

* elf32-i370.c (i370_elf_relocate_section): Ignore R_XXX_NONE.
* elf32-ppc.c (ppc_elf_relocate_section): Likewise.

23 years ago* pe-dll.c (autofilter_objectlist): Add startup objects
DJ Delorie [Fri, 19 Oct 2001 00:00:55 +0000 (00:00 +0000)]
* pe-dll.c (autofilter_objectlist):  Add startup objects
for profiling.
(auto-export): Constify char * p.
Extract file basename and use strcmp rather than ststr
for object lookup.

23 years agodaily update
Alan Modra [Fri, 19 Oct 2001 00:00:04 +0000 (00:00 +0000)]
daily update

23 years ago2001-10-18 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Thu, 18 Oct 2001 23:44:17 +0000 (23:44 +0000)]
2001-10-18  Chris Demetriou  <cgd@broadcom.com>

        * ldmain.c (get_emulation): Improve comment about the handling
        of -mipsN options.

23 years ago2001-10-18 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Thu, 18 Oct 2001 22:41:35 +0000 (22:41 +0000)]
2001-10-18  Chris Demetriou  <cgd@broadcom.com>

        * mips.h (OPCODE_IS_MEMBER): Add a no-op term to the end
        of the expression, to make source code merging easier.

23 years agoRemove semicolon from ARM comment chars list
Nick Clifton [Thu, 18 Oct 2001 21:06:03 +0000 (21:06 +0000)]
Remove semicolon from ARM comment chars list

23 years agoCorrect date of commit to last entry
Hans-Peter Nilsson [Thu, 18 Oct 2001 17:50:25 +0000 (17:50 +0000)]
Correct date of commit to last entry

23 years ago * write.c (fixup_segment): Handle fixups for SEC_MERGE sections as
Hans-Peter Nilsson [Thu, 18 Oct 2001 17:38:53 +0000 (17:38 +0000)]
* write.c (fixup_segment): Handle fixups for SEC_MERGE sections as
for undefined symbols.

23 years agoAdd support for XScale's coprocessor access check register.
Nick Clifton [Thu, 18 Oct 2001 12:20:49 +0000 (12:20 +0000)]
Add support for XScale's coprocessor access check register.
Fix formatting.

23 years ago * section.c (_bfd_strip_section_from_output): Don't count
Jakub Jelinek [Thu, 18 Oct 2001 08:22:44 +0000 (08:22 +0000)]
* section.c (_bfd_strip_section_from_output): Don't count
SEC_EXCLUDE sections as references.  Set SEC_EXCLUDE.

23 years ago* README: Mention problems with HP/UX.
Andrew Cagney [Thu, 18 Oct 2001 04:35:35 +0000 (04:35 +0000)]
* README: Mention problems with HP/UX.

23 years ago2001-10-17 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Thu, 18 Oct 2001 01:50:26 +0000 (01:50 +0000)]
2001-10-17  Chris Demetriou  <cgd@broadcom.com>

       * mips.h: Sort coprocessor instruction argument characters
       in comment, add a few more words of description for "H".

23 years ago[gas/testsuite/ChangeLog]
Chris Demetriou [Thu, 18 Oct 2001 01:42:16 +0000 (01:42 +0000)]
[gas/testsuite/ChangeLog]
2001-10-17  Chris Demetriou  <cgd@broadcom.com>

        * gas/mips/mips.exp (sb1-ext-ps): New test to test
        SB-1 core's paired-single extensions to the MIPS64 ISA.
        * gas/mips/sb1-ext-ps.d: New file.
        * gas/mips/sb1-ext-ps.s: New file.

[include/opcode/ChangeLog]
2001-10-17  Chris Demetriou  <cgd@broadcom.com>

        * mips.h (INSN_SB1): New cpu-specific instruction bit.
        (OPCODE_IS_MEMBER): Allow instructions matching INSN_SB1
        if cpu is CPU_SB1.

[opcodes/ChangeLog]
2001-10-17  Chris Demetriou  <cgd@broadcom.com>

        * mips-dis.c (mips_isa_type): Make the ISA used to disassemble
        SB-1 binaries include instructions specific to the SB-1.
        * mips-opc.c (SB1): New definition.
        (mips_builtin_opcodes): Add SB-1 extension opcodes "div.ps",
        "recip.ps", "rsqrt.ps", and "sqrt.ps".

23 years agodaily update
Alan Modra [Thu, 18 Oct 2001 00:00:04 +0000 (00:00 +0000)]
daily update

23 years agomerge from gcc
DJ Delorie [Wed, 17 Oct 2001 22:35:28 +0000 (22:35 +0000)]
merge from gcc

23 years agoFunctions to convert to/from CORE_ADDR and a string. Use in Insight.
Andrew Cagney [Wed, 17 Oct 2001 20:35:31 +0000 (20:35 +0000)]
Functions to convert to/from CORE_ADDR and a string.  Use in Insight.

23 years ago2001-10-17 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Wed, 17 Oct 2001 19:16:16 +0000 (19:16 +0000)]
2001-10-17  Chris Demetriou  <cgd@broadcom.com>

* doc/as.texinfo (MIPS ISA options):  Added accidentally
omitted "-mips64" option to list of options.

23 years ago[gas/ChangeLog]
Matthew Green [Wed, 17 Oct 2001 13:13:16 +0000 (13:13 +0000)]
[gas/ChangeLog]
* config/tc-ppc.c (md_show_usage): Add missing -maltivec, -m7400,
-m7410, -m7450 and -m7455 options.

[gas/testsuite/ChangeLog]
* gas/ppc/altivec.s: New test for AltiVec.
* gas/ppc/altivec.d: New file.
* gas/ppc/ppc.exp: Test altivec.s

[include/opcode/ChangeLog]
* ppc.h (PPC_OPCODE_BOOKE64): Fix typo.

[opcodes/ChangeLog]
* ppc-opc.c (STRM): New AltiVec operand.
(XDSS): New AltiVec instruction form.
(mtvscr): Correct operand list.
(dst, dstt, dstst, dststt, dss, dssall): AltiVec instructions.

23 years ago * elf-m10200.c (mn10200_elf_relax_section): Cast assignment to
Alan Modra [Wed, 17 Oct 2001 12:01:05 +0000 (12:01 +0000)]
* elf-m10200.c (mn10200_elf_relax_section): Cast assignment to
Elf_Internal_Shdr.contents now that it's no longer a PTR.
* elf-m10300.c (mn10300_elf_relax_section): Likewise.
* elf32-h8300.c (elf32_h8_relax_section): Likewise.
* elf32-m68k.c (bfd_m68k_elf32_create_embedded_relocs): Likewise.
* elf32-sh.c (sh_elf_relax_section): Likewise.
* elf64-alpha.c (elf64_alpha_relax_section): Likewise.
* elfxx-ia64.c (elfNN_ia64_relax_section): Likewise.
* elf.c (setup_group): Warning fixes.
* elflink.h (elf_link_sort_relocs): Likewise.
* pdp11.c (slurp_reloc_table): Likewise.

23 years ago * symtab.c (lookup_block_symbol): Break out of linear search
Jason Molenda [Wed, 17 Oct 2001 07:12:57 +0000 (07:12 +0000)]
* symtab.c (lookup_block_symbol):  Break out of linear search
        if we're past the range of possible matches.

Original patch submission, with links to history/background behind it,
here:
http://sources.redhat.com/ml/gdb-patches/2001-09/msg00120.html

23 years ago * config/tc-ppc.c (PPC_HA, PPC_HIGHERA, PPC_HIGHESTA): Simplify.
Alan Modra [Wed, 17 Oct 2001 06:03:41 +0000 (06:03 +0000)]
* config/tc-ppc.c (PPC_HA, PPC_HIGHERA, PPC_HIGHESTA): Simplify.
(ppc_size): Select PPC_OPCODE_64 if 64 bit.
(md_begin): Don't set ppc_size here.
(ppc_target_format): Test ppc_size as well as BFD_DEFAULT_TARGET_SIZE.
(md_shortopts): Constify.
(md_longopts): Likewise.
(md_longopts_size): Likewise.
(ppc_elf_suffix): Only allow 64-bit relocs when ppc_size specifies
64-bit opcodes.
(ppc_machine): Explain why this function is a nop.

23 years ago * bit_fix.h: Comment typo fix.
Alan Modra [Wed, 17 Oct 2001 05:51:12 +0000 (05:51 +0000)]
* bit_fix.h: Comment typo fix.
* config/tc-mips.c: Likewise.
* config/tc-sh.c: Likewise.
* config/tc-arc.c (arc_code_symbol): Remove unnecessary test.

23 years ago * po/POTFILES.in: Regenerate.
Alan Modra [Wed, 17 Oct 2001 05:41:53 +0000 (05:41 +0000)]
* po/POTFILES.in: Regenerate.

23 years ago * configure.in (MIPS_STABS_ELF): AC_DEFINE in only one place so
Alan Modra [Wed, 17 Oct 2001 05:38:42 +0000 (05:38 +0000)]
* configure.in (MIPS_STABS_ELF): AC_DEFINE in only one place so
that autoheader doesn't duplicate config.in entries.
(DEFAULT_ARCH): Ditto.
* configure: Regenerate.
* config.in: Regenerate.

23 years ago2001-10-16 Jeff Holcomb <jeffh@redhat.com>
Jeff Holcomb [Wed, 17 Oct 2001 01:44:50 +0000 (01:44 +0000)]
2001-10-16  Jeff Holcomb  <jeffh@redhat.com>

        * internal.h (elf_internal_shdr): Make contents a unsigned char *.

23 years ago2001-10-16 Jeff Holcomb <jeffh@redhat.com>
Jeff Holcomb [Wed, 17 Oct 2001 01:44:10 +0000 (01:44 +0000)]
2001-10-16  Jeff Holcomb  <jeffh@redhat.com>

        * elflink.h (elf_link_sort_relocs): Remove unnecessary pointer
        casts.

23 years agodaily update
Alan Modra [Wed, 17 Oct 2001 00:00:04 +0000 (00:00 +0000)]
daily update

23 years ago * config/tc-m68k.c (m68k_ip): Correct absolute jmp opcodes.
Alan Modra [Tue, 16 Oct 2001 14:27:03 +0000 (14:27 +0000)]
* config/tc-m68k.c (m68k_ip): Correct absolute jmp opcodes.

23 years ago* filenames.h: Add cygwin to the list of dosish style path systems.
Christopher Faylor [Tue, 16 Oct 2001 12:47:31 +0000 (12:47 +0000)]
* filenames.h: Add cygwin to the list of dosish style path systems.

23 years ago2001-10-15 H.J. Lu <hjl@gnu.org>
H.J. Lu [Tue, 16 Oct 2001 06:33:52 +0000 (06:33 +0000)]
2001-10-15  H.J. Lu <hjl@gnu.org>

* elflink.h (elf_link_input_bfd): Set type to BFD_RELOC_NONE
for relocations against discarded link-once section.

23 years ago* win32-nat.c (safe_symbol_file_add_stub): Improve logic for avoiding load of
Christopher Faylor [Tue, 16 Oct 2001 04:50:21 +0000 (04:50 +0000)]
* win32-nat.c (safe_symbol_file_add_stub): Improve logic for avoiding load of
already loaded DLL.
(register_loaded_dll): Convert loaded DLL name to "posix" format or it will
confuse subsequent opening of the filename due to dos paths.
(dll_symbol_command): Pass from_tty parameter to safe_symbol_file_add.

23 years ago2001-10-15 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Tue, 16 Oct 2001 03:23:35 +0000 (03:23 +0000)]
2001-10-15  Elena Zannoni  <ezannoni@redhat.com>

        * symtab.c (lookup_block_symbol): Update comment.

23 years agomerge from gcc
DJ Delorie [Tue, 16 Oct 2001 02:55:31 +0000 (02:55 +0000)]
merge from gcc

23 years ago * gas/sh/err-le.s, gas/sh/err-be.s: New tests.
Hans-Peter Nilsson [Tue, 16 Oct 2001 02:39:43 +0000 (02:39 +0000)]
* gas/sh/err-le.s, gas/sh/err-be.s: New tests.

23 years ago * config/tc-sh.c (shl): Remove.
Hans-Peter Nilsson [Tue, 16 Oct 2001 02:36:20 +0000 (02:36 +0000)]
* config/tc-sh.c (shl): Remove.
  (big): New function.
(little): Remove shl handling.  Emit error for endian mismatch.
(md_show_usage): Add description of -big.
(md_parse_option): Handle OPTION_BIG.  Remove shl handling.
(OPTION_BIG): Add.
(md_pseudo_table): Add .big.
(md_longopts): Add -big.
(md_begin): Don't set target_big_endian here.
* config/tc-sh.h (TARGET_BYTES_BIG_ENDIAN): Remove.
(LISTING_HEADER, COFF_MAGIC, TARGET_FORMAT): Use target_big_endian.
(shl): Remove.
* configure.in (endian): Default is big.
(sh-*-pe*): Little endian.
(cpu_type): Set sh for target sh*.
* configure: Regenerate.

23 years ago* value.h (value_as_address): Rename value_as_pointer.
Andrew Cagney [Tue, 16 Oct 2001 01:58:07 +0000 (01:58 +0000)]
* value.h (value_as_address): Rename value_as_pointer.
* eval.c, findvar.c, gnu-v2-abi.c, gnu-v3-abi.c, jv-lang.c,
jv-valprint.c, printcmd.c, stack.c, top.c, valarith.c, valops.c,
values.c: Update.

23 years ago202001-10-15 Jim Ingham <jingham@inghji.apple.com>
Andrew Cagney [Tue, 16 Oct 2001 01:19:09 +0000 (01:19 +0000)]
202001-10-15  Jim Ingham  <jingham@inghji.apple.com>
* valarith.c (value_sub): Don't pass a raw type to
value_from_pointer, it has to go through check_typedef first.

23 years agodaily update
Alan Modra [Tue, 16 Oct 2001 00:00:05 +0000 (00:00 +0000)]
daily update

23 years ago * emultempl/elf32.em (gld*_list_options): Remove extra '\t' from
Alan Modra [Mon, 15 Oct 2001 23:28:21 +0000 (23:28 +0000)]
* emultempl/elf32.em (gld*_list_options): Remove extra '\t' from
-z nocopyreloc and -z nocombreloc usage strings.

23 years agoProvide a valid non-multi-arch default for INTEGER_TO_ADDRESS.
Andrew Cagney [Mon, 15 Oct 2001 21:38:44 +0000 (21:38 +0000)]
Provide a valid non-multi-arch default for INTEGER_TO_ADDRESS.

23 years ago * config/tc-mips.c (md_apply_fix): Preliminary handling of NewABI
Thiemo Seufer [Mon, 15 Oct 2001 19:48:04 +0000 (19:48 +0000)]
* config/tc-mips.c (md_apply_fix): Preliminary handling of NewABI
relocations.

23 years agoAdd INTEGER_TO_ADDRESS to hadle nasty harvard architectures that do
Andrew Cagney [Mon, 15 Oct 2001 18:18:30 +0000 (18:18 +0000)]
Add INTEGER_TO_ADDRESS to hadle nasty harvard architectures that do
funnies to integer to address conversions.

23 years ago * elf32-i386.c (elf_i386_relocate_section): Report some detail on
Alan Modra [Mon, 15 Oct 2001 12:58:48 +0000 (12:58 +0000)]
* elf32-i386.c (elf_i386_relocate_section): Report some detail on
bfd_reloc_outofrange and similar errors.

23 years ago * elf.c (_bfd_elf_link_hash_copy_indirect): Test ind->root.type
Alan Modra [Mon, 15 Oct 2001 09:45:48 +0000 (09:45 +0000)]
* elf.c (_bfd_elf_link_hash_copy_indirect): Test ind->root.type
rather than ind->weakdef.
* elf32-hppa.c (elf32_hppa_copy_indirect_symbol): Likewise.
* elf32-i386.c (elf_i386_copy_indirect_symbol): Likewise.
* elf32-mips.c (_bfd_mips_elf_copy_indirect_symbol): Likewise.
* elf64-ppc.c (ppc64_elf_copy_indirect_symbol): Likewise.
* elfxx-ia64.c (elfNN_ia64_hash_copy_indirect): Likewise.

23 years ago * elf32-hppa.c (elf32_hppa_copy_indirect_symbol): Merge dyn_reloc
Alan Modra [Mon, 15 Oct 2001 07:28:45 +0000 (07:28 +0000)]
* elf32-hppa.c (elf32_hppa_copy_indirect_symbol): Merge dyn_reloc
counts for aliases instead of aborting.
* elf32-i386.c (elf_i386_copy_indirect_symbol): Likewise.
* elf64-ppc.c (ppc64_elf_copy_indirect_symbol): Likewise.

* elf32-hppa.c (elf32_hppa_adjust_dynamic_symbol): Set plt.offset
to -1 for non-function symbols.
* elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Likewise.
* elf32-s390.c (elf_s390_adjust_dynamic_symbol): Likewise.
* elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Likewise.
* elf64-s390.c (elf_s390_adjust_dynamic_symbol): Likewise.
* elf64-x86-64.c (elf64_x86_64_adjust_dynamic_symbol): Likewise.
* elf32-i386.c (elf_i386_adjust_dynamic_symbol): Refer to
plt.offset instead of plt.refcount when setting to -1.