OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
21 years ago2003-03-06 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Thu, 6 Mar 2003 20:50:01 +0000 (20:50 +0000)]
2003-03-06  Andrew Cagney  <cagney@redhat.com>

* texinfo/texinfo.tex: Import version 2003-02-03.16.

21 years agoRemove redundant defintions of BYTES_IN_WORD and add conditional defintion in
Nick Clifton [Thu, 6 Mar 2003 16:45:42 +0000 (16:45 +0000)]
Remove redundant defintions of BYTES_IN_WORD and add conditional defintion in
aout64.h.

21 years ago2003-03-06 Jakub Jelinek <jakub@redhat.com>
Andrew Haley [Thu, 6 Mar 2003 15:47:23 +0000 (15:47 +0000)]
2003-03-06  Jakub Jelinek <jakub@redhat.com>
        Andrew Haley  <aph@redhat.com>

        * elflink.h (elf_bfd_discard_info): Don't process eh frames if
        output is relocateable.

21 years ago(som_fixup_formats): Correct formats for R_AUX_UNWIND and R_COMMENT.
Nick Clifton [Thu, 6 Mar 2003 12:29:04 +0000 (12:29 +0000)]
(som_fixup_formats): Correct formats for R_AUX_UNWIND and R_COMMENT.

21 years ago * elf32-ppc.c (ppc_elf_create_linker_section): Don't capitalize
Alan Modra [Thu, 6 Mar 2003 11:32:43 +0000 (11:32 +0000)]
* elf32-ppc.c (ppc_elf_create_linker_section): Don't capitalize
error messages.
(ELIMINATE_COPY_RELOCS): Define to zero.
(ppc_elf_relocate_section): Don't deref htab->tls_sec when calculating
TLSLD relocs.  Report reloc types on a number of errors.  Optimize
LOCAL24PC check for non-local syms.  Don't capitalize error messages.
* elf64-ppc.c (ELIMINATE_COPY_RELOCS): Define to zero.
(ppc64_elf_relocate_section): Don't deref htab->tls_sec when
calculating TLSLD relocs.  Report reloc types on a number of errors.
Don't capitalize error messages.

21 years agodaily update
Alan Modra [Wed, 5 Mar 2003 23:00:06 +0000 (23:00 +0000)]
daily update

21 years ago2003-03-04 Daniel Jacobowitz <drow@mvista.com>
Nathanael Nerode [Wed, 5 Mar 2003 01:50:53 +0000 (01:50 +0000)]
2003-03-04  Daniel Jacobowitz  <drow@mvista.com>

* configure.in: Include $(build_tooldir)/sys-include in
FLAGS_FOR_TARGET.
* configure: Regenerated.

2003-03-04  Nathanael Nerode  <neroden@gcc.gnu.org>

* Makefile.tpl: Reindent.
* Makefile.in: Regenerate.
* configure.in: Reindent.  Don't set unused variables.
* configure: Regenerate.

21 years agodaily update
Alan Modra [Tue, 4 Mar 2003 23:00:05 +0000 (23:00 +0000)]
daily update

21 years agoAdd new devices x1122 x1132 emulation.
Nick Clifton [Tue, 4 Mar 2003 17:02:40 +0000 (17:02 +0000)]
Add new devices x1122 x1132 emulation.

21 years agofix spelling typo.
Nick Clifton [Tue, 4 Mar 2003 16:36:40 +0000 (16:36 +0000)]
fix spelling typo.

21 years ago(mcu_types): Add recenly announced x1122 and x1123 devices, add missed x437.
Nick Clifton [Tue, 4 Mar 2003 16:34:40 +0000 (16:34 +0000)]
(mcu_types): Add recenly announced x1122 and x1123 devices, add missed x437.
(md_show_usage): Sort device list.

21 years ago(print_symbol): Remove check for undefined_only.
Nick Clifton [Tue, 4 Mar 2003 16:23:46 +0000 (16:23 +0000)]
(print_symbol): Remove check for undefined_only.
(main): Print a warning message if --size-sort and --undefined-only are used
together.

21 years agoReally commit it... dunno what happened last time.
Nathanael Nerode [Tue, 4 Mar 2003 08:36:40 +0000 (08:36 +0000)]
Really commit it... dunno what happened last time.

21 years ago * mh-dgux: Delete.
Nathanael Nerode [Tue, 4 Mar 2003 07:48:49 +0000 (07:48 +0000)]
* mh-dgux: Delete.

21 years ago * Makefile.tpl: Always pass down RANLIB.
Nathanael Nerode [Tue, 4 Mar 2003 07:48:06 +0000 (07:48 +0000)]
* Makefile.tpl: Always pass down RANLIB.
* Makefile.in: Regenerate.

* Makefile.tpl: Don't set unused enable_shared, enable_threads macros.
* Makefile.in: Regenerate.
* configure.in: Remove unused logic relating to --enable-shared
and --enable-threads.  Remove bogus comments.  Remove redundant
noconfigdirs.
* configure: Regenerate.

* configure.in: Replace ${libstdcxx_version} by its value.
Remove reference to mh-dgux.
* configure: Regenerate.

21 years agomerge from gcc
DJ Delorie [Tue, 4 Mar 2003 03:02:50 +0000 (03:02 +0000)]
merge from gcc

21 years ago2003-03-03 H.J. Lu <hjl@gnu.org>
H.J. Lu [Mon, 3 Mar 2003 23:19:19 +0000 (23:19 +0000)]
2003-03-03  H.J. Lu <hjl@gnu.org>

* elfxx-ia64.c (USE_BRL): Removed.
(oor_ip): Removed.

21 years agodaily update
Alan Modra [Mon, 3 Mar 2003 23:00:06 +0000 (23:00 +0000)]
daily update

21 years agoFix sh-elf linker relaxation:
Joern Rennecke [Mon, 3 Mar 2003 21:04:01 +0000 (21:04 +0000)]
Fix sh-elf linker relaxation:

gcc:
* config/sh/sh.h (EXTRA_SPECS): Add subtarget_asm_relax_spec and
subtarget_asm_isa_spec.
(SUBTARGET_ASM_RELAX_SPEC, SUBTARGET_ASM_ISA_SPEC): Define.
(ASM_SPEC): Define as SH_ASM_SPEC.
(SH_ASM_SPEC): New; take the role of ASM_SPEC, but safe from svr4.h.
Use subtarget_asm_relax_spec and subtarget_asm_isa_spec.
* config/sh/elf.h (ASM_SPEC): Use SH_ASM_SPEC.
(SUBTARGET_ASM_ISA_SPEC): Undef / define.
gcc/testsuite:
gcc.dg/sh-relax.c: New test.

include/elf:
* sh.h (EF_SH_MERGE_MACH): Make sure SH2E & SH3/SH3E merge to SH3E,
and SH2E & SH4 merge to SH4, not SH2E.

gas:
* config/tc-sh.c (sh_dsp): Replace with preset_target_arch.
(md_begin): Use preset_target_arch.
(md_longopts): Make isa option unconditional.
(md_parse_option): Make OPTION_DSP and OPTION_ISA sh4 / any
set preset_target_arch.
(md_apply_fix3): If BFD_ASSEMBLER, adjust SWITCH_TABLE fixups
by -S_GET_VALUE  (fixP->fx_subsy).
(tc_gen_reloc): For SWITCH_TABLE fixups, the symbol is fixp->fx_subsy,
and the addend is 0.
Adjust addend of R_SH_IND12W relocations by fixp->fx_offset - 4.
* config/tc-sh.h (TC_FORCE_RELOCATION_SUB_LOCAL): Define.

bfd:
elf32-sh.c (sh_elf_howto_tab): Make R_SH_IND12W into an ordinary
relocation (no special function), and make it non-partial_inplace.
(sh_elf_relax_section): When creating a bsr, use a consistent value
no matter if the symbol is extern or not;  set addend to -4.
Don't swap load / non-load instructions for SH4.
(sh_elf_relax_delete_bytes): In R_SH_IND12W case, check the offset
rather than if the symbol is external to determine if adjusting the
offset makes sense.  Adjust the addend too if appropriate.
(sh_elf_relocate_section): In R_SH_IND12W, don't fiddle with the
relocation.

21 years ago* ldmain.c (set_scripts_dir): Look for relative to TOOLBINDIR as
Alexandre Oliva [Mon, 3 Mar 2003 20:01:02 +0000 (20:01 +0000)]
* ldmain.c (set_scripts_dir): Look for relative to TOOLBINDIR as
well.

21 years ago* ldfile.h (struct search_dirs): Added sysrooted field.
Alexandre Oliva [Mon, 3 Mar 2003 20:00:35 +0000 (20:00 +0000)]
* ldfile.h (struct search_dirs): Added sysrooted field.
* ldlang.h (struct lang_input_statement_struct): Likewise.
* ldfile.c (ldfile_add_library_path): Mark sysrooted paths.
(ldfile_open_file_search): Look for sysrooted filename starting
with / in ld_sysroot instead of in the current directory.  Clear
sysrooted flag if it's found in the current directory.  Set it
from the search directory's sysrooted flag where it is found
otherwise.
* ldlang.c (ldlang_sysrooted_script): New static variable.
(new_afile): Mark search_file_enums as sysrooted if
ldlang_sysrooted_script.
(load_symbols): Set ldlang_sysrooted_script according to the
script's sysrooted field while processing it.
* ld.texinfo: Document INPUT behavior in sysroot.

21 years agoInstalled latest Danish translation.
Nick Clifton [Mon, 3 Mar 2003 10:08:02 +0000 (10:08 +0000)]
Installed latest Danish translation.

21 years ago* scripttempl/pe.sc: Use PROVIDE with etext, end, _end,
Christopher Faylor [Mon, 3 Mar 2003 02:38:10 +0000 (02:38 +0000)]
* scripttempl/pe.sc: Use PROVIDE with etext, end, _end,

21 years agodaily update
Alan Modra [Sun, 2 Mar 2003 23:00:05 +0000 (23:00 +0000)]
daily update

21 years agoLeftover from previous commit.
Thiemo Seufer [Sun, 2 Mar 2003 22:28:51 +0000 (22:28 +0000)]
Leftover from previous commit.

21 years ago * emulparams/elf64alpha.sh (EXTRA_EM_FILE): Define.
Alan Modra [Sun, 2 Mar 2003 22:07:10 +0000 (22:07 +0000)]
* emulparams/elf64alpha.sh (EXTRA_EM_FILE): Define.
(PARSE_AND_LIST_PROLOGUE, PARSE_AND_LIST_LONGOPTS,
PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES,
PARSE_AND_LIST_EPILOGUE): Don't define.
* emultempl/alphaelf.em: New file.

21 years ago * elf32-mips.c (elf_mips_howto_table_rel): Change definition of
Thiemo Seufer [Sun, 2 Mar 2003 21:30:15 +0000 (21:30 +0000)]
* elf32-mips.c (elf_mips_howto_table_rel): Change definition of
R_MIPS_PC16 to rightshift 2.
(elf_reloc_map mips_reloc_map): Map to rightshifted BFD reloc.
(bfd_elf32_bfd_reloc_type_lookup): Support
BFD_RELOC_MIPSEMB_16_PCREL_S2.
* elf64-mips.c (mips_elf64_howto_table_rel): Change definition of
R_MIPS_PC16 to rightshift 2.
(mips_elf64_howto_table_rela): Likewise.
(mips_reloc_map): Map to rightshifted BFD reloc.
* elfn32-mips.c: The same as in elf64-mips.c.
* elfxx-mips.c (mips_elf_got_for_ibfd): Typo in comment.
(mips_elf_calculate_relocation): Handle rightshifted addends for
R_MIPS_PC16.
* reloc.c (BFD_RELOC_MIPSEMB_16_PCREL_S2): New BFD relocation for
MIPS Embedded PIC. Remove superfluous empty COMMENT.
* libbfd.h: Regenerate.
* bfd-in2.h: Regenerate.
* config/tc-mips.c (append_insn): Add handling of
BFD_RELOC_MIPSEMB_16_PCREL_S2. Avoid emitting unneeded
BFD_RELOC_16_PCREL_S2 relocs and add earlier warnings about
misaligned address and reange overflow.
(macro_build): Add handling of BFD_RELOC_MIPSEMB_16_PCREL_S2. Add
earlier warnings about misaligned address and reange overflow.
(mips_ip): Add handling of BFD_RELOC_MIPSEMB_16_PCREL_S2.
(md_apply_fix): Likewise. Fix warning output.
(tc_gen_reloc): Add handling of BFD_RELOC_MIPSEMB_16_PCREL_S2.
Allow BFD_RELOC_16_PCREL_S2 for all ABIs.
(md_convert_frag): Add handling of BFD_RELOC_MIPSEMB_16_PCREL_S2.
* gas/mips/bge.d: Reactivate external branch tests.
* gas/mips/bge.s: Likewise.
* gas/mips/bgeu.d: Likewise.
* gas/mips/bgeu.s: Likewise.
* gas/mips/blt.d: Likewise.
* gas/mips/blt.s: Likewise.
* gas/mips/bltu.d: Likewise.
* gas/mips/bltu.s: Likewise.
* gas/mips/branch-misc-2.d: New File.
* gas/mips/branch-misc-2.l: Remove.
* gas/mips/mips.exp: Adjust branch-misc-2 test.

21 years agodaily update
Alan Modra [Sat, 1 Mar 2003 23:00:05 +0000 (23:00 +0000)]
daily update

21 years ago * elfxx-ia64.c (elfNN_ia64_relax_section): Correct bounds
Richard Henderson [Sat, 1 Mar 2003 02:44:45 +0000 (02:44 +0000)]
    * elfxx-ia64.c (elfNN_ia64_relax_section): Correct bounds
        for ltoff22x relaxation.

21 years ago * bfd-in.h (_bfd): Don't define.
Alan Modra [Fri, 28 Feb 2003 23:43:35 +0000 (23:43 +0000)]
* bfd-in.h (_bfd): Don't define.
* bfd.c: Rename occurrences of "struct _bfd" to "struct bfd".
* syms.c: Likewise.
* bfd-in2.h: Regenerate.

21 years agodaily update
Alan Modra [Fri, 28 Feb 2003 23:00:04 +0000 (23:00 +0000)]
daily update

21 years ago * ldemul.c: Include getopt.h.
Alan Modra [Fri, 28 Feb 2003 22:55:11 +0000 (22:55 +0000)]
* ldemul.c: Include getopt.h.
* emultempl/elf32.em: Include getopt.h earlier.
* emultempl/ticoff.em: Likewise.

21 years ago * Makefile.tpl: Rearrange.
Nathanael Nerode [Fri, 28 Feb 2003 18:03:31 +0000 (18:03 +0000)]
* Makefile.tpl: Rearrange.
* Makefile.in: Regenerate.

21 years ago * emultempl/elf32.em (gld${EMULATION_NAME}_get_script): Add combreloc
Alan Modra [Fri, 28 Feb 2003 04:46:04 +0000 (04:46 +0000)]
* emultempl/elf32.em (gld${EMULATION_NAME}_get_script): Add combreloc
support when scripts read from files.

21 years ago * ldemul.c (ldemul_parse_args): Return FALSE by default.
Alan Modra [Fri, 28 Feb 2003 02:10:06 +0000 (02:10 +0000)]
* ldemul.c (ldemul_parse_args): Return FALSE by default.
* ldemul.h (struct ld_emulation_xfer_struct): Update parse_args
comment.

21 years ago * ldemul.c (ldemul_add_options, ldemul_handle_option): New functions.
Alan Modra [Fri, 28 Feb 2003 01:32:31 +0000 (01:32 +0000)]
* ldemul.c (ldemul_add_options, ldemul_handle_option): New functions.
(ldemul_parse_args): Return bfd_boolean.  Formatting.
* ldemul.h (ldemul_add_options, ldemul_handle_option): Declare.
(ldemul_parse_args): Adjust.
(struct ld_emulation_xfer_struct): Add add_options and handle_option.
Return bfd_boolean from parse_args.
* lexsup.c (parse_args): Malloc shortopts, longopts and
really_longopts.  Call ldemul_add_options and ldemul_handle_option.
* emultempl/aix.em (gld${EMULATION_NAME}_add_options): Split out from
gld${EMULATION_NAME}_parse_args.
(gld${EMULATION_NAME}_handle_option): Likewise.
(ld_${EMULATION_NAME}_emulation): Adjust initializer.
* emultempl/armcoff.em: As for aix.em, but remove parse_args.
* emultempl/beos.em: Likewise.
* emultempl/pe.em: Likewise.
* emultempl/ticoff.em: Likewise.
* emultempl/elf32.em: Likewise.  Don't duplicate long options either.
(gld${EMULATION_NAME}_add_sysroot): Prototype.
* emultempl/armelf.em (PARSE_AND_LIST_LONGOPTS): Don't duplicate
options.
* emultempl/hppaelf.em (PARSE_AND_LIST_LONGOPTS): Likewise.
* emultempl/ppc32elf.em (PARSE_AND_LIST_LONGOPTS): Likewise.
* emultempl/ppc64elf.em (PARSE_AND_LIST_LONGOPTS): Likewise.
* emultempl/armelf_oabi.em (ld_${EMULATION_NAME}_emulation): Adjust
initializer.
* emultempl/generic.em: Likewise.
* emultempl/gld960.em: Likewise.
* emultempl/gld960c.em: Likewise.
* emultempl/linux.em: Likewise.
* emultempl/lnk960.em: Likewise.
* emultempl/m68kcoff.em: Likewise.
* emultempl/mipsecoff.em: Likewise.
* emultempl/sunos.em: Likewise.
* emultempl/vanilla.em: Likewise.
* emultempl/netbsd.em (gldnetbsd_before_parse): Prototype.

21 years ago * elfxx-ia64.c (struct elfNN_ia64_dyn_sym_info): Add want_gotx;
Richard Henderson [Fri, 28 Feb 2003 00:22:46 +0000 (00:22 +0000)]
    * elfxx-ia64.c (struct elfNN_ia64_dyn_sym_info): Add want_gotx;
        (elfNN_ia64_check_relocs): Set it.
        (allocate_global_data_got): Check it.
        (allocate_local_got): Likewise.
        (allocate_dynrel_entries): Likewise.
        (elfNN_ia64_relax_ldxmov): New.
        (elfNN_ia64_relax_section): Handle LTOFF22X, LDXMOV.
        (elfNN_ia64_choose_gp): Split out from ...
        (elfNN_ia64_final_link): ... here.

21 years ago2003-02-27 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Thu, 27 Feb 2003 23:13:32 +0000 (23:13 +0000)]
2003-02-27  Andrew Cagney  <cagney@redhat.com>

* remote-sim.h (sim_open, sim_load, sim_create_inferior): Rename
_bfd to bfd.

21 years agodaily update
Alan Modra [Thu, 27 Feb 2003 23:00:05 +0000 (23:00 +0000)]
daily update

21 years ago2003-02-27 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Thu, 27 Feb 2003 21:24:36 +0000 (21:24 +0000)]
2003-02-27  Andrew Cagney  <cagney@redhat.com>

* bfd.c (struct bfd): Rename "struct _bfd".
* bfd-in.h: Update copyright.
(struct bfd): Rename "struct _bfd".
(_bfd): Define for backward compatibility.
* bfd-in2.h: Regenerate.

21 years agomerge from gcc
DJ Delorie [Thu, 27 Feb 2003 21:01:04 +0000 (21:01 +0000)]
merge from gcc

21 years agomerge from gcc
DJ Delorie [Thu, 27 Feb 2003 15:17:29 +0000 (15:17 +0000)]
merge from gcc

21 years agodaily update
Alan Modra [Wed, 26 Feb 2003 23:00:15 +0000 (23:00 +0000)]
daily update

21 years ago* emultempl/elf32.em (gld${EMULATION_NAME}_add_sysroot): Fix
Alexandre Oliva [Wed, 26 Feb 2003 00:56:14 +0000 (00:56 +0000)]
* emultempl/elf32.em (gld${EMULATION_NAME}_add_sysroot): Fix
memory allocation error.

21 years agodaily update
Alan Modra [Tue, 25 Feb 2003 23:00:05 +0000 (23:00 +0000)]
daily update

21 years agoRemove site-file support - it is obsolete.
Nick Clifton [Tue, 25 Feb 2003 10:47:07 +0000 (10:47 +0000)]
Remove site-file support - it is obsolete.

21 years ago(ld_sysroot): Try to set from TOOLBINDIR too.
Nick Clifton [Tue, 25 Feb 2003 10:32:33 +0000 (10:32 +0000)]
(ld_sysroot): Try to set from TOOLBINDIR too.

21 years ago * elflink.h (elf_link_read_relocs_from_section): Don't abort with
Alan Modra [Tue, 25 Feb 2003 04:39:32 +0000 (04:39 +0000)]
* elflink.h (elf_link_read_relocs_from_section): Don't abort with
wrong reloc sizes.

21 years ago * elflink.h (elf_bfd_final_link): Apportion reloc counts to rel_hdr
Alan Modra [Tue, 25 Feb 2003 04:14:38 +0000 (04:14 +0000)]
* elflink.h (elf_bfd_final_link): Apportion reloc counts to rel_hdr
and rel_hdr2 when initially counting input relocs rather than after
creating output reloc sections.

21 years agoRegenerate dependencies.
Alan Modra [Tue, 25 Feb 2003 03:44:46 +0000 (03:44 +0000)]
Regenerate dependencies.

21 years ago * hppa-dis.c: Formatting.
Alan Modra [Tue, 25 Feb 2003 03:22:06 +0000 (03:22 +0000)]
* hppa-dis.c: Formatting.
* hppa-dis.c (print_insn_hppa): Implement fcnv instruction modifiers.

21 years ago * hppa-dis.c (print_insn_hppa <2 bit space register>): Do not print
Alan Modra [Tue, 25 Feb 2003 00:20:29 +0000 (00:20 +0000)]
* hppa-dis.c (print_insn_hppa <2 bit space register>): Do not print
the space register when the value is zero.

21 years agodaily update
Alan Modra [Mon, 24 Feb 2003 23:00:06 +0000 (23:00 +0000)]
daily update

21 years agomerge from gcc
DJ Delorie [Mon, 24 Feb 2003 20:26:14 +0000 (20:26 +0000)]
merge from gcc

21 years agoAdd support for QNX style core files.
Nick Clifton [Mon, 24 Feb 2003 18:07:22 +0000 (18:07 +0000)]
Add support for QNX style core files.

21 years agoAdd support for kaOS as cross build target system.
Nick Clifton [Mon, 24 Feb 2003 16:47:04 +0000 (16:47 +0000)]
Add support for kaOS as cross build target system.

21 years agoAdd paragraph about using --disable-nls
Nick Clifton [Mon, 24 Feb 2003 16:37:13 +0000 (16:37 +0000)]
Add paragraph about using --disable-nls

21 years ago(nm --size-sort): Update description.
Nick Clifton [Mon, 24 Feb 2003 16:20:28 +0000 (16:20 +0000)]
(nm --size-sort): Update description.

21 years ago * elflink.c (_bfd_elf_create_got_section): Check existing .got
Alan Modra [Mon, 24 Feb 2003 04:50:04 +0000 (04:50 +0000)]
* elflink.c (_bfd_elf_create_got_section): Check existing .got
section flags before concluding that we've already been called.
Don't use register keyword.
(_bfd_elf_create_dynamic_sections): Don't use register keyword.
(_bfd_elf_create_linker_section): Formatting.

21 years agodaily update
Alan Modra [Sun, 23 Feb 2003 23:00:05 +0000 (23:00 +0000)]
daily update

21 years ago2003-02-23 Elias Athanasopoulos <elathan@phys.uoa.gr>
Chris Demetriou [Sun, 23 Feb 2003 19:52:49 +0000 (19:52 +0000)]
2003-02-23  Elias Athanasopoulos  <elathan@phys.uoa.gr>

        * mips-dis.c (print_mips_disassembler_options): Make 'i' unsigned,
        use ARRAY_SIZE in loops.

21 years agodaily update
Alan Modra [Sat, 22 Feb 2003 23:00:05 +0000 (23:00 +0000)]
daily update

21 years agomerge from gcc
DJ Delorie [Sat, 22 Feb 2003 17:08:34 +0000 (17:08 +0000)]
merge from gcc

21 years agoUpdate my address.
Jim Wilson [Sat, 22 Feb 2003 00:16:29 +0000 (00:16 +0000)]
Update my address.

21 years agodaily update
Alan Modra [Fri, 21 Feb 2003 23:00:05 +0000 (23:00 +0000)]
daily update

21 years agomerge from gcc
DJ Delorie [Fri, 21 Feb 2003 22:12:51 +0000 (22:12 +0000)]
merge from gcc

21 years agoUpdate Maverick tests.
Nick Clifton [Fri, 21 Feb 2003 19:05:02 +0000 (19:05 +0000)]
Update Maverick tests.
Contribute test generator.

21 years agomerge from gcc
DJ Delorie [Fri, 21 Feb 2003 17:33:57 +0000 (17:33 +0000)]
merge from gcc

21 years agoCheck for a NULL sentinel value before using it.
Nick Clifton [Fri, 21 Feb 2003 12:42:56 +0000 (12:42 +0000)]
Check for a NULL sentinel value before using it.

21 years agoAdd v850e debug registers.
Nick Clifton [Fri, 21 Feb 2003 12:33:34 +0000 (12:33 +0000)]
Add v850e debug registers.

21 years agoAdd SHT_IA_64_LOPSREG, SHT_IA_64_HIPSREG and SHT_IA_64_PRIORITY_INIT.
Nick Clifton [Fri, 21 Feb 2003 12:17:51 +0000 (12:17 +0000)]
Add SHT_IA_64_LOPSREG, SHT_IA_64_HIPSREG and SHT_IA_64_PRIORITY_INIT.
Add code to display these values in readelf.

21 years ago(ldmac, stmac): Replace MACREG with MS32 and MD32.
Nick Clifton [Fri, 21 Feb 2003 11:36:59 +0000 (11:36 +0000)]
(ldmac, stmac): Replace MACREG with MS32 and MD32.

21 years agoDisable region size checking whilst relaxing sections.
Nick Clifton [Fri, 21 Feb 2003 10:51:24 +0000 (10:51 +0000)]
Disable region size checking whilst relaxing sections.

21 years agoApplied Bob Wilson's documentation fixes.
Nick Clifton [Fri, 21 Feb 2003 10:35:07 +0000 (10:35 +0000)]
Applied Bob Wilson's documentation fixes.

21 years agoApply Bob Wilson's documenation clean up patch
Nick Clifton [Fri, 21 Feb 2003 10:30:35 +0000 (10:30 +0000)]
Apply Bob Wilson's documenation clean up patch

21 years ago * config/tc-mips.c (prev_reloc_op_frag): New variable.
Richard Sandiford [Fri, 21 Feb 2003 10:28:27 +0000 (10:28 +0000)]
* config/tc-mips.c (prev_reloc_op_frag): New variable.
(macro): Check it to decide whether a new frag is needed.
(my_getSmallExpression): Set it.

21 years agoApply Bob Wilson's linker documenation clean ups.
Nick Clifton [Fri, 21 Feb 2003 10:27:06 +0000 (10:27 +0000)]
Apply Bob Wilson's linker documenation clean ups.

21 years ago* Makefile.tpl: Add definition of CPPFLAGS to pass into
DJ Delorie [Fri, 21 Feb 2003 01:55:12 +0000 (01:55 +0000)]
* Makefile.tpl: Add definition of CPPFLAGS to pass into
configure-target-* as some target builds may require additional
flags for preprocessor tests.
* Makefile.in: Regenerated.

21 years agomerge from gcc
DJ Delorie [Fri, 21 Feb 2003 01:35:29 +0000 (01:35 +0000)]
merge from gcc

21 years ago * objcopy.c (filter_symbols): Fix compilation problems with
Alan Modra [Fri, 21 Feb 2003 01:12:13 +0000 (01:12 +0000)]
* objcopy.c (filter_symbols): Fix compilation problems with
HP-UX's C compiler.

21 years ago* configure.in (TARGET_SYSTEM_ROOT): Set default to
Alexandre Oliva [Thu, 20 Feb 2003 23:38:49 +0000 (23:38 +0000)]
* configure.in (TARGET_SYSTEM_ROOT): Set default to
${exec_prefix}/${target_alias}/sys-root.  Match explicit
'${exec_prefix}' (in addition to the expansion thereof) as
relocatable.
* configure: Rebuilt.

21 years agodaily update
Alan Modra [Thu, 20 Feb 2003 23:00:05 +0000 (23:00 +0000)]
daily update

21 years ago * Makefile.in (CFILES): Add lrealpath.c.
Daniel Jacobowitz [Thu, 20 Feb 2003 22:14:18 +0000 (22:14 +0000)]
* Makefile.in (CFILES): Add lrealpath.c.
(REQUIRED_OFILES): Add lrealpath.o.
(lrealpath.o): Add rule.
* aclocal.m4 (libiberty_NEED_DECLARATION): Add.
* configure.in: Add realpath and canonicalize_file_name to
checkfuncs and AC_CHECK_FUNCS.  Use libiberty_NEED_DECLARATION
for canonicalize_file_name.
* lrealpath.c: New file.
* make-relative-prefix.c: Update documentation.
(make_relative_prefix): Simplify.  Use lbasename and lrealpath.
* config.in: Regenerated.
* configure: Regenerated.
* functions.texi: Regenerated.

21 years ago * libiberty.h (lrealpath): Add declaration.
Daniel Jacobowitz [Thu, 20 Feb 2003 22:13:09 +0000 (22:13 +0000)]
* libiberty.h (lrealpath): Add declaration.

21 years agomerge from gcc
DJ Delorie [Thu, 20 Feb 2003 21:05:37 +0000 (21:05 +0000)]
merge from gcc

21 years agoFix typo: intial -> initial.
Nick Clifton [Thu, 20 Feb 2003 18:59:32 +0000 (18:59 +0000)]
Fix typo: intial -> initial.

21 years agoIndex: include/gdb/ChangeLog
Andrew Cagney [Thu, 20 Feb 2003 14:37:58 +0000 (14:37 +0000)]
Index: include/gdb/ChangeLog
2003-02-20  Andrew Cagney  <ac131313@redhat.com>

* remote-sim.c (gdbsim_insert_breakpoint)
(gdbsim_remove_breakpoint): Delete #ifdef SIM_HAS_BREAKPOINTS
code.

Index: include/gdb/ChangeLog
2003-02-20  Andrew Cagney  <ac131313@redhat.com>

* remote-sim.h (SIM_RC): Delete unused SIM_RC_UNKNOWN_BREAKPOINT,
SIM_RC_INSUFFICIENT_RESOURCES and SIM_RC_DUPLICATE_BREAKPOINT.
(sim_set_breakpoint, sim_clear_breakpoint): Delete declarations.
(sim_clear_all_breakpoints, sim_enable_breakpoint): Ditto.
(sim_enable_all_breakpoints, sim_disable_breakpoint): Ditto.
(sim_disable_all_breakpoints): Ditto.

Index: sim/common/ChangeLog
2003-02-20  Andrew Cagney  <ac131313@redhat.com>

* Make-common.in (SIM_NEW_COMMON_OBJS): Remove sim-break.o
(sim-break_h): Delete macro.
(sim-break.o): Delete rule.
* sim-break.c: Delete file.
* sim-break.h: Delete file.
* sim-base.h [SIM_HAVE_BREAKPOINTS]: Don't include "sim-break.h".
(STATE_BREAKPOINTS): Delete macro.
(sim_state_base): Delete field breakpoints.
* sim-module.c (modules) [SIM_HAVE_BREAKPOINTS]: Don't add
sim_break_install to array.

21 years ago * elf32-ppc.c: Formatting.
Alan Modra [Thu, 20 Feb 2003 09:10:18 +0000 (09:10 +0000)]
* elf32-ppc.c: Formatting.
(allocate_dynrelocs): LD and GD relocs against the same sym need
separate GOT entries.
(ppc_elf_relocate_section): Correct GOT handling for multiple GOT
entries per symbol.

21 years ago* configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
Alexandre Oliva [Thu, 20 Feb 2003 09:08:42 +0000 (09:08 +0000)]
* configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
config.status.
* configure: Rebuilt.

21 years ago* rclex.l (handle_quotes): Fix minor formatting problems introduced in previous
Christopher Faylor [Thu, 20 Feb 2003 03:31:42 +0000 (03:31 +0000)]
* rclex.l (handle_quotes): Fix minor formatting problems introduced in previous
change.

21 years ago* rclex.l: Handle strings spanning more than one line.
Christopher Faylor [Thu, 20 Feb 2003 03:28:55 +0000 (03:28 +0000)]
* rclex.l: Handle strings spanning more than one line.

21 years ago* libtool.m4 (LD): Append -melf* option to LD on IRIX with GNU ld.
Alexandre Oliva [Thu, 20 Feb 2003 02:09:58 +0000 (02:09 +0000)]
* libtool.m4 (LD): Append -melf* option to LD on IRIX with GNU ld.
* ltconfig: Handle it.
* ltcf-cxx.sh: Use with_gnu_ld passed as a shell variable instead of
auto-detecting it.

21 years ago* libtool.m4 (LD): Append -melf* option to LD on IRIX with GNU ld.
Alexandre Oliva [Thu, 20 Feb 2003 01:12:28 +0000 (01:12 +0000)]
* libtool.m4 (LD): Append -melf* option to LD on IRIX with GNU ld.
* ltconfig: Handle it.
* ltcf-cxx.sh: Use with_gnu_ld passed as a shell variable instead of
auto-detecting it.

21 years ago * ldgram.y (vers_defns): Also recurse with 'EXTERN NAME' patterns.
Alan Modra [Thu, 20 Feb 2003 01:02:39 +0000 (01:02 +0000)]
* ldgram.y (vers_defns): Also recurse with 'EXTERN NAME' patterns.
* ldgram.y (vers_defns): Allow optional trailing semicolon in
EXTERN NAME block;

21 years ago* ltcf-cxx.sh: Replace $linker_flags with $compiler_flags wherever
Alexandre Oliva [Wed, 19 Feb 2003 23:51:28 +0000 (23:51 +0000)]
* ltcf-cxx.sh: Replace $linker_flags with $compiler_flags wherever
it is used as argument to $CC.
* ltcf-gcj.sh: Likewise.

21 years ago* configure.in: Introduce --enable-maintainer-mode.
Alexandre Oliva [Wed, 19 Feb 2003 23:51:03 +0000 (23:51 +0000)]
* configure.in: Introduce --enable-maintainer-mode.
* configure: Rebuilt.
* Makefile.tpl (Makefile.in, configure): Enable dependencies only
for maintainer mode.
* Makefile.in: Rebuilt.

21 years ago2003-02-19 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Wed, 19 Feb 2003 23:32:19 +0000 (23:32 +0000)]
2003-02-19  Andrew Cagney <ac131313@redhat.com>

* configure: Regenerate using autoconf 2.13.

21 years agodaily update
Alan Modra [Wed, 19 Feb 2003 23:00:06 +0000 (23:00 +0000)]
daily update

21 years ago * elf32-hppa.c (elf32_hppa_gc_sweep_hook): Simplify dynamic reloc
Alan Modra [Wed, 19 Feb 2003 14:14:16 +0000 (14:14 +0000)]
* elf32-hppa.c (elf32_hppa_gc_sweep_hook): Simplify dynamic reloc
removal.  Localize vars.  Remove unnecessary dynobj test.
* elf32-i386 (WILL_CALL_FINISH_DYNAMIC_SYMBOL): Pass SHARED instead
of INFO.
(allocate_dynrelocs): Adjust WILL_CALL_FINISH_DYNAMIC_SYMBOL uses,
and optimize.
(elf_i386_relocate_section): Likewise.
(elf_i386_gc_sweep_hook): Simplify dyn reloc removal.  Localize vars.
* elf32-s390.c (elf_s390_gc_sweep_hook): Likewise.
* elf32-sh.c (sh_elf_gc_sweep_hook): Likewise.
* elf64-s390.c (elf_s390_gc_sweep_hook): Likewise.
* elf64-x86-64.c (elf64_x86_64_gc_sweep_hook): Likewise.
* elf32-sparc.c (elf32_sparc_gc_sweep_hook): Likewise.  Remove
local_dynrel for section too.  Don't touch HIPLT22, LOPLT10, PCPLT32
or PCPLT10 relocs.  Don't subtract twice on PLT32 relocs.
Formatting.

21 years ago * elf64-ppc.c (ELIMINATE_COPY_RELOCS): Define.
Alan Modra [Wed, 19 Feb 2003 11:44:15 +0000 (11:44 +0000)]
* elf64-ppc.c (ELIMINATE_COPY_RELOCS): Define.
(ppc64_elf_check_relocs): Use it.  Correct comment.  Move SEC_ALLOC
test.
(ppc64_elf_adjust_dynamic_symbol): Use ELIMINATE_COPY_RELOCS.
(WILL_CALL_FINISH_DYNAMIC_SYMBOL): Pass SHARED instead of INFO.
(allocate_dynrelocs): Adjust WILL_CALL_FINISH_DYNAMIC_SYMBOL uses,
and optimize.  Use ELIMINATE_COPY_RELOCS.
(ppc64_elf_relocate_section): Likewise.