OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
19 years agoIssue an error message if -static and -shared are used together.
Nick Clifton [Mon, 20 Dec 2004 15:16:06 +0000 (15:16 +0000)]
Issue an error message if -static and -shared are used together.

19 years agomerge from gcc
DJ Delorie [Mon, 20 Dec 2004 05:19:58 +0000 (05:19 +0000)]
merge from gcc

19 years ago * elf64-ppc.c (struct ppc64_elf_obj_tdata): Add opd_relocs.
Alan Modra [Sun, 19 Dec 2004 23:24:46 +0000 (23:24 +0000)]
* elf64-ppc.c (struct ppc64_elf_obj_tdata): Add opd_relocs.
(opd_entry_value): Use opd_relocs if available.
(ppc64_elf_relocate_section): Don't set reloc_done.  Instead
copy .opd relocations to opd_relocs.
(ppc64_elf_edit_toc): Set rel_hdr.sh_size after editing relocs.

19 years agodaily update
Alan Modra [Sun, 19 Dec 2004 23:00:05 +0000 (23:00 +0000)]
daily update

19 years agodaily update
Alan Modra [Sat, 18 Dec 2004 23:00:11 +0000 (23:00 +0000)]
daily update

19 years agomerge from gcc
DJ Delorie [Sat, 18 Dec 2004 17:19:27 +0000 (17:19 +0000)]
merge from gcc

19 years ago2004-12-18 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Sat, 18 Dec 2004 16:46:03 +0000 (16:46 +0000)]
2004-12-18  H.J. Lu  <hongjiu.lu@intel.com>

* Makefile.in (top_builddir): Set to `.'.
(OUTPUT_OPTION): Removed.
(LIBTOOL): New.
(LTLIBOBJS): New.
(EXTRA_LTOFILES): New.
(FLAGS_TO_PASS): Add EXTRA_LTOFILES.
(all): Remove stamp-picdir.
(LTCOMPILE): New.
(.c.lo): New rule.
(REQUIRED_LTOFILES): New.
(CONFIGURED_LTOFILES): New.
($(TARGETLIB)): Check .libs for PIC object files. Depend on
$(REQUIRED_LTOFILES) $(EXTRA_LTOFILES) $(LTLIBOBJS).
(stamp-picdir): Completely removed.
(maint-missing): Pass $(REQUIRED_LTOFILES)
$(CONFIGURED_LTOFILES) instead of (REQUIRED_OFILES)
$(CONFIGURED_OFILES)
(maint-buildall): Depend on $(REQUIRED_LTOFILES)
$(CONFIGURED_LTOFILES).
(mostlyclean): Also remove *.lo .libs.
Run "make maint-deps".

* aclocal.m4: Include ../libtool.m4.

* config.table: Don't check --enable-shared.

* configure.ac (AC_PROG_LIBTOOL): Add.
(AC_PROG_CC_C_O): Removed.
(OUTPUT_OPTION): Removed.
(NO_MINUS_C_MINUS_O): Removed.
(ltpexecute): New substitute.
(LIBOBJS): Cleanup.
* configure: Regenerated.

* maint-tool: Updated for .lo/libtool.

19 years agodaily update
Alan Modra [Fri, 17 Dec 2004 23:00:05 +0000 (23:00 +0000)]
daily update

19 years ago * ldexp.h (exp_data_seg): Add min_base and maxpagesize fields.
Jakub Jelinek [Fri, 17 Dec 2004 15:50:02 +0000 (15:50 +0000)]
* ldexp.h (exp_data_seg): Add min_base and maxpagesize fields.
* ldexp.c (fold_binary) <case DATA_SEGMENT_ALIGN>: Initialize them.
* ldlang.c (lang_size_sections): Use them to avoid wasting virtual
address space at DATA_SEGMENT_ALIGN.  Fix computation of expected
PT_GNU_RELRO segment end.

19 years ago2004-12-16 Andrew Stubbs <andrew.stubbs@st.com>
Joern Rennecke [Fri, 17 Dec 2004 12:47:44 +0000 (12:47 +0000)]
2004-12-16  Andrew Stubbs  <andrew.stubbs@st.com>

* config/tc-sh64.c (shmedia_md_apply_fix3): Add missing
BFD_RELOC_SH_IMMS10BY8 relocation.

* config/tc-sh64.c (shmedia_build_Mytes): Emit an error message rather
than just ignoring bad code.

19 years agodaily update
Alan Modra [Thu, 16 Dec 2004 23:00:05 +0000 (23:00 +0000)]
daily update

19 years ago2004-12-16 Andrew Stubbs <andrew.stubbs@st.com>
Joern Rennecke [Thu, 16 Dec 2004 19:51:28 +0000 (19:51 +0000)]
2004-12-16  Andrew Stubbs  <andrew.stubbs@st.com>

* configure.in (sh64-*-*): Reenable gprof.
* configure: Regenerate.

19 years ago2004-12-16 Andrew Stubbs <andrew.stubbs@st.com>
Joern Rennecke [Thu, 16 Dec 2004 18:23:24 +0000 (18:23 +0000)]
2004-12-16  Andrew Stubbs  <andrew.stubbs@st.com>

* config/tc-sh64.c (shmedia_build_Mytes): Emit an error message rather
than just ignoring bad code.

19 years ago2004-12-16 Andrew Stubbs <andrew.stubbs@st.com>
Joern Rennecke [Thu, 16 Dec 2004 18:17:04 +0000 (18:17 +0000)]
2004-12-16  Andrew Stubbs  <andrew.stubbs@st.com>

* config/tc-sh64.c (shmedia_md_apply_fix3): Add missing
BFD_RELOC_SH_IMMS10BY8 relocation.

19 years agoinclude/elf/
Richard Sandiford [Thu, 16 Dec 2004 16:56:04 +0000 (16:56 +0000)]
include/elf/
* v850.h (R_V850_LO16_SPLIT_OFFSET): New reloc.

bfd/
* reloc.c (BFD_RELOC_V850_LO16_SPLIT_OFFSET): New bfd_reloc_code_type.
* elf32-v850.c (v850_elf_howto_table): Add entry for
R_V850_LO16_SPLIT_OFFSET.
(v850_elf_reloc_map): Map it to BFD_RELOC_V850_LO16_SPLIT_OFFSET.
(v850_elf_perform_lo16_relocation): New function, extracted from...
(v850_elf_perform_relocation): ...here.  Use it to handle
R_V850_LO16_SPLIT_OFFSET.
(v850_elf_check_relocs, v850_elf_final_link_relocate): Handle
R_V850_LO16_SPLIT_OFFSET.
* libbfd.h, bfd-in2.h: Regenerate.

gas/
* config/tc-v850.c (handle_lo16): New function.
(v850_reloc_prefix): Use it to check lo().
(md_assemble, md_apply_fix3): Handle BFD_RELOC_V850_LO16_SPLIT_OFFSET.

gas/testsuite/
* gas/v850/split-lo16.{s,d}: New test.
* gas/v850/v850.exp: Run it.

ld/testsuite/
* ld-v850: New directory.

19 years agoAdd support for s390x-ibm-tpf target
Nick Clifton [Thu, 16 Dec 2004 16:02:59 +0000 (16:02 +0000)]
Add support for s390x-ibm-tpf target

19 years ago* ldmisc.c (vfinfo): Handle the case where %B is passed a NULL BFD.
Nick Clifton [Thu, 16 Dec 2004 15:40:36 +0000 (15:40 +0000)]
* ldmisc.c (vfinfo): Handle the case where %B is passed a NULL BFD.

19 years agogas/
Jan Beulich [Thu, 16 Dec 2004 13:23:22 +0000 (13:23 +0000)]
gas/
2004-12-15 Jan Beulich  <jbeulich@novell.com>

* config/obj-elf.c (obj_elf_change_section): Only set type and
attributes on new sections. Emit warning when type of re-declared
section doesn't match.

gas/testsuite/
2004-12-15 Jan Beulich  <jbeulich@novell.com>

* gas/elf/section5.[els]: New.

19 years agobinutils/
Jan Beulich [Thu, 16 Dec 2004 13:16:33 +0000 (13:16 +0000)]
binutils/
2004-12-15 Jan Beulich  <jbeulich@novell.com>

* doc/binutils.texi: Document --strip-unneeded-symbol and
--strip-unneeded-symbols.
* objcopy.c (strip_unneeded_list): New.
(enum command_line_switch): Add OPTION_STRIP_UNNEEDED_SYMBOL
and OPTION_STRIP_UNNEEDED_SYMBOLS.
(copy_options): Add  --strip-unneeded-symbol and
--strip-unneeded-symbols.
(copy_usage): Likewise.
(filter_symbols): Suppress copying of symbol if in strip_unneeded_list
and the symbol is not needed.
(copy_main): Handle OPTION_STRIP_UNNEEDED_SYMBOL and
OPTION_STRIP_UNNEEDED_SYMBOLS.

19 years agogas/
Jan Beulich [Thu, 16 Dec 2004 08:57:23 +0000 (08:57 +0000)]
gas/
2004-12-15 Jan Beulich  <jbeulich@novell.com>

* dw2gencfi.c (dot.cfi.startproc): Clear cur_cfa_offset so
'.cfi_startproc simple' doesn't inherit the old value.

19 years agogas/
Jan Beulich [Thu, 16 Dec 2004 08:53:43 +0000 (08:53 +0000)]
gas/
2004-12-15  Jan Beulich  <jbeulich@novell.com>

* dw2gencfi.c (output_cfi_insn): Adjust DW_CFA_def_cfa_sf generation
to emit a signed and factored offset. Adjust DW_CFA_def_cfa_offset_sf
generation to emit a factored offset.

19 years agodaily update
Alan Modra [Wed, 15 Dec 2004 23:00:13 +0000 (23:00 +0000)]
daily update

19 years ago * callback.h (CB_SYS_truncate, CB_SYS_ftruncate): New macros.
Hans-Peter Nilsson [Wed, 15 Dec 2004 01:24:15 +0000 (01:24 +0000)]
* callback.h (CB_SYS_truncate, CB_SYS_ftruncate): New macros.

19 years agodaily update
Alan Modra [Tue, 14 Dec 2004 23:00:06 +0000 (23:00 +0000)]
daily update

19 years agoAdded printing of symbols on AVR disasm
Svein Seldal [Tue, 14 Dec 2004 22:30:28 +0000 (22:30 +0000)]
Added printing of symbols on AVR disasm

19 years agoAdded printing of symbols on AVR disasm
Svein Seldal [Tue, 14 Dec 2004 22:27:05 +0000 (22:27 +0000)]
Added printing of symbols on AVR disasm

19 years ago2004-12-14 Tomer Levi <Tomer.Levi@nsc.com>
Tomer Levi [Tue, 14 Dec 2004 15:38:04 +0000 (15:38 +0000)]
2004-12-14  Tomer Levi  <Tomer.Levi@nsc.com>

* elf32-crx.c (elf32_crx_relax_delete_bytes): Add 'struct bfd_link_info *'
to prototype, to make hash info available.
Prevent wrapped symbols from being adjusted twice.

19 years ago2004-12-14 Tomer Levi <Tomer.Levi@nsc.com>
Tomer Levi [Tue, 14 Dec 2004 15:36:23 +0000 (15:36 +0000)]
2004-12-14  Tomer Levi  <Tomer.Levi@nsc.com>

* elf32-crx.c (elf32_crx_relax_delete_bytes): Add 'struct bfd_link_info *' to prototype, to make hash info available.
Prevent wrapped symbols from being adjusted twice.

19 years ago * elfxx-mips.c (mips_elf_calculate_relocation): Don't report an
Richard Sandiford [Tue, 14 Dec 2004 09:48:20 +0000 (09:48 +0000)]
* elfxx-mips.c (mips_elf_calculate_relocation): Don't report an
overflow for calls to undefined weak symbols.

19 years agodaily update
Alan Modra [Mon, 13 Dec 2004 23:00:05 +0000 (23:00 +0000)]
daily update

19 years ago * ld-mips-elf/mips-elf.exp: Only run jalbal if n32 is supported.
Richard Sandiford [Mon, 13 Dec 2004 13:09:55 +0000 (13:09 +0000)]
* ld-mips-elf/mips-elf.exp: Only run jalbal if n32 is supported.

19 years ago * gas/mips/elf-rel25.d, gas/mips/elf-rel25a.d: Cope with different
Richard Sandiford [Mon, 13 Dec 2004 13:02:10 +0000 (13:02 +0000)]
* gas/mips/elf-rel25.d, gas/mips/elf-rel25a.d: Cope with different
.text alignments.

19 years agoCorrect attribution last changes
Hans-Peter Nilsson [Mon, 13 Dec 2004 00:43:59 +0000 (00:43 +0000)]
Correct attribution last changes

19 years ago * callback.h (CB_SYS_rename): New macro.
Hans-Peter Nilsson [Mon, 13 Dec 2004 00:42:49 +0000 (00:42 +0000)]
* callback.h (CB_SYS_rename): New macro.

19 years ago * callback.h (struct host_callback_struct): New member lstat.
Hans-Peter Nilsson [Mon, 13 Dec 2004 00:35:29 +0000 (00:35 +0000)]
* callback.h (struct host_callback_struct): New member lstat.
(CB_SYS_lstat): New macro.

19 years agodaily update
Alan Modra [Sun, 12 Dec 2004 23:00:04 +0000 (23:00 +0000)]
daily update

19 years agodaily update
Alan Modra [Sat, 11 Dec 2004 23:00:04 +0000 (23:00 +0000)]
daily update

19 years agobfd/
Alan Modra [Sat, 11 Dec 2004 04:32:37 +0000 (04:32 +0000)]
bfd/
* elfcode.h (elf_slurp_symbol_table): Use bfd_elf_sym_name so that
canonical sections syms have a name.

gas/testsuite/
Update for changed section syms.

ld/testsuite/
Update for changed section syms.

19 years ago * elf64-ppc.c (opd_entry_value): Don't use cached relocs if they
Alan Modra [Sat, 11 Dec 2004 03:56:43 +0000 (03:56 +0000)]
* elf64-ppc.c (opd_entry_value): Don't use cached relocs if they
have been adjusted for output.
(ppc64_elf_relocate_section): Mark sections with reloc_done.

19 years ago * config/tc-mips.c (macro) [M_LA_AB]: Give an error for a offset
Ian Lance Taylor [Sat, 11 Dec 2004 03:41:31 +0000 (03:41 +0000)]
* config/tc-mips.c (macro) [M_LA_AB]: Give an error for a offset
which is too large in the case of NO_PIC without 64-bit
addresses.

19 years agodaily update
Alan Modra [Fri, 10 Dec 2004 23:00:05 +0000 (23:00 +0000)]
daily update

19 years agomerge from gcc
DJ Delorie [Fri, 10 Dec 2004 22:04:41 +0000 (22:04 +0000)]
merge from gcc

19 years ago * gas/mips/elf-rel23a.d: New test.
Ian Lance Taylor [Fri, 10 Dec 2004 19:48:42 +0000 (19:48 +0000)]
* gas/mips/elf-rel23a.d: New test.
* gas/mips/elf-rel23b.d: New test.
* gas/mips/elf-rel25.s: New test.
* gas/mips/elf-rel25.d: New test.
* gas/mips/elf-rel25a.d: New test.
* gas/mips/mips.exp: Run new tests.

19 years ago * config/tc-mips.c (mips_in_shared): New static variable.
Ian Lance Taylor [Fri, 10 Dec 2004 19:48:21 +0000 (19:48 +0000)]
* config/tc-mips.c (mips_in_shared): New static variable.
(macro_build_lui): Permit "_gp" if !mips_in_shared.
(md_longopts): Add -mshared and -mno-shared.
(md_parse_option): Handle OPTION_MSHARED and OPTION_MNO_SHARED.
(s_cpload): Implement !mips_in_shared case.
(s_cpsetup): Likewise.
* doc/c-mips.texi (MIPS Opts): Document -mno-shared.
* NEWS: Mention -mno-shared.

19 years ago * elf.c (bfd_elf_sym_name): Add symtab_hdr param.
Alan Modra [Fri, 10 Dec 2004 14:04:58 +0000 (14:04 +0000)]
* elf.c (bfd_elf_sym_name): Add symtab_hdr param.
(group_signature): Update call.
* elf-bfd.h (bfd_elf_sym_name): Update.
* elf32-ppc.c (ppc_elf_relocate_section): Update.
* elf64-ppc.c (ppc64_elf_edit_opd, ppc64_elf_edit_toc)
(ppc64_elf_relocate_section): Update
* elflink.c (elf_link_input_bfd): Update.

19 years ago * elf.c (bfd_elf_sym_name): Rename from bfd_elf_local_sym_name.
Alan Modra [Fri, 10 Dec 2004 13:18:40 +0000 (13:18 +0000)]
* elf.c (bfd_elf_sym_name): Rename from bfd_elf_local_sym_name.
(group_signature): Update calls.
* elf-bfd.h (bfd_elf_sym_name): Update.
* elf32-ppc.c (ppc_elf_relocate_section): Update.
* elf64-ppc.c (ppc64_elf_edit_opd, ppc64_elf_edit_toc)
(ppc64_elf_relocate_section): Update
* elflink.c (elf_link_input_bfd): Update.

19 years ago * elf.c (bfd_elf_local_sym_name): Avoid crashes with invalid
Jakub Jelinek [Fri, 10 Dec 2004 13:08:03 +0000 (13:08 +0000)]
* elf.c (bfd_elf_local_sym_name): Avoid crashes with invalid
st_shndx on STT_SECTION sections.

19 years agodaily update
Alan Modra [Thu, 9 Dec 2004 23:00:24 +0000 (23:00 +0000)]
daily update

19 years ago* MAINTAINERS: List 'depcomp' as part of automake.
Jim Blandy [Thu, 9 Dec 2004 21:59:14 +0000 (21:59 +0000)]
* MAINTAINERS: List 'depcomp' as part of automake.

19 years ago * config/tc-arm.c (s_arm_unwind_fnend): Use R_ARM_PREL31 relocation
Paul Brook [Thu, 9 Dec 2004 20:25:24 +0000 (20:25 +0000)]
* config/tc-arm.c (s_arm_unwind_fnend): Use R_ARM_PREL31 relocation
for function start.
* testsuite/gas/arm/unwind.d: Expect R_ARM_PREL31 relocations.

19 years ago * elfcode.h (elf_slurp_reloc_table_from_section): Don't canonicalize
Daniel Jacobowitz [Thu, 9 Dec 2004 16:17:42 +0000 (16:17 +0000)]
* elfcode.h (elf_slurp_reloc_table_from_section): Don't canonicalize
ELF section symbols.

19 years ago * config/tc-mips.c (append_insn): If we emit a nop during a relax
Ian Lance Taylor [Thu, 9 Dec 2004 15:51:32 +0000 (15:51 +0000)]
* config/tc-mips.c (append_insn): If we emit a nop during a relax
sequence, increase the size of the sequence.

19 years ago * gas/mips/branch-swap.d: Pass -32 to as.
Ian Lance Taylor [Thu, 9 Dec 2004 15:44:17 +0000 (15:44 +0000)]
* gas/mips/branch-swap.d: Pass -32 to as.

19 years ago * ld-mips-elf/jalbal.d: New test.
Ian Lance Taylor [Thu, 9 Dec 2004 07:14:53 +0000 (07:14 +0000)]
* ld-mips-elf/jalbal.d: New test.
* ld-mips-elf/jalbal.s: New test.
* ld-mips-elf/mips-elf.exp: Run it.

19 years ago * elfxx-mips.c (mips_elf_calculate_relocation): For R_MIPS_JALR,
Ian Lance Taylor [Thu, 9 Dec 2004 07:12:28 +0000 (07:12 +0000)]
* elfxx-mips.c (mips_elf_calculate_relocation): For R_MIPS_JALR,
return a real value, unless it is a PLT symbol.
(mips_elf_perform_relocation): On the RM9000, turn a jal into a
bal if possible.

19 years ago * elfn32-mips.c (elf_mips_howto_table_rela): Change dst_mask of
Ian Lance Taylor [Thu, 9 Dec 2004 06:32:41 +0000 (06:32 +0000)]
* elfn32-mips.c (elf_mips_howto_table_rela): Change dst_mask of
R_MIPS_JALR entry to 0.

19 years ago * readelf.c (get_machine_flags): Handle E_MIPS_MACH_9000.
Ian Lance Taylor [Thu, 9 Dec 2004 06:19:12 +0000 (06:19 +0000)]
* readelf.c (get_machine_flags): Handle E_MIPS_MACH_9000.

19 years ago * config/tc-mips.c (mips_cpu_info_table): Change "9000" entry to
Ian Lance Taylor [Thu, 9 Dec 2004 06:17:14 +0000 (06:17 +0000)]
* config/tc-mips.c (mips_cpu_info_table): Change "9000" entry to
use CPU_RM9000.

19 years ago * mips.h (CPU_RM9000): Define.
Ian Lance Taylor [Thu, 9 Dec 2004 06:13:44 +0000 (06:13 +0000)]
* mips.h (CPU_RM9000): Define.
(OPCODE_IS_MEMBER): Handle CPU_RM9000.

19 years ago * archures.c: Define bfd_mach_mips9000.
Ian Lance Taylor [Thu, 9 Dec 2004 06:08:45 +0000 (06:08 +0000)]
* archures.c: Define bfd_mach_mips9000.
* elfxx-mips.c (_bfd_elf_mips_mach): Handle E_MIPS_MACH_9000.
(mips_set_isa_flags): Handle bfd_mach_mips9000.
* cpu-mips.c (I_mips9000): Define.
(arch_info_struct): Add case for bfd_mach_mips9000.
* aoutx.h (NAME(aout,machine_type)): Handle bfd_mach_mips9000.
* bfd-in2.h: Regenerate.

19 years ago * mips.h (E_MIPS_MACH_9000): Define.
Ian Lance Taylor [Thu, 9 Dec 2004 06:02:45 +0000 (06:02 +0000)]
* mips.h (E_MIPS_MACH_9000): Define.

19 years ago * arlex.l: Fix formatting.
Ben Elliston [Thu, 9 Dec 2004 01:46:27 +0000 (01:46 +0000)]
* arlex.l: Fix formatting.

19 years agodaily update
Alan Modra [Wed, 8 Dec 2004 23:00:05 +0000 (23:00 +0000)]
daily update

19 years ago * Makefile.def (flags_to_pass): Add PICFLAG_FOR_TARGET.
David Edelsohn [Wed, 8 Dec 2004 20:29:58 +0000 (20:29 +0000)]
* Makefile.def (flags_to_pass): Add PICFLAG_FOR_TARGET.
* Makefile.tpl (EXTRA_HOST_FLAGS): Add PICFLAG.
(EXTRA_TARGET_FLAGS): Add PICFLAG.
* Makefile.in: Regenerate.

19 years ago * ld-mips-elf/jaloverflow.d: New test.
Ian Lance Taylor [Wed, 8 Dec 2004 20:28:08 +0000 (20:28 +0000)]
* ld-mips-elf/jaloverflow.d: New test.
* ld-mips-elf/jaloverflow.s: New test.
* ld-mips-elf/mips-elf.exp: Run it.

19 years ago * elfxx-mips.c (mips_elf_calculate_relocation): Test for R_MIPS_26
Ian Lance Taylor [Wed, 8 Dec 2004 20:27:50 +0000 (20:27 +0000)]
* elfxx-mips.c (mips_elf_calculate_relocation): Test for R_MIPS_26
overflow.

19 years ago* Makefile.tpl: Generate normal dependencies if the LHS module is
DJ Delorie [Wed, 8 Dec 2004 18:57:27 +0000 (18:57 +0000)]
* Makefile.tpl: Generate normal dependencies if the LHS module is
not bootstrapped.
* Makefile.in: Regenerate.

19 years agomerge from gcc
DJ Delorie [Wed, 8 Dec 2004 18:55:40 +0000 (18:55 +0000)]
merge from gcc

19 years ago * Makefile.in (.NOEXPORT): Move above the autogenerated line.
Ben Elliston [Wed, 8 Dec 2004 03:13:28 +0000 (03:13 +0000)]
* Makefile.in (.NOEXPORT): Move above the autogenerated line.

19 years ago * doc/Makefile.am (config.texi): Emit a @set UPDATED command to
Ben Elliston [Wed, 8 Dec 2004 02:50:40 +0000 (02:50 +0000)]
* doc/Makefile.am (config.texi): Emit a @set UPDATED command to
config.texi whose value is the current month and year.
* doc/Makefile.in: Rebuild.
* doc/binutils.texi: Set the document subtitle to be the value of
the Texinfo UPDATED variable (obtained from config.texi).

19 years agomerge from gcc
DJ Delorie [Wed, 8 Dec 2004 01:02:33 +0000 (01:02 +0000)]
merge from gcc

19 years ago * getopt.c: Include "ansidecl.h" for the ATTRIBUTE_UNUSED macro.
Ben Elliston [Wed, 8 Dec 2004 00:30:35 +0000 (00:30 +0000)]
* getopt.c: Include "ansidecl.h" for the ATTRIBUTE_UNUSED macro.
(_getopt_initialize): Annotate argc and argv parameters as unused.
* Makefile.in (getopt.o): Depend on $(INCDIR)/ansidecl.h.

19 years agodaily update
Alan Modra [Tue, 7 Dec 2004 23:00:05 +0000 (23:00 +0000)]
daily update

19 years agomerge from gcc
DJ Delorie [Tue, 7 Dec 2004 20:02:09 +0000 (20:02 +0000)]
merge from gcc

19 years ago * ldemul.h: Forward declare struct option.
Ben Elliston [Tue, 7 Dec 2004 12:29:41 +0000 (12:29 +0000)]
* ldemul.h: Forward declare struct option.

19 years ago * read.c (s_align): Use an align_limit temporary to allay a GCC
Ben Elliston [Tue, 7 Dec 2004 12:13:24 +0000 (12:13 +0000)]
* read.c (s_align): Use an align_limit temporary to allay a GCC
signed/unsigned comparison warning.

19 years ago * netbsd-core.c (netbsd_core_file_p): Make `i' unsigned.
Ben Elliston [Tue, 7 Dec 2004 10:53:44 +0000 (10:53 +0000)]
* netbsd-core.c (netbsd_core_file_p): Make `i' unsigned.

19 years ago Suggested by Fergal Daly <fergal@esatclear.ie>:
Daniel Jacobowitz [Tue, 7 Dec 2004 04:37:56 +0000 (04:37 +0000)]
Suggested by Fergal Daly <fergal@esatclear.ie>:
* simple.c (simple_dummy_multiple_definition): New function.
(bfd_simple_get_relocated_section_contents): Use it.

19 years agodaily update
Alan Modra [Mon, 6 Dec 2004 23:00:05 +0000 (23:00 +0000)]
daily update

19 years ago PR binutils/249
Ben Elliston [Mon, 6 Dec 2004 21:20:50 +0000 (21:20 +0000)]
PR binutils/249
* doc/binutils.texi (def file format): New node.
(dlltool): Use the tool name as the @chapter name, like all the
other binutils.  Use @file{.def} throughout for consistency.

19 years ago * dlltool.c: Comment fix.
Ben Elliston [Mon, 6 Dec 2004 05:45:27 +0000 (05:45 +0000)]
* dlltool.c: Comment fix.

19 years ago * doc/binutils.texi: Update copyright years.
Ben Elliston [Mon, 6 Dec 2004 05:35:31 +0000 (05:35 +0000)]
* doc/binutils.texi: Update copyright years.

19 years agodaily update
Alan Modra [Sun, 5 Dec 2004 23:00:04 +0000 (23:00 +0000)]
daily update

19 years ago2004-12-05 Tomer Levi <Tomer.Levi@nsc.com>
Tomer Levi [Sun, 5 Dec 2004 12:29:04 +0000 (12:29 +0000)]
2004-12-05  Tomer Levi  <Tomer.Levi@nsc.com>

* crx-dis.c (print_arg): Use 'info->print_address_func' for address printing.

19 years ago2004-12-05 Tomer Levi <Tomer.Levi@nsc.com>
Tomer Levi [Sun, 5 Dec 2004 12:26:49 +0000 (12:26 +0000)]
2004-12-05  Tomer Levi  <Tomer.Levi@nsc.com>

* crx-dis.c: Use 'info->print_address_func' for address printing.

19 years agodaily update
Alan Modra [Sat, 4 Dec 2004 23:00:07 +0000 (23:00 +0000)]
daily update

19 years agodaily update
Alan Modra [Fri, 3 Dec 2004 23:00:06 +0000 (23:00 +0000)]
daily update

19 years ago2004-12-03 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 3 Dec 2004 17:06:28 +0000 (17:06 +0000)]
2004-12-03  H.J. Lu  <hongjiu.lu@intel.com>

* ld-elf/group1.d: Support 64bit.

19 years agobfd/
Jan Beulich [Fri, 3 Dec 2004 13:59:36 +0000 (13:59 +0000)]
bfd/
2004-12-03 Jan Beulich  <jbeulich@novell.com>

* elf.c (elf_find_function): Don't use the last file symbol ever,
seen, but the last one seen prior to the symbol being reported.
Don't report a filename at all for global symbols when that might
be ambiguous/wrong.

19 years agoIntroduce config/gxx-include-dir.m4.
Richard Sandiford [Fri, 3 Dec 2004 10:47:07 +0000 (10:47 +0000)]
Introduce config/gxx-include-dir.m4.

19 years agoRemove config.if.
Richard Sandiford [Fri, 3 Dec 2004 10:30:07 +0000 (10:30 +0000)]
Remove config.if.

19 years ago * Makefile.am (TARG_ENV_HFILES): Add te-armlinuxeabi.h.
Mark Mitchell [Fri, 3 Dec 2004 01:22:15 +0000 (01:22 +0000)]
* Makefile.am (TARG_ENV_HFILES): Add te-armlinuxeabi.h.
* configure.in: Use it for arm*-*-linux-gnueabi*.
* config/tc-arm.c: Allow emulation file to set FPU_DEFAULT.
* config/te-armlinuxeabi.h: New file.
* Makefile.in: Regenerated.
* aclocal.m4: Likewise.
* configure: Likewise.
* doc/Makefile.in: Regenerated.

19 years ago * config/tc-xtensa.c (xtensa_switch_section_emit_state): Use subseg_set.
Bob Wilson [Fri, 3 Dec 2004 01:00:07 +0000 (01:00 +0000)]
* config/tc-xtensa.c (xtensa_switch_section_emit_state): Use subseg_set.
(xtensa_restore_emit_state): Likewise.

19 years agoUse correct ChangeLog entry.
Eric Christopher [Thu, 2 Dec 2004 23:51:19 +0000 (23:51 +0000)]
Use correct ChangeLog entry.

19 years ago2004-12-02 Eric Christopher <echristo@redhat.com>
Eric Christopher [Thu, 2 Dec 2004 23:50:22 +0000 (23:50 +0000)]
2004-12-02  Eric Christopher  <echristo@redhat.com>

        * Makefile.tpl (clean-target-libgcc): Add stmp-dirs to list of
things to remove.
        * Makefile.in: Regenerate.

19 years agodaily update
Alan Modra [Thu, 2 Dec 2004 23:00:05 +0000 (23:00 +0000)]
daily update

19 years ago2004-12-01 Paul Brook <paul@codesourcery.com>
Paul Brook [Thu, 2 Dec 2004 15:05:34 +0000 (15:05 +0000)]
2004-12-01  Paul Brook  <paul@codesourcery.com>

* elf32-arm.c (elf32_arm_copy_private_bfd_data): Set EI_OSABI.
(elf32_arm_post_process_headers): Set EI_OSABI depending on ABI
version.

19 years ago * configure.in: Clear gcc_version_trigger if the file doesn't exist.
Richard Sandiford [Thu, 2 Dec 2004 14:08:01 +0000 (14:08 +0000)]
* configure.in: Clear gcc_version_trigger if the file doesn't exist.
* configure: Regenerate.

19 years agoIntroduce and use config/gcc-version.m4.
Richard Sandiford [Thu, 2 Dec 2004 11:09:36 +0000 (11:09 +0000)]
Introduce and use config/gcc-version.m4.

19 years ago * read.c (ALIGN_LIMIT): Define, increasing limit for BFD_ASSEMBLER.
Alan Modra [Thu, 2 Dec 2004 09:39:14 +0000 (09:39 +0000)]
* read.c (ALIGN_LIMIT): Define, increasing limit for BFD_ASSEMBLER.
(s_align): Use it.