OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
19 years agodaily update
Alan Modra [Fri, 3 Sep 2004 00:00:05 +0000 (00:00 +0000)]
daily update

19 years agoupdate Carlo Wood's name
Nick Clifton [Thu, 2 Sep 2004 17:27:43 +0000 (17:27 +0000)]
update Carlo Wood's name

19 years ago(make_one_lib_file): For IDATA6 take the name from exp->internal_name if it
Nick Clifton [Thu, 2 Sep 2004 15:55:36 +0000 (15:55 +0000)]
(make_one_lib_file): For IDATA6 take the name from exp->internal_name if it
is present.

19 years ago* MAINTAINERS: Add self as co-maintainer of FR-V.
Alexandre Oliva [Thu, 2 Sep 2004 08:25:06 +0000 (08:25 +0000)]
* MAINTAINERS: Add self as co-maintainer of FR-V.
* readelf.c (get_machine_flags): Print FR-V cpu types.

19 years ago2004-09-02 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Thu, 2 Sep 2004 07:04:53 +0000 (07:04 +0000)]
2004-09-02  Paolo Bonzini  <bonzini@gnu.org>

* configure.ac: Do not enable multilibs for build-side libiberty.

19 years ago * elf64-ppc.c (ppc64_elf_get_synthetic_symtab): Use static_syms passed
Alan Modra [Thu, 2 Sep 2004 04:43:36 +0000 (04:43 +0000)]
* elf64-ppc.c (ppc64_elf_get_synthetic_symtab): Use static_syms passed
in when reading relocs, not our sorted syms.  Remove unnecessary
var.

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

19 years ago* doc/c-arm.texi (ARM Options): Document canonical names of CPUs.
Richard Earnshaw [Wed, 1 Sep 2004 16:34:29 +0000 (16:34 +0000)]
* doc/c-arm.texi (ARM Options): Document canonical names of CPUs.

19 years agoArgh! missing comma...
Richard Earnshaw [Wed, 1 Sep 2004 16:19:36 +0000 (16:19 +0000)]
Argh! missing comma...

19 years ago* tc-arm.c (arm_cpus, arm_fpus): Allow <cpu>-s as well as <cpu>s
Richard Earnshaw [Wed, 1 Sep 2004 16:16:44 +0000 (16:16 +0000)]
* tc-arm.c (arm_cpus, arm_fpus): Allow <cpu>-s as well as <cpu>s
for synthesizable cores.

19 years ago2004-09-01 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Wed, 1 Sep 2004 07:48:07 +0000 (07:48 +0000)]
2004-09-01  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.tpl (sorry): Remove.
(clean-stage[+id+], clean-stage[+id+]-module): New targets.
(cleanstrap targets): Depend on distclean, not distclean-stage1.
(do-clean): Clean per-stage directories too.
(do-distclean): Run distclean-stage1 too.
(.NOTPARALLEL): Enable during toplevel bootstrap.
(stage[+id+]-bubble): Enable parallel execution during
the recursive invocation.
* Makefile.in: Regenerate.

Sync from gcc (moving the Makefile.in change to Makefile.tpl):

2004-08-31  Robert Bowdidge <bowdidge@apple.com>

* Makefile.in: Move BOOT_CFLAGS above host makefile fragment include.
* configure.in: add test for powerpc-*-darwin* to specify makefile frag
* configure: regenerate
* config/mh-ppc-darwin: create file, override BOOT_CFLAGS for
        -mdynamic-no-pic

19 years agodaily update
Alan Modra [Wed, 1 Sep 2004 00:00:05 +0000 (00:00 +0000)]
daily update

19 years ago2004-08-31 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Tue, 31 Aug 2004 10:16:19 +0000 (10:16 +0000)]
2004-08-31  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.def (build_modules): Add fixincludes.
(dependencies): Make gcc depend on fixincludes.
* configure.in (build_tools): Add fixincludes.
(build_configdirs): Always include build_libs.
* Makefile.in: Regenerate.
* configure: Regenerate.

19 years ago * elf.c (special_sections): Add .gnu.linkonce.b modelled on .bss.
Eric Botcazou [Tue, 31 Aug 2004 09:41:11 +0000 (09:41 +0000)]
* elf.c (special_sections): Add .gnu.linkonce.b modelled on .bss.

19 years agodaily update
Alan Modra [Tue, 31 Aug 2004 00:00:07 +0000 (00:00 +0000)]
daily update

19 years ago2004-08-30 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Mon, 30 Aug 2004 18:59:50 +0000 (18:59 +0000)]
2004-08-30  Nathanael Nerode  <neroden@gcc.gnu.org>

* configure.in: Autoupdate to autoconf 2.59.
* aclocal.m4: Rebuild with aclocal 1.4p6.
* configure: Rebuild with autoconf 2.59.
* Makefile.in: Rebuild with automake 1.4p6 (picking up
bfd changes for autoconf 2.59 on the way).
* config.in: Rebuild with autoheader 2.59.

19 years ago2004-08-30 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Mon, 30 Aug 2004 18:58:14 +0000 (18:58 +0000)]
2004-08-30  Nathanael Nerode  <neroden@gcc.gnu.org>

* acinclude.m4: Require AC_CANONICAL_TARGET, not AC_CANONICAL_SYSTEM.
Include ../config/acx.m4 and use ACX_NONCANONICAL_* where appropriate;
replace uses of *_alias with *_noncanonical.
* aclocal.m4: Rebuild with aclocal 1.4p6.
* Makefile.in: Rebuild with automake 1.4p6.
* doc/Makefile.in: Rebuild with automake 1.4p6.
* configure.in: Autoupdate with autoupdate 2.59.
* config.in: Regenerate with autoheader 2.59.
* configure: Regnerate with autoconf 2.59.

19 years ago2004-08-26 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Mon, 30 Aug 2004 08:05:42 +0000 (08:05 +0000)]
2004-08-26  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.def (bootstrap stages): Add 'lean' parameter.
* Makefile.tpl (configure-stageN-*, all-stageN-*): Turned into
phony targets; do not generate timestamp files.
(distclean-stageN): Remove references to their timestamp files.
(restageN, touch-stageN): Remove.
(stageN-bubble): Rewritten.
(compare): Support lean bootstraps.
* Makefile.in: Regenerate.

* configure.in: Only warn when bootstrapping but
build != host or build != target.  Support lean bootstraps.
* configure: Regenerate.

Sync from gcc:
2004-08-26  Phil Edwards  <phil@codesourcery.com>

* configure.in:  Give a better error message if GMP/MPFR are missing
and a language needing them has been requested.
* configure:  Regenerated.

2004-08-25  Phil Edwards  <phil@codesourcery.com>

* configure.in:  Print a list of available language front-ends if
a requested one is missing.  Tidy stray tab characters.
* configure:  Regenerated.

19 years agodaily update
Alan Modra [Mon, 30 Aug 2004 00:00:06 +0000 (00:00 +0000)]
daily update

19 years agodaily update
Alan Modra [Sun, 29 Aug 2004 00:00:06 +0000 (00:00 +0000)]
daily update

19 years ago * nm.c (show_synthetic): New var.
Alan Modra [Sat, 28 Aug 2004 08:55:47 +0000 (08:55 +0000)]
* nm.c (show_synthetic): New var.
(long_options): Add "synthetic".
(usage): Here too.
(display_rel_file): Handle show_synthetic.

19 years ago * elf64-ppc.c (ppc64_elf_get_synthetic_symtab): Copy input
Alan Modra [Sat, 28 Aug 2004 08:54:34 +0000 (08:54 +0000)]
* elf64-ppc.c (ppc64_elf_get_synthetic_symtab): Copy input
symbol pointer arrays before modifying.

19 years agocorrected version
Alan Modra [Sat, 28 Aug 2004 03:29:18 +0000 (03:29 +0000)]
corrected version

19 years agobfd/
Alan Modra [Sat, 28 Aug 2004 03:05:18 +0000 (03:05 +0000)]
bfd/
* bfd.c (bfd_get_synthetic_symtab): Pass counts and both symbol tables.
* elf-bfd.h (_bfd_elf_get_synthetic_symtab): Adjust.
* elf.c (_bfd_elf_get_synthetic_symtab): Adjust.
* libbfd-in.h (_bfd_nodynamic_get_synthetic_symtab): Adjust.
* targets.c (struct bfd_target <_bfd_get_synthetic_symtab>): Adjust.
* elf64-ppc.c (ppc64_elf_get_synthetic_symtab): Don't read symbols.
Use both symbol tables on non-relocatable objects.  Use a common
error exit.  Fix "mid" warning.
* libbfd.h: Regenerate.
* bfd-in2.h: Regenerate.
binutils/
* objdump.c (dump_bfd): Pass both symbol tables to
bfd_get_synthetic_symtab.

19 years agodaily update
Alan Modra [Sat, 28 Aug 2004 00:00:06 +0000 (00:00 +0000)]
daily update

19 years ago * elf64-ppc.c (ppc64_elf_branch_reloc): Check .opd is in a regular
Alan Modra [Fri, 27 Aug 2004 14:54:41 +0000 (14:54 +0000)]
* elf64-ppc.c (ppc64_elf_branch_reloc): Check .opd is in a regular
object file.
(struct sfpr_def_parms): Save some space.
(sfpr_define): Here too.

* elf64-ppc.c (compare_symbols): Put section syms first.
(sym_exists_at): New function.
(ppc64_elf_get_synthetic_symtab): Use relocs to find code entry
points only for relocatable files.  Use .opd section contents
otherwise.  Generally clean up the code.

19 years agocpu/
Richard Sandiford [Fri, 27 Aug 2004 09:32:02 +0000 (09:32 +0000)]
cpu/
* frv.cpu (cfmovs): Change UNIT attribute to FMALL.

opcodes/
* frv-desc.[ch], frv-opc.[ch]: Regenerated.

gas/testsuite/
* gas/frv/fr550-pack1.[sd]: New test.
* gas/frv/allinsn.exp: Run it.

19 years agoAllow pcrel test for COFF targets as well, but not for PE targets.
Nick Clifton [Fri, 27 Aug 2004 08:09:00 +0000 (08:09 +0000)]
Allow pcrel test for COFF targets as well, but not for PE targets.
Similarly for the absrel test.

19 years ago * elf64-ppc.c (STD_R0_0R1, STD_R0_0R12, LD_R0_0R1, LD_R0_0R12,
Alan Modra [Fri, 27 Aug 2004 07:54:00 +0000 (07:54 +0000)]
* elf64-ppc.c (STD_R0_0R1, STD_R0_0R12, LD_R0_0R1, LD_R0_0R12,
LI_R12_0, STVX_VR0_R12_R0, LVX_VR0_R12_R0, MTLR_R0, SFPR_MAX): Define.
(struct sfpr_def_parms): New.
(sfpr_define): New function.
(savegpr0, savegpr0_tail, restgpr0, restgpr0_tail): New functions.
(savegpr1, savegpr1_tail, restgpr1, restgpr1_tail): New functions.
(savefpr, savefpr0_tail, restfpr, restfpr0_tail): New functions.
(savefpr1_tail, restfpr1_tail): New functions.
(savevr, savevr_tail, restvr, restvr_tail): New functions.
(MIN_SAVE_FPR, MAX_SAVE_FPR): Don't define.
(ppc64_elf_func_desc_adjust): Use sfpr_define in place of existing
code.  Define all ABI mandated _save and _rest functions.

19 years agoDo not assume that either bfd is an archive
Nick Clifton [Fri, 27 Aug 2004 07:39:19 +0000 (07:39 +0000)]
Do not assume that either bfd is an archive

19 years ago* gas/i386/i386.exp: Group ELF specific tests together. Move the pcrel
Nick Clifton [Fri, 27 Aug 2004 07:10:30 +0000 (07:10 +0000)]
* gas/i386/i386.exp: Group ELF specific tests together.  Move the pcrel
test into the ELF only section.  Use is_elf_format to test for ELF based
toolchains.

19 years agodaily update
Alan Modra [Fri, 27 Aug 2004 00:00:06 +0000 (00:00 +0000)]
daily update

19 years ago * INTERWORK_FLAG: Return true for EABIv3 objects.
Paul Brook [Thu, 26 Aug 2004 16:18:37 +0000 (16:18 +0000)]
* INTERWORK_FLAG: Return true for EABIv3 objects.

19 years agodaily update
Alan Modra [Thu, 26 Aug 2004 00:00:05 +0000 (00:00 +0000)]
daily update

19 years agobfd/
Alan Modra [Wed, 25 Aug 2004 23:40:56 +0000 (23:40 +0000)]
bfd/
* elf32-m32r.c (m32r_elf_relocate_section): Don't compare with
TRUE or FALSE.
ld/
* ldlang.c (lang_init): Don't compare with TRUE.

19 years ago * elf32-i386.c (elf_i386_relocate_section): Tweak last change so
Alan Modra [Wed, 25 Aug 2004 23:20:37 +0000 (23:20 +0000)]
* elf32-i386.c (elf_i386_relocate_section): Tweak last change so
that pcrel correction is applied for R_386_PC32.

19 years ago2004-08-25 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 25 Aug 2004 17:05:10 +0000 (17:05 +0000)]
2004-08-25  H.J. Lu  <hongjiu.lu@intel.com>

* gas/all/gas.exp: Use `string match ""' instead of `eq ""'.

19 years ago * elf32-i386.c (elf_i386_relocate_section): Zero section contents
Alan Modra [Wed, 25 Aug 2004 14:35:58 +0000 (14:35 +0000)]
* elf32-i386.c (elf_i386_relocate_section): Zero section contents
for R_386_32 and R_386_PC32 relocs against symbols defined in
discarded sections.

19 years agoApply Dmitry Diky's patches to add relaxation to msp430.
Nick Clifton [Wed, 25 Aug 2004 12:54:15 +0000 (12:54 +0000)]
Apply Dmitry Diky's patches to add relaxation to msp430.

19 years ago2004-08-24 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 25 Aug 2004 06:11:43 +0000 (06:11 +0000)]
2004-08-24  H.J. Lu  <hongjiu.lu@intel.com>

* ldlang.c (wildcardp): Defined as a macro with strpbrk.

19 years agodaily update
Alan Modra [Wed, 25 Aug 2004 00:00:06 +0000 (00:00 +0000)]
daily update

19 years ago* as.c (std_shortopts): Allow -g to take an optional argument.
Nick Clifton [Tue, 24 Aug 2004 11:58:27 +0000 (11:58 +0000)]
* as.c (std_shortopts): Allow -g to take an optional argument.
(parse_args): Pass any switch starting with -g on to the backend for parsing.

19 years agoaltmacro.[sd]: Split out part from here...
Nick Clifton [Tue, 24 Aug 2004 11:37:54 +0000 (11:37 +0000)]
altmacro.[sd]: Split out part from here...
altmac2.[sd]: ... to here.
excl.s: New.
gas.exp: Suppress both tests for a few targets known to break. Run the new
 (split out) test only when the target doesn't use '!' as a comment character.

19 years ago(m32r_elf_relocate_section): Handle R_M32R_SDA16_RELA in the same way as
Nick Clifton [Tue, 24 Aug 2004 08:21:25 +0000 (08:21 +0000)]
(m32r_elf_relocate_section): Handle R_M32R_SDA16_RELA in the same way as
R_M32R_SDA16.

19 years agodaily update
Alan Modra [Tue, 24 Aug 2004 00:00:07 +0000 (00:00 +0000)]
daily update

19 years agoAdd missing ChangeLog entry.
Jim Blandy [Mon, 23 Aug 2004 23:50:35 +0000 (23:50 +0000)]
Add missing ChangeLog entry.

19 years agodaily update
Alan Modra [Mon, 23 Aug 2004 00:00:07 +0000 (00:00 +0000)]
daily update

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

19 years ago * ld-cris/expdyn1.d, ld-cris/expdyn5.d, ld-cris/expdyn6.d,
Hans-Peter Nilsson [Sat, 21 Aug 2004 12:51:41 +0000 (12:51 +0000)]
* ld-cris/expdyn1.d, ld-cris/expdyn5.d, ld-cris/expdyn6.d,
ld-cris/expdyn7.d, ld-cris/gotplt2.d, ld-cris/gotplt3.d,
ld-cris/libdso-1.d, ld-cris/libdso-2.d, ld-cris/locref1.d,
ld-cris/nodyn4.d, ld-cris/nodyn5.d: Adjust for reordered
sections.

19 years ago * elflink.c (_bfd_elf_section_already_linked): Handle
Daniel Jacobowitz [Sat, 21 Aug 2004 01:13:22 +0000 (01:13 +0000)]
* elflink.c (_bfd_elf_section_already_linked): Handle
SEC_LINK_DUPLICATES_SAME_CONTENTS.

19 years agodaily update
Alan Modra [Sat, 21 Aug 2004 00:00:07 +0000 (00:00 +0000)]
daily update

19 years agoFix typo in Alan Modra's 2004-08-16 entry.
Ben Elliston [Fri, 20 Aug 2004 11:44:26 +0000 (11:44 +0000)]
Fix typo in Alan Modra's 2004-08-16 entry.

19 years agodaily update
Alan Modra [Fri, 20 Aug 2004 00:00:06 +0000 (00:00 +0000)]
daily update

19 years ago * configure.tgt (arm*-*-symbianelf*): New target.
Mark Mitchell [Thu, 19 Aug 2004 18:11:42 +0000 (18:11 +0000)]
* configure.tgt (arm*-*-symbianelf*): New target.
(arm*-*-eabi*): Likewise.

19 years ago * configure.in (arm*-*-symbianelf*): New target.
Mark Mitchell [Thu, 19 Aug 2004 18:11:00 +0000 (18:11 +0000)]
* configure.in (arm*-*-symbianelf*): New target.
(arm*-*-eabi*): Likewise.
* configure: Regenerated.

19 years ago * config.bfd (arm*-*-symbianelf*): New target.
Mark Mitchell [Thu, 19 Aug 2004 18:09:44 +0000 (18:09 +0000)]
* config.bfd (arm*-*-symbianelf*): New target.
(arm*-*-eabi*): Likewise.

19 years ago * elf64-ppc.c (ppc_get_stub_entry): Change third param to a
Alan Modra [Thu, 19 Aug 2004 08:30:16 +0000 (08:30 +0000)]
* elf64-ppc.c (ppc_get_stub_entry): Change third param to a
"struct ppc_link_hash_entry *".
(ppc64_elf_relocate_section): Ditto for type of h.  Introduce h_elf
to satisfy RELOC_FOR_GLOBAL_SYMBOL.

19 years ago * elf64-ppc.c (ppc64_elf_edit_opd): Support 16 byte long .opd
Jakub Jelinek [Thu, 19 Aug 2004 07:47:25 +0000 (07:47 +0000)]
* elf64-ppc.c (ppc64_elf_edit_opd): Support 16 byte long .opd
entries (where fd_aux overlaps next entry's fd_func).
Add non_overlapping argument, use it.
(ppc64_elf_check_relocs, ppc64_elf_gc_mark_hook, adjust_opd_syms,
ppc64_elf_size_stubs, ppc64_elf_relocate_section,
ppc64_elf_output_symbol_hook): Use address / 8 instead of address / 24
as indexes into opd_sym_map/opd_adjust array.
* elf64-ppc.h (ppc64_elf_edit_opd): Adjust prototype.

* emultempl/ppc64elf.em (non_overlapping_opd): New variable.
(ppc_before_allocation): Pass it to ppc64_elf_edit_opd).
(OPTION_NON_OVERLAPPING_OPD): Define.
(PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Add
--non-overlapping-opd option.

19 years agodaily update
Alan Modra [Thu, 19 Aug 2004 00:00:06 +0000 (00:00 +0000)]
daily update

19 years ago* config/tc-mips.c (append_insn): Handle delay slots in branch likely
Thiemo Seufer [Wed, 18 Aug 2004 15:58:12 +0000 (15:58 +0000)]
* config/tc-mips.c (append_insn): Handle delay slots in branch likely
correctly.

19 years ago * elf64-ppc.c (func_desc_adjust): Give undefined dot-symbols a value
Alan Modra [Wed, 18 Aug 2004 10:11:02 +0000 (10:11 +0000)]
* elf64-ppc.c (func_desc_adjust): Give undefined dot-symbols a value
if we can look up their function descriptor in a regular file.

19 years ago * config/tc-ia64.c (start_unwind_section): Add linkonce_empty
Jakub Jelinek [Wed, 18 Aug 2004 09:51:29 +0000 (09:51 +0000)]
* config/tc-ia64.c (start_unwind_section): Add linkonce_empty
argument, don't do anything if current section is not
.gnu.linkonce.t.* and linkonce_empty is set.
(generate_unwind_image, dot_endp): Adjust callers, call
start_unwind_section (*, 1) if nothing will be put into the
section.

19 years agoPR 324
Nick Clifton [Wed, 18 Aug 2004 09:44:11 +0000 (09:44 +0000)]
PR 324
(coff_link_add_symbols): Check that the comdat pointer in the coff_section_data
structure has been initialised before using it.

19 years agoRemove #NO_APP, accidentally committed as part of another patch.
Nick Clifton [Wed, 18 Aug 2004 07:23:47 +0000 (07:23 +0000)]
Remove #NO_APP, accidentally committed as part of another patch.

19 years ago2004-08-17 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Wed, 18 Aug 2004 06:51:38 +0000 (06:51 +0000)]
2004-08-17  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.in: Regenerate.
* configure: Regenerate.

* Makefile.def (bootstrap-stage): Rename extra_*_flags to
stage_*_flags.
* Makefile.tpl (configure-[+module+], all-[+module+]): Exit
for bootstrapped modules if toplevel bootstrap is going.
(GCC bootstrap): Generate per-stage targets for all bootstrapped
modules.  Adjust for changes in Makefile.def.  Enable several
rules even in non-bootstrap mode, just to avoid peppering the
template with unnecessary "@if/@endif gcc-bootstrap" pairs.
(stage-[+prev+]-bubble): Remove.

* Makefile.def (Dependencies): Depend on all-build-bison,
all-build-flex, all-build-byacc, all-build-texinfo, rather
than the host variations.
* Makefile.tpl (BUILD_DIR_PREFIX): Remove.  Replace throughout
with BUILD_SUBDIR.
(BISON): Update for recent Bisons.
(YACC): Fix typo.
(cross): Depend on all-build.
(all): Do not depend on all-build.
(prebootstrap): Remove.
(dep-kind): Accept separate prefixes for MODULE and ON variables.
(Prebootstrap dependencies): Add them to the per-stage targets
and to all-prebootstrap.
* configure.in (build_configdirs): Always enable build_tools.
(BUILD_DIR_PREFIX): Remove.

* Makefile.def (gcc): Add target variable.
(gdb, expect, guile, tk, tix): Replace with_x with extra_make_flags.
* Makefile.tpl (Autogenerated `all-*' targets): Invoke $(TARGET-*)
in the recursive `make', instead of hardwiring `all'.
(Autogenerated TARGET-* variables): New.

19 years ago PR 338
Alan Modra [Wed, 18 Aug 2004 02:45:43 +0000 (02:45 +0000)]
PR 338
* elflink.c (bfd_elf_record_link_assignment): Add comment about
changing bfd_link_hash_undefined to bfd_link_hash_new.
* ldexp.c (fold_name): Don't call bfd_link_add_undef if the symbol
was already on the undefs list.

19 years agodaily update
Alan Modra [Wed, 18 Aug 2004 00:00:05 +0000 (00:00 +0000)]
daily update

19 years agoPatch from Robert Millan for knetbsd-gnu/kfreebsd-gnu.
Jim Wilson [Tue, 17 Aug 2004 22:09:17 +0000 (22:09 +0000)]
Patch from Robert Millan for knetbsd-gnu/kfreebsd-gnu.
* configure.in: In noconfigdirs check, match GNU/k*BSD with GNU/Linux
(instead of FreeBSD).
* configure: Regenerate.

19 years agotrim off entries that came in with a merge, rev 1.245, now in ChangeLog-9103
Alan Modra [Tue, 17 Aug 2004 13:07:48 +0000 (13:07 +0000)]
trim off entries that came in with a merge, rev 1.245, now in ChangeLog-9103

19 years ago * emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern): Dot
Alan Modra [Tue, 17 Aug 2004 12:33:59 +0000 (12:33 +0000)]
* emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern): Dot
prefix the symbol field too.

19 years agoAdd support for a -g switch to GAS
Nick Clifton [Tue, 17 Aug 2004 12:19:58 +0000 (12:19 +0000)]
Add support for a -g switch to GAS

19 years agobfd/
Jakub Jelinek [Tue, 17 Aug 2004 09:07:35 +0000 (09:07 +0000)]
bfd/
* elfxx-target.h (bfd_elfNN_get_synthetic_symtab): Only define
if not yet defined.
* elf64-ppc.c (bfd_elf64_get_synthetic_symtab): Define.
(synthetic_opd, synthetic_relocatable): New variables.
(compare_symbols, compare_relocs): New helper routines.
(ppc64_elf_get_synthetic_symtab): New function.
* bfd.c (bfd_get_synthetic_symtab): Rename dynsyms argument
to relsyms.
* bfd-in2.h: Regenerated.
* elf.c (_bfd_elf_get_synthetic_symtab): Rename dynsyms argument
to relsyms.  Return 0 if abfd is relocatable.
binutils/
* objdump.c (dump_bfd): For relocatable objects, pass syms instead
of dynsyms to bfd_get_synthetic_symtab.

19 years ago * elflink.h (elf_gc_sweep): Keep non-alloc, non-load sections.
Alan Modra [Tue, 17 Aug 2004 08:51:07 +0000 (08:51 +0000)]
* elflink.h (elf_gc_sweep): Keep non-alloc, non-load sections.

19 years ago(is_arm_mapping_symbol_name): New function - return true when a symbol name
Nick Clifton [Tue, 17 Aug 2004 08:12:26 +0000 (08:12 +0000)]
(is_arm_mapping_symbol_name): New function - return true when a symbol name
 matches the requirements for an ARM mapping symbol name.
(arm_elf_find_function): New function based on elf_find_function in elf.c but
 skipping ARM mapping symbols and including thumb function symbols.
(elf32_arm_find_nearest_line): Use arm_elf_find_function.
(elf32_arm_output_symbol_hook): Use is_arm_mapping_symbol_name.

19 years ago * elf64-ppc.c (ppc64_elf_branch_reloc): New function.
Alan Modra [Tue, 17 Aug 2004 07:05:52 +0000 (07:05 +0000)]
* elf64-ppc.c (ppc64_elf_branch_reloc): New function.
(ppc64_elf_howto_raw): Use ppc64_elf_branch_reloc.
(ppc64_elf_brtaken_reloc): Here too.

19 years ago * ld-elfvsb/elfvsb.exp: Cope with ppc64 dot symbols.
Alan Modra [Tue, 17 Aug 2004 05:39:32 +0000 (05:39 +0000)]
* ld-elfvsb/elfvsb.exp: Cope with ppc64 dot symbols.

19 years ago * elf64-ppc.c (add_symbol_adjust): Correct mismatched function
Alan Modra [Tue, 17 Aug 2004 05:38:28 +0000 (05:38 +0000)]
* elf64-ppc.c (add_symbol_adjust): Correct mismatched function
symbol visibility.
(ppc64_elf_check_directives): Check that we have the right hash
table before proceeding.

19 years ago * elf64-ppc.c (struct ppc64_elf_obj_tdata): Add "deleted_section".
Alan Modra [Tue, 17 Aug 2004 01:25:21 +0000 (01:25 +0000)]
* elf64-ppc.c (struct ppc64_elf_obj_tdata): Add "deleted_section".
(adjust_opd_syms): Attach opd syms for deleted entries to one of
the sections that will be discarded.

19 years ago * ld-scripts/cross1.t: Remove .opd section spec.
Alan Modra [Tue, 17 Aug 2004 01:18:50 +0000 (01:18 +0000)]
* ld-scripts/cross1.t: Remove .opd section spec.

19 years agodaily update
Alan Modra [Tue, 17 Aug 2004 00:00:05 +0000 (00:00 +0000)]
daily update

19 years ago(macro_set_alternate): Use ISO C90 formatting.
Nick Clifton [Mon, 16 Aug 2004 08:34:28 +0000 (08:34 +0000)]
(macro_set_alternate): Use ISO C90 formatting.

19 years agoSort architecture based tables alphabetically.
Nick Clifton [Mon, 16 Aug 2004 08:25:44 +0000 (08:25 +0000)]
Sort architecture based tables alphabetically.

19 years agoaltmacro.d: Allow for rest of frag being padded to an alignment boundary.
Nick Clifton [Mon, 16 Aug 2004 08:15:50 +0000 (08:15 +0000)]
altmacro.d: Allow for rest of frag being padded to an alignment boundary.
arm.exp: Run bignum test for ELF based targets only.

19 years ago * config/tc-ppc.c (tc_ppc_regname_to_dw2regnum <regnames>): Replace
Alan Modra [Mon, 16 Aug 2004 03:04:47 +0000 (03:04 +0000)]
* config/tc-ppc.c (tc_ppc_regname_to_dw2regnum <regnames>): Replace
{ "cc", 68 }, with { "cr", 70 }.

19 years ago * elflink.c (elf_section_complain_discarded): Ignore .fixup.
Alan Modra [Mon, 16 Aug 2004 01:17:58 +0000 (01:17 +0000)]
* elflink.c (elf_section_complain_discarded): Ignore .fixup.

19 years ago * bfd.c (_bfd_default_error_handler): Account for doubled '%' in
Alan Modra [Mon, 16 Aug 2004 01:14:42 +0000 (01:14 +0000)]
* bfd.c (_bfd_default_error_handler): Account for doubled '%' in
free space available.

19 years ago * pdp11.c (struct pdp11_aout_reloc_external): Delete. Replace
Alan Modra [Mon, 16 Aug 2004 00:25:14 +0000 (00:25 +0000)]
* pdp11.c (struct pdp11_aout_reloc_external): Delete.  Replace
occurrences with bfd_btye * thoughout file.

* coff-rs6000.c (do_shared_object_padding): Warning fix.
(xcoff_write_armap_big): Likewise.
(xcoff_write_archive_contents_old): Likewise.
(xcoff_write_archive_contents_big): Likewise.

* elf64-mmix.c (mmix_elf_get_section_contents): Delete declaration.

19 years agobinutils/
Alan Modra [Mon, 16 Aug 2004 00:09:20 +0000 (00:09 +0000)]
binutils/
* readelf.c (debug_apply_rela_addends): New function, extracted from..
(display_debug_info): ..here.
(display_debug_frames): Call debug_apply_rela_addends.  Don't do
DW_EH_PE_pcrel adjustment for ET_REL.
gas/testsuite/
* gas/cfi/cfi-alpha-1.d: Adjust for readelf fix.
* gas/cfi/cfi-alpha-3.d: Likewise.
* gas/cfi/cfi-i386.d: Likewise.
* gas/cfi/cfi-m68k.d: Likewise.
* gas/cfi/cfi-ppc-1.d: Likewise.
* gas/cfi/cfi-s390-1.d: Likewise.
* gas/cfi/cfi-s390x-1.d: Likewise.
* gas/cfi/cfi-sh-1.d: Likewise.
* gas/cfi/cfi-sparc-1.d: Likewise.
* gas/cfi/cfi-sparc64-1.d: Likewise.
* gas/cfi/cfi-x86_64.d: Likewise.

19 years agodaily update
Alan Modra [Mon, 16 Aug 2004 00:00:05 +0000 (00:00 +0000)]
daily update

19 years agodaily update
Alan Modra [Sun, 15 Aug 2004 00:00:07 +0000 (00:00 +0000)]
daily update

19 years agodaily update
Alan Modra [Sat, 14 Aug 2004 00:00:06 +0000 (00:00 +0000)]
daily update

19 years ago2004-08-13 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Fri, 13 Aug 2004 22:32:31 +0000 (22:32 +0000)]
2004-08-13  Nathanael Nerode  <neroden@gcc.gnu.org>

* Add ACX_{TARGET,HOST,BUILD}_NONCANONICAL,
which do an automatic AC_SUBST on _GCC_TOPLEV_*_NONCANONICAL.
The intention is that we will migrate to these bit by bit.

19 years agoAdd and handle new --alternate command line option.
Nick Clifton [Fri, 13 Aug 2004 19:53:52 +0000 (19:53 +0000)]
Add and handle new --alternate command line option.

19 years ago* symconst.h (langMax): Fix typo in comment.
Mark Kettenis [Fri, 13 Aug 2004 19:17:39 +0000 (19:17 +0000)]
* symconst.h (langMax): Fix typo in comment.

19 years agoConvert file to ISO C90
Nick Clifton [Fri, 13 Aug 2004 15:35:22 +0000 (15:35 +0000)]
Convert file to ISO C90

19 years ago PR 293
Alan Modra [Fri, 13 Aug 2004 08:41:51 +0000 (08:41 +0000)]
PR 293
* elf32-hppa.c (elf32_hppa_hide_symbol): Use init_refcount to
zero the plt field.

19 years agoO_JSR): Do not allow VECIND addressing for non-SX processors.
Nick Clifton [Fri, 13 Aug 2004 08:14:02 +0000 (08:14 +0000)]
O_JSR): Do not allow VECIND addressing for non-SX processors.

19 years agobfd/
Alan Modra [Fri, 13 Aug 2004 03:16:01 +0000 (03:16 +0000)]
bfd/
* bfd.c (_bfd_default_error_handler): Handle %A and %B.
(bfd_archive_filename, bfd_get_section_ident): Delete.
* ecofflink.c (bfd_ecoff_debug_accumulate_other): Don't call
bfd_archive_filename.
* elflink.c (elf_link_input_bfd): Don't use callbacks->error_handler
to warn about symbols in discarded sections.  Use _bfd_error_handler.
* aout-adobe.c (aout_adobe_callback): See below.
* aout-cris.c (swap_ext_reloc_in): ..
* coff-arm.c (find_thumb_glue, find_arm_glue,
coff_arm_relocate_section, bfd_arm_process_before_allocation,
coff_arm_merge_private_bfd_data, _bfd_coff_arm_set_private_flags,
coff_arm_copy_private_bfd_data): ..
* coff-i860.c (i860_reloc_processing): ..
* coff-mcore.c (mcore_coff_unsupported_reloc,
coff_mcore_relocate_section): ..
* coff-ppc.c (coff_ppc_relocate_section): ..
* coff-rs6000.c (xcoff_create_csect_from_smclas
* coff-sh.c (sh_relax_section, sh_relax_delete_bytes,
sh_swap_insns, sh_relocate_section): ..
* coff-tic54x.c (tic54x_reloc_processing): ..
* coff-tic80.c (coff_tic80_relocate_section): ..
* coff64-rs6000.c (xcoff64_create_csect_from_smclas): ..
* coffcode.h (styp_to_sec_flags, coff_slurp_line_table,
coff_slurp_symbol_table, coff_classify_symbol,
coff_slurp_reloc_table): ..
* coffgen.c (_bfd_coff_read_string_table): ..
* cofflink.c (coff_link_add_symbols, _bfd_coff_link_input_bfd,
_bfd_coff_generic_relocate_section): ..
* cpu-arm.c (bfd_arm_merge_machines): ..
* cpu-sh.c (sh_merge_bfd_arch): ..
* elf-hppa.h (elf_hppa_relocate_section): ..
* elf.c (bfd_elf_string_from_elf_section, setup_group,
_bfd_elf_setup_group_pointers, bfd_section_from_shdr,
assign_section_numbers, _bfd_elf_symbol_from_bfd_symbol,
copy_private_bfd_data, _bfd_elf_validate_reloc): ..
* elf32-arm.h (find_thumb_glue, find_arm_glue,
bfd_elf32_arm_process_before_allocation, elf32_thumb_to_arm_stub,
elf32_arm_to_thumb_stub, elf32_arm_final_link_relocate,
elf32_arm_relocate_section, elf32_arm_set_private_flags,
elf32_arm_copy_private_bfd_data, elf32_arm_merge_private_bfd_data): ..
* elf32-cris.c (cris_elf_relocate_section, cris_elf_check_relocs,
cris_elf_merge_private_bfd_data
* elf32-frv.c (elf32_frv_relocate_section, elf32_frv_check_relocs): ..
* elf32-gen.c (elf32_generic_link_add_symbols): ..
* elf32-hppa.c (hppa_add_stub, hppa_build_one_stub,
elf32_hppa_check_relocs, get_local_syms, final_link_relocate,
elf32_hppa_relocate_section): ..
* elf32-i370.c (i370_elf_merge_private_bfd_data,
i370_elf_check_relocs, i370_elf_relocate_section): ..
* elf32-i386.c (elf_i386_info_to_howto_rel, elf_i386_check_relocs,
elf_i386_relocate_section): ..
* elf32-m32r.c (m32r_elf_relocate_section,
m32r_elf_merge_private_bfd_data): ..
* elf32-m68hc1x.c (m68hc12_add_stub,
_bfd_m68hc11_elf_merge_private_bfd_data): ..
* elf32-m68k.c (elf_m68k_relocate_section): ..
* elf32-mcore.c (mcore_elf_unsupported_reloc,
mcore_elf_relocate_section): ..
* elf32-ppc.c (ppc_elf_merge_private_bfd_data, bad_shared_reloc,
ppc_elf_check_relocs, ppc_elf_relocate_section,
ppc_elf_begin_write_processing): ..
* elf32-s390.c (elf_s390_check_relocs, invalid_tls_insn,
elf_s390_relocate_section): ..
* elf32-sh-symbian.c (sh_symbian_import_as,
sh_symbian_process_embedded_commands,
sh_symbian_relocate_section): ..
* elf32-sh.c (sh_elf_relax_section, sh_elf_relax_delete_bytes,
sh_elf_swap_insns, sh_elf_relocate_section, sh_elf_check_relocs,
sh_elf_merge_private_data): ..
* elf32-sparc.c (elf32_sparc_check_relocs,
elf32_sparc_relocate_section,
elf32_sparc_merge_private_bfd_data): ..
* elf32-v850.c (v850_elf_check_relocs,
v850_elf_merge_private_bfd_data): ..
* elf32-xtensa.c (elf_xtensa_check_relocs,
elf_xtensa_relocate_section, elf_xtensa_merge_private_bfd_data): ..
* elf64-alpha.c (elf64_alpha_relax_with_lituse,
elf64_alpha_relax_got_load, elf64_alpha_size_got_sections,
elf64_alpha_relocate_section_r, elf64_alpha_relocate_section): ..
* elf64-gen.c (elf64_generic_link_add_symbols): ..
* elf64-ppc.c (ppc64_elf_merge_private_bfd_data, ppc_add_stub,
ppc64_elf_check_relocs, ppc64_elf_edit_opd,
ppc64_elf_relocate_section): ..
* elf64-s390.c (elf_s390_check_relocs, invalid_tls_insn,
elf_s390_relocate_section): ..
* elf64-sh64.c (sh_elf64_relocate_section): ..
* elf64-sparc.c (sparc64_elf_check_relocs,
sparc64_elf_add_symbol_hook, sparc64_elf_relocate_section,
sparc64_elf_merge_private_bfd_data): ..
* elf64-x86-64.c (elf64_x86_64_check_relocs,
elf64_x86_64_relocate_section): ..
* elflink.c (_bfd_elf_add_default_symbol,
_bfd_elf_link_assign_sym_version, elf_link_read_relocs_from_section,
_bfd_elf_link_output_relocs, elf_link_add_object_symbols,
bfd_elf_size_dynamic_sections, elf_link_output_extsym,
elf_get_linked_section_vma, elf_fixup_link_order,
bfd_elf_final_link, bfd_elf_gc_record_vtinherit,
bfd_elf_gc_record_vtinherit, _bfd_elf_section_already_linked): ..
* elfxx-ia64.c (elfNN_ia64_relax_section,
elfNN_ia64_relocate_section, elfNN_ia64_merge_private_bfd_data): ..
* elfxx-mips.c (mips_elf_perform_relocation,
_bfd_mips_elf_check_relocs,
_bfd_mips_elf_merge_private_bfd_data): ..
* ieee.c (ieee_slurp_external_symbols): ..
* ihex.c (ihex_bad_byte, ihex_scan, ihex_read_section): ..
* libbfd.c (_bfd_generic_verify_endian_match): ..
* linker.c (_bfd_generic_link_add_one_symbol,
_bfd_generic_section_already_linked): ..
* pdp11.c (translate_to_native_sym_flags): ..
* pe-mips.c (coff_pe_mips_relocate_section): ..
* peicode.h (pe_ILF_build_a_bfd): ..
* srec.c (srec_bad_byte): ..
* stabs.c (_bfd_link_section_stabs): ..
* xcofflink.c (xcoff_link_add_symbols, xcoff_link_input_bfd): ..
Replace all uses of bfd_archive_filename and bfd_get_section_ident
with corresponding %B and %A in _bfd_error_handler format string.
Replace occurrences of "fprintf (stderr," with _bfd_error_handler
calls to use %A and %B.  Fix "against symbol .. from section" and
similar error messages.  Combine multiple _bfd_error_handler calls
where they were separated due to bfd_archive_filename deficiencies.
* bfd-in2.h: Regenerate.
include/
* bfdlink.h (struct bfd_link_callbacks): Remove "error_handler".
(LD_DEFINITION_IN_DISCARDED_SECTION): Delete.
ld/
* ldmain.c (link_callbacks): Remove "error_handler".
* ldmisc.c: Include elf-bfd.h.
(vfinfo): Sort comment.  Handle %A.  Use %A instead of
bfd_get_section_indent.
(error_handler): Delete.
* ldmisc.h (error_handler): Delete declaration.

19 years agodaily update
Alan Modra [Fri, 13 Aug 2004 00:00:07 +0000 (00:00 +0000)]
daily update

19 years ago * Makefile.def, configure.in, src-release: Remove useless, bogus
Nathanael Nerode [Thu, 12 Aug 2004 22:59:53 +0000 (22:59 +0000)]
* Makefile.def, configure.in, src-release: Remove useless, bogus
references to tix.
* Makefile.in, configure: Regenerate.