OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
20 years agodaily update
Alan Modra [Sun, 20 Jun 2004 00:00:06 +0000 (00:00 +0000)]
daily update

20 years ago * common.h (ELF64_R_INFO): Warning fix.
Alan Modra [Sat, 19 Jun 2004 02:21:14 +0000 (02:21 +0000)]
* common.h (ELF64_R_INFO): Warning fix.

20 years agodaily update
Alan Modra [Sat, 19 Jun 2004 00:00:08 +0000 (00:00 +0000)]
daily update

20 years ago* readelf.c (process_program_headers): When locating the dynamic section use
Nick Clifton [Fri, 18 Jun 2004 17:18:59 +0000 (17:18 +0000)]
* readelf.c (process_program_headers): When locating the dynamic section use
  the section table if it is present.
(dynamic_segment): Renamed to dynamic_section.
Replace references to dynamic segment with references to dynamic
section, except where appropriate.
(dynamic_segment_mips_val): Rename to dynamic_section_mips_val.
(dynamic_segment_parisc_val): Rename to dynamic_section_parisc_val.
(dynamic_segment_ia64_val): Rename to dynamic_section_ia64_val.
(get_32bit_dynamic_segment): Rename to get_32bit_dynamic_section.
Remove tag counting code as it is no longer needed.
(get_64bit_dynamic_segment): Rename to get_64bit_dynamic_section.
Remove tag counting code as it is no longer needed.
(process_dynamic_segment): Rename to process_dynamic_section.

20 years ago* configure.in: Set EXTRA_SHLIB_EXTENSION to .a for LynxOS.
Nick Clifton [Fri, 18 Jun 2004 16:13:13 +0000 (16:13 +0000)]
* configure.in: Set EXTRA_SHLIB_EXTENSION to .a for LynxOS.
* configure: Regenerate.

20 years ago* ld-elfvsb/main.c: Ensure visibility_def and visibility_func are
Nick Clifton [Fri, 18 Jun 2004 15:41:47 +0000 (15:41 +0000)]
* ld-elfvsb/main.c: Ensure visibility_def and visibility_func are
  actually referenced (gcc 3.4 eliminates comparisons of addresses
  of global symbols with NULL).
* ld-selective/selective.exp: Suppress -fvtable-gc tests for gcc
  3.4.0 and above, as this option and its functionality is no longer
  supported, making these tests fail).

20 years ago* config/tc-i386.c: Deal with LEX_QM the same way as with LEX_AT.
Nick Clifton [Fri, 18 Jun 2004 14:55:49 +0000 (14:55 +0000)]
* config/tc-i386.c: Deal with LEX_QM the same way as with LEX_AT.
* config/te-netware.h: New file.
* config/te-ppcnw.h: Delete: Obsolete.
* configure.in: Eliminate ill NetWare targets. Make generic
  NetWare target use proper emulation.
* Makefile.am: Eliminate reference to obsolete te-ppcnw.h, add
  reference to new te-netware.h.
* configure: Regenerate.
* Makefile.in: Regenerate.

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

20 years agocache.c (bfd_cache_close_all): Add missing return statement.
Jerome Guitton [Thu, 17 Jun 2004 11:55:02 +0000 (11:55 +0000)]
cache.c (bfd_cache_close_all): Add missing return statement.

20 years ago * bfd-in.h (bfd_cache_close_all): New function declaration.
Jerome Guitton [Thu, 17 Jun 2004 11:47:51 +0000 (11:47 +0000)]
* bfd-in.h (bfd_cache_close_all): New function declaration.
* bfd-in2.h: Regenerate.
* cache.c (bfd_cache_close_all): New function definition.

20 years ago* configure.in: Don't set COREFILE to trad-core.lo for FreeBSD
Mark Kettenis [Thu, 17 Jun 2004 09:38:38 +0000 (09:38 +0000)]
* configure.in: Don't set COREFILE to trad-core.lo for FreeBSD
4.10 and beyond.
* configure: Regenerate.

20 years ago Replace accidentally broken configure from previous regenerate.
Corinna Vinschen [Thu, 17 Jun 2004 08:15:38 +0000 (08:15 +0000)]
Replace accidentally broken configure from previous regenerate.

20 years ago * configure.in: Don't build Cygwin native newlib if winsup
Corinna Vinschen [Thu, 17 Jun 2004 07:56:46 +0000 (07:56 +0000)]
* configure.in: Don't build Cygwin native newlib if winsup
directory is missing.  Emit warning instead.
* configure: Regenerate.

20 years ago * elf32-ppc.c (ppc_elf_create_linker_section): Create symbols in
Daniel Jacobowitz [Thu, 17 Jun 2004 02:27:12 +0000 (02:27 +0000)]
* elf32-ppc.c (ppc_elf_create_linker_section): Create symbols in
the pre-existing section.

20 years agodaily update
Alan Modra [Thu, 17 Jun 2004 00:00:09 +0000 (00:00 +0000)]
daily update

20 years agodaily update
Alan Modra [Wed, 16 Jun 2004 00:00:07 +0000 (00:00 +0000)]
daily update

20 years ago * scripttempl/elf.sc: Readd KEEP and .gcc_except_table.* to
Jakub Jelinek [Tue, 15 Jun 2004 16:39:17 +0000 (16:39 +0000)]
* scripttempl/elf.sc: Readd KEEP and .gcc_except_table.* to
.gcc_except_table output sections lost accidentally with
-z relro patch.

20 years ago * config/tc-s390.c (s390_insn): Avoid incorrect signed/unsigned
Martin Schwidefsky [Tue, 15 Jun 2004 12:38:08 +0000 (12:38 +0000)]
* config/tc-s390.c (s390_insn): Avoid incorrect signed/unsigned
comparison in .insn pseudo operation.

20 years ago * configure.in: Run through autoupdate.
Ben Elliston [Tue, 15 Jun 2004 03:24:57 +0000 (03:24 +0000)]
* configure.in: Run through autoupdate.
* configure: Regenerate with autoconf 2.59.
* Makefile.am (install-local): Rename from this ..
(install-data-local): .. to this.
* Makefile.in: Regenerate with automake 1.8.5.
* aclocal.m4: Regenerate with aclocal 1.8.5.

20 years ago * section.c (struct sec): Remove usused flags. Reorganize a little.
Alan Modra [Tue, 15 Jun 2004 01:24:22 +0000 (01:24 +0000)]
* section.c (struct sec): Remove usused flags.  Reorganize a little.
(bfd_get_section_size_before_reloc): Delete.
(bfd_get_section_size_after_reloc): Delete.
(STD_SECTION): Update.
(bfd_get_section_size_now): Delete.
(bfd_set_section_contents): Don't referece reloc_done.
(bfd_get_section_contents): Remove reloc_done comment.
* bout.c (b_out_bfd_get_relocated_section_contents): Don't set
reloc_done.
* coff-alpha.c (alpha_ecoff_get_relocated_section_contents): Likewise.
* ecoff.c (bfd_debug_section): Update initializer.
* elfxx-mips.c (_bfd_elf_mips_get_relocated_section_contents): Ditto.
* reloc.c (bfd_generic_get_relocated_section_contents): Likewise.
* bfd-in.h (bfd_section_size): Expand.
(bfd_get_section_size): New macro.
* bfd-in2.h: Regenerate.
* coff64-rs6000.c (xcoff64_write_object_contents): Replace
bfd_get_section_size_before_reloc with bfd_get_section_size.
* coffcode.h (coff_write_object_contents): Likewise.
* coffgen.c (build_debug_section): Likewise.
* dwarf1.c (parse_line_table): Likewise.
(_bfd_dwarf1_find_nearest_line): Likewise.
* ecoff.c (_bfd_ecoff_write_object_contents): Likewise.
* i386msdos.c (msdos_write_object_contents): Likewise.
* pdp11.c (squirt_out_relocs): Likewise.
* elf32-sh64.c (sh64_find_section_for_address): Remove comment.
* elf64-mmix.c (mmix_elf_final_link): Update comment.

20 years ago * objcopy.c (copy_section): Use bfd_get_section_size instead of
Alan Modra [Tue, 15 Jun 2004 01:19:13 +0000 (01:19 +0000)]
* objcopy.c (copy_section): Use bfd_get_section_size instead of
_raw_size or bfd_get_section_size_before_reloc.  Don't set reloc_done.
(compare_section_lma): Likewise.
* addr2line.c (find_address_in_section): Likewise.
* coffgrok.c (do_sections_p1): Likewise.
* dlltool.c (scan_drectve_symbols): Likewise.
* nlmconv.c (main): Likewise.
(copy_sections): Likewise.
(powerpc_mangle_relocs): Likewise.
* objdump.c (disassemble_section): Likewise.
* prdbg.c (find_address_in_section): Likewise.
* size.c (berkeley_sum): Likewise.
* srconv.c (wr_ob): Likewise.
* strings.c (strings_a_section): Likewise.

20 years ago * config/obj-coff.c (coff_adjust_section_syms): Use
Alan Modra [Tue, 15 Jun 2004 01:16:35 +0000 (01:16 +0000)]
* config/obj-coff.c (coff_adjust_section_syms): Use
bfd_get_section_size instead of bfd_get_section_size_before_reloc.
(coff_frob_section): Likewise.
* config/tc-mips.c (md_apply_fix3): Likewise.
* config/obj-elf.c (elf_frob_file): Use bfd_set_section_size.
(elf_frob_file_after_relocs): Likewise.

20 years ago * arc-ext.c (build_ARC_extmap): Use bfd_get_section_size
Alan Modra [Tue, 15 Jun 2004 01:14:22 +0000 (01:14 +0000)]
* arc-ext.c (build_ARC_extmap): Use bfd_get_section_size
instead of _raw_size.

20 years ago * ldwrite.c (build_link_order): Use bfd_get_section_size
Alan Modra [Tue, 15 Jun 2004 01:13:20 +0000 (01:13 +0000)]
* ldwrite.c (build_link_order): Use bfd_get_section_size
instead of bfd_get_section_size_before_reloc or _raw_size.
* pe-dll.c (process_def_file): Likewise.

20 years ago * corefile.c (core_init): Use bfd_get_section_size
Alan Modra [Tue, 15 Jun 2004 01:11:43 +0000 (01:11 +0000)]
* corefile.c (core_init): Use bfd_get_section_size
instead of bfd_get_section_size_before_reloc or _raw_size.
* symtab.c (symtab_finalize): Likewise.

20 years agodaily update
Alan Modra [Tue, 15 Jun 2004 00:00:06 +0000 (00:00 +0000)]
daily update

20 years ago[ bfd/ChangeLog ]
Chris Demetriou [Mon, 14 Jun 2004 18:25:10 +0000 (18:25 +0000)]
[ bfd/ChangeLog ]
2004-06-14  Chris Demetriou  <cgd@broadcom.com>

        * elf32-mips.c (elf_mips_gnu_pcrel32): Add (undoing 2004-04-24
        removal) with updated comment.
        (bfd_elf32_bfd_reloc_type_lookup): Add back case for
        BFD_RELOC_32_PCREL.
        (mips_elf32_rtype_to_howto): Add back case for R_MIPS_PC32.
        * elfxx-mips.c (mips_elf_calculate_relocation): Likewise.

[ include/elf/ChangeLog ]
2004-06-14  Chris Demetriou  <cgd@broadcom.com>

        * mips.h (R_MIPS_PC32): Add back (undoing removal on 2004-04-24),
        with an updated comment.

20 years ago * ldlang.c (lang_finish): Don't free lang_definedness_table.
Alan Modra [Mon, 14 Jun 2004 12:46:43 +0000 (12:46 +0000)]
* ldlang.c (lang_finish): Don't free lang_definedness_table.

20 years agodaily update
Alan Modra [Mon, 14 Jun 2004 00:00:07 +0000 (00:00 +0000)]
daily update

20 years agodaily update
Alan Modra [Sun, 13 Jun 2004 00:00:06 +0000 (00:00 +0000)]
daily update

20 years ago * elf64-x86-64.c (elf64_x86_64_relocate_section): Ignore reloc
Alan Modra [Sat, 12 Jun 2004 11:30:10 +0000 (11:30 +0000)]
* elf64-x86-64.c (elf64_x86_64_relocate_section): Ignore reloc
overflow on branches to undefweaks.

20 years agodaily update
Alan Modra [Sat, 12 Jun 2004 00:00:07 +0000 (00:00 +0000)]
daily update

20 years ago * config/tc-hppa.c (log2): Rename to exact_log2.
Dave Anglin [Fri, 11 Jun 2004 17:39:18 +0000 (17:39 +0000)]
* config/tc-hppa.c (log2): Rename to exact_log2.
(pa_next_subseg): Delete unused function.
(create_new_space): Mark unused arguments with ATTRIBUTE_UNUSED.
(create_new_subspace): Likewise.

20 years ago Bug gas/213
Dave Anglin [Fri, 11 Jun 2004 17:36:32 +0000 (17:36 +0000)]
Bug gas/213
* config/tc-hppa.c (hppa_fix_adjustable): Allow reduction of fake
labels.  Fix warning.

20 years ago* coff-alpha.c (alpha_relocate_section): Set used_by_bfd directly
Maciej W. Rozycki [Fri, 11 Jun 2004 14:19:32 +0000 (14:19 +0000)]
* coff-alpha.c (alpha_relocate_section): Set used_by_bfd directly
as ecoff_section_data() does not return a valid lvalue.

20 years agodaily update
Alan Modra [Fri, 11 Jun 2004 00:00:10 +0000 (00:00 +0000)]
daily update

20 years agoInclude Makefile.*, not just Makefile.in, in the top-level policy.
Ben Elliston [Wed, 9 Jun 2004 22:48:28 +0000 (22:48 +0000)]
Include Makefile.*, not just Makefile.in, in the top-level policy.

20 years agoUpdate with respect to DejaGnu and Expect.
Ben Elliston [Wed, 9 Jun 2004 22:14:10 +0000 (22:14 +0000)]
Update with respect to DejaGnu and Expect.

20 years ago* elflink.c (elf_sort_symbol): Compare section id, not pointers.
Alexandre Oliva [Wed, 9 Jun 2004 13:49:04 +0000 (13:49 +0000)]
* elflink.c (elf_sort_symbol): Compare section id, not pointers.
(elf_link_add_object_symbols): Likewise.

20 years ago2004-06-09 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Wed, 9 Jun 2004 08:32:35 +0000 (08:32 +0000)]
2004-06-09  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.tpl (touch-stage[+id+]): New.
(restage[+prev+]): Depend on touch-stage[+id+].

* Makefile.tpl (RECURSE_FLAGS_TO_PASS): New.
Use it throughout.

* Makefile.def: Add profile and feedback bootstrap stages.
Remove next field from bootstrap stages.
* Makefile.tpl (LN, LN_S): Substitute.
(stageN-start, stageN-end): Use double-colon rules, to
provide a hook for additional setup commands.
(distclean-stageN-gcc, restageN): Create dependencies from
[+prev+], not from [+next+].
(stageN-bubble): Add commands for successive stages from
[+prev+], using double-colon rules.
(all-stageN-gcc): Fix typo.
(stagefeedback-start, profiledbootstrap): New.
* Makefile.in: Regenerate.
* configure.in: Call ACX_PROG_LN.
* configure: Regenerate.

config/ChangeLog:
2004-06-09  Paolo Bonzini  <bonzini@gnu.org>

* acx.m4 (ACX_PROG_LN): From gcc, modified to
accept a parameter.

20 years ago* elf-m10300.c (_bfd_mn10300_elf_reloc_type_class): New.
Alexandre Oliva [Wed, 9 Jun 2004 08:31:28 +0000 (08:31 +0000)]
* elf-m10300.c (_bfd_mn10300_elf_reloc_type_class): New.
(elf_backend_reloc_type_class): New.

20 years agoopcodes/
Jakub Jelinek [Tue, 8 Jun 2004 20:40:59 +0000 (20:40 +0000)]
opcodes/
* ia64-gen.c (in_iclass): Handle more postinc st
and ld variants.
* ia64-asmtab.c: Rebuilt.
gas/testsuite/
* gas/ia64/dv-raw-err.s: Add some new postinc tests.
* gas/ia64/dv-raw-err.l: Updated.

20 years ago* configure.in (hppa*-*-netbsd*, hppa*-*-openbsd): Set COREFILE to
Mark Kettenis [Tue, 8 Jun 2004 07:39:37 +0000 (07:39 +0000)]
* configure.in (hppa*-*-netbsd*, hppa*-*-openbsd): Set COREFILE to
netbsd-core.lo.
* configure: Regenerate.

20 years agodaily update
Alan Modra [Tue, 8 Jun 2004 00:00:13 +0000 (00:00 +0000)]
daily update

20 years ago From: Albert Chin-A-Young <china@thewrittenword.com>
Daniel Jacobowitz [Mon, 7 Jun 2004 15:29:53 +0000 (15:29 +0000)]
From:  Albert Chin-A-Young  <china@thewrittenword.com>
* bfd/elf-bfd.h (struct eh_cie_fde): Convert unsigned char bitfields
to unsigned int.

20 years agodaily update
Alan Modra [Mon, 7 Jun 2004 00:00:06 +0000 (00:00 +0000)]
daily update

20 years agodaily update
Alan Modra [Sun, 6 Jun 2004 00:00:06 +0000 (00:00 +0000)]
daily update

20 years agodaily update
Alan Modra [Sat, 5 Jun 2004 00:00:06 +0000 (00:00 +0000)]
daily update

20 years agodaily update
Alan Modra [Fri, 4 Jun 2004 00:00:13 +0000 (00:00 +0000)]
daily update

20 years ago* configure.in: Fix --enable-bootstrap breakage introduced in trees without
Christopher Faylor [Thu, 3 Jun 2004 04:57:38 +0000 (04:57 +0000)]
* configure.in: Fix --enable-bootstrap breakage introduced in trees without
gcc.
* configure: Regenerate.

20 years ago * s390-opc.txt: Correct architecture mask for some opcodes.
Martin Schwidefsky [Tue, 1 Jun 2004 13:56:11 +0000 (13:56 +0000)]
    * s390-opc.txt: Correct architecture mask for some opcodes.
lrv, lrvh, strv, ml, dl, alc, slb rll and mvclu are available
in the esa mode as well.

20 years ago2004-06-01 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Tue, 1 Jun 2004 08:11:41 +0000 (08:11 +0000)]
2004-06-01  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.tpl: Fix typo.
* Makefile.in: Regenerate.

20 years ago2004-06-01 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Tue, 1 Jun 2004 07:54:42 +0000 (07:54 +0000)]
2004-06-01  Paolo Bonzini <bonzini@gnu.org>

* configure.in: Remove new- prefix from toplevel
bootstrap targets.
* configure: Regenerate.

20 years ago2004-06-01 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Tue, 1 Jun 2004 07:46:01 +0000 (07:46 +0000)]
2004-06-01  Paolo Bonzini <bonzini@gnu.org>

Merge this patch from the gcc tree:

2004-05-30  Andreas Jaeger  <aj@suse.de>
    Jim Wilson <wilson@specifixinc.com>

* config-ml.in: Pass FFLAGS and ADAFLAGS for multilibs, handle F77
like CC.

20 years ago2004-06-01 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Tue, 1 Jun 2004 07:42:22 +0000 (07:42 +0000)]
2004-06-01  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.tpl (all.normal): Rename to all.
(all): Replace with a rule to pick the default
target from configure.
(all-gcc, configure-gcc): Use conditionals to
do nothing when toplevel bootstrap is going on.
(GCC directory bootstrap) [gcc-bootstrap]: Disable.
(Toplevel bootstrap) [gcc-no-bootstrap]: Disable.
* configure.in: Support --enable-bootstrap.

* Makefile.def: Remove new- prefix from toplevel
bootstrap targets.
* Makefile.tpl: Likewise.

* Makefile.def: Add bootstrap_stage 4.  Add bootstrap2
target.

* Makefile.tpl (Toplevel bootstrap): Pass $(BASE_FLAGS_TO_PASS)
$(RECURSE_FLAGS) to recursive invocation of make.

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

20 years agodaily update
Alan Modra [Tue, 1 Jun 2004 00:00:11 +0000 (00:00 +0000)]
daily update

20 years agomerge from gcc
DJ Delorie [Mon, 31 May 2004 13:27:45 +0000 (13:27 +0000)]
merge from gcc

20 years agodaily update
Alan Modra [Mon, 31 May 2004 00:00:06 +0000 (00:00 +0000)]
daily update

20 years agodaily update
Alan Modra [Sun, 30 May 2004 00:00:06 +0000 (00:00 +0000)]
daily update

20 years ago2004-05-29 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Sat, 29 May 2004 19:25:54 +0000 (19:25 +0000)]
2004-05-29  H.J. Lu  <hongjiu.lu@intel.com>

* elfxx-ia64.c (elfNN_ia64_relax_section): Undo the last
change.

20 years ago * ldlang.c (gc_section_callback): Move SEC_EXCLUDE twiddles..
Alan Modra [Sat, 29 May 2004 04:30:41 +0000 (04:30 +0000)]
* ldlang.c (gc_section_callback): Move SEC_EXCLUDE twiddles..
(lang_gc_sections): .. to a LANG_FOR_EACH_INPUT_STATEMENT loop here.

20 years ago * readelf.c (decode_ARM_machine_flags): Add EF_ARM_VFP_FLOAT.
Ian Lance Taylor [Sat, 29 May 2004 00:12:03 +0000 (00:12 +0000)]
* readelf.c (decode_ARM_machine_flags): Add EF_ARM_VFP_FLOAT.

20 years ago* elf-m10300.c (mn10300_elf_relax_section): Preserve reloc addend
DJ Delorie [Fri, 28 May 2004 21:33:35 +0000 (21:33 +0000)]
* elf-m10300.c (mn10300_elf_relax_section): Preserve reloc addend
for linking, but otherwise adjust reloc for merged sections.

20 years ago* config/tc-mn10300.h (tc_fix_adjustable): Define.
DJ Delorie [Fri, 28 May 2004 21:33:07 +0000 (21:33 +0000)]
* config/tc-mn10300.h (tc_fix_adjustable): Define.
* config/tc-mn10300.c (mn10300_fix_adjustable): Don't adjust debug
or non-merged symbols.

20 years ago2004-05-28 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 28 May 2004 20:30:29 +0000 (20:30 +0000)]
2004-05-28  H.J. Lu  <hongjiu.lu@intel.com>

* elfxx-ia64.c (elfNN_ia64_relax_section): Properly call
_bfd_merged_section_offset for local symbols.

20 years ago2004-05-28 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 28 May 2004 19:26:31 +0000 (19:26 +0000)]
2004-05-28  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-ia64.c (remove_marked_resource): Save, clear and
restore the old slot when inserting srlz.i/srlz.d.

20 years ago2004-05-28 Andrew Stubbs <andrew.stubbs@superh.com>
Joern Rennecke [Fri, 28 May 2004 12:32:10 +0000 (12:32 +0000)]
2004-05-28  Andrew Stubbs <andrew.stubbs@superh.com>

bfd:
* Makefile.am: Regenerate dependencies.
* Makefile.in: Regenerate.
* archures.c: Add bfd_mach_sh3_nommu .
* bfd-in2.h: Regenerate.
* cpu-sh.c: Add sh3-nommu architecture.
(bfd_to_arch_table): Create new table.
(sh_get_arch_from_bfd_mach): Create new function.
(sh_get_arch_up_from_bfd_mach): Create new function.
(sh_merge_bfd_arch): Create new function.
* elf32-sh.c (sh_ef_bfd_table): Add table.
(sh_elf_check_relocs): Replace switch statement with
use of sh_ef_bfd_table .
(sh_elf_get_flags_from_mach): Add new function.
(sh_find_elf_flags): Likewise.
(sh_elf_copy_private_data): Replace most of non-elf contents
with a call to sh_merge_bfd_arch() .

gas:
* Makefile.am: Regenerate dependecies.
* Makefile.in: Regenerate.
* config/tc-sh.c (valid_arch): Make unsigned.
(preset_target_arch): Likewise.
(md_begin): Use new architecture flags system.
(get_specific): Likewise.
(assemble_ppi): Likewise.
(md_assemble): Likewise. Also fix error check for bad opcodes.
(md_parse_option): Likewise. Also generate -isa values according
to the table in bfd/cpu-sh.c instead of just constants. Also
allow <arch>-up ISA variants.
(sh_elf_final_processing): Replace if-else chain with a call to
sh_find_elf_flags().
* testsuite/gas/sh/arch: New directory.
* testsuite/gas/sh/arch/arch.exp: New test script.
* testsuite/gas/sh/arch/arch_expected.txt: New file.
* testsuite/gas/sh/arch/sh.s: New file.
* testsuite/gas/sh/arch/sh2.s: New file.
* testsuite/gas/sh/arch/sh-dsp.s: New file.
* testsuite/gas/sh/arch/sh2e.s: New file.
* testsuite/gas/sh/arch/sh3-nommu.s: New file.
* testsuite/gas/sh/arch/sh3.s: New file.
* testsuite/gas/sh/arch/sh3-dsp.s: New file.
* testsuite/gas/sh/arch/sh3e.s: New file.
* testsuite/gas/sh/arch/sh4-nommu-nofpu.s: New file.
* testsuite/gas/sh/arch/sh4-nofpu.s: New file.
* testsuite/gas/sh/arch/sh4.s: New file.
* testsuite/gas/sh/arch/sh4a-nofpu.s: New file.
* testsuite/gas/sh/arch/sh4al-dsp.s: New file.
* testsuite/gas/sh/arch/sh4a.s: New file.

include/elf:
* sh.h (EF_SH_HAS_DSP): Remove.
(EF_SH_HAS_FP): Remove.
(EF_SH_MERGE_MACH): Remove.
(EF_SH4_NOFPU): Convert to decimal.
(EF_SH4A_NOFPU): Likewise.
(EF_SH4_NOMMU_NOFPU): Likewise.
(EF_SH3_NOMMU): Add new macro.
(EF_SH_BFD_TABLE): Likewise.
(sh_find_elf_flags): Add prototype.
(sh_elf_get_flags_from_mach): Likewise.

opcodes:
* sh-dis.c (target_arch): Make unsigned.
(print_insn_sh): Replace (most of) switch with a call to
sh_get_arch_from_bfd_mach(). Also use new architecture flags system.
* sh-opc.h: Redefine architecture flags values.
Add sh3-nommu architecture.
Reorganise <arch>_up macros so they make more visual sense.
(SH_MERGE_ARCH_SET): Define new macro.
(SH_VALID_BASE_ARCH_SET): Likewise.
(SH_VALID_MMU_ARCH_SET): Likewise.
(SH_VALID_CO_ARCH_SET): Likewise.
(SH_VALID_ARCH_SET): Likewise.
(SH_MERGE_ARCH_SET_VALID): Likewise.
(SH_ARCH_SET_HAS_FPU): Likewise.
(SH_ARCH_SET_HAS_DSP): Likewise.
(SH_ARCH_UNKNOWN_ARCH): Likewise.
(sh_get_arch_from_bfd_mach): Add prototype.
(sh_get_arch_up_from_bfd_mach): Likewise.
(sh_get_bfd_mach_from_arch_set): Likewise.
(sh_merge_bfd_arc): Likewise.

ld:
* testsuite/ld-sh/arch/arch.exp: New test script.
* testsuite/ld-sh/arch/arch_expected.txt: New file.
* testsuite/ld-sh/arch/sh.s: New file.
* testsuite/ld-sh/arch/sh2.s: New file.
* testsuite/ld-sh/arch/sh-dsp.s: New file.
* testsuite/ld-sh/arch/sh2e.s: New file.
* testsuite/ld-sh/arch/sh3-nommu.s: New file.
* testsuite/ld-sh/arch/sh3.s: New file.
* testsuite/ld-sh/arch/sh3-dsp.s: New file.
* testsuite/ld-sh/arch/sh3e.s: New file.
* testsuite/ld-sh/arch/sh4-nommu-nofpu.s: New file.
* testsuite/ld-sh/arch/sh4-nofpu.s: New file.
* testsuite/ld-sh/arch/sh4.s: New file.
* testsuite/ld-sh/arch/sh4a-nofpu.s: New file.
* testsuite/ld-sh/arch/sh4al-dsp.s: New file.
* testsuite/ld-sh/arch/sh4a.s: New file.

20 years ago * ldlang.c: Formatting. Wrap long lines, expand bfd_get_section_flags
Alan Modra [Fri, 28 May 2004 10:34:18 +0000 (10:34 +0000)]
* ldlang.c: Formatting.  Wrap long lines, expand bfd_get_section_flags
throughout file.
* lexsup.c: Formatting.  Wrap long lines.
* ldwrite.c: Update copyright date.

20 years agoConvert mode 5 addressing with zero offset into mode 2 addressing to save a
Nick Clifton [Fri, 28 May 2004 07:55:21 +0000 (07:55 +0000)]
Convert mode 5 addressing with zero offset into mode 2 addressing to save a
word.

20 years ago * ldlang.c (lang_add_section): Don't twidlle SEC_EXCLUDE here.
Alan Modra [Fri, 28 May 2004 05:42:30 +0000 (05:42 +0000)]
* ldlang.c (lang_add_section): Don't twidlle SEC_EXCLUDE here.
(output_section_callback): Nor SEC_KEEP here.
(gc_section_callback): Twiddle SEC_EXCLUDE here.
(lang_gc_wild): Delete.  Fold into..
(lang_gc_sections_1): ..here.  Only call bfd_gc_sections when garbage
collecting.
(lang_process): Always call lang_gc_sections.
(lang_place_orphans): Handle SEC_EXCLUDE sections.
* emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Remove
SEC_EXCLUDE code.

20 years agogas/
H.J. Lu [Fri, 28 May 2004 05:02:20 +0000 (05:02 +0000)]
gas/

2004-05-27  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-ia64.c (ar_is_in_integer_unit): Removed.
(ar_is_only_in_integer_unit): New.
(ar_is_only_in_memory_unit): New.
(generate_unwind_image): Silence gcc on 32bit host.
(md_assemble): Use ar_is_only_in_integer_unit instead of
ar_is_in_integer_unit. Check AR access.

gas/testsuite

2004-05-27  H.J. Lu  <hongjiu.lu@intel.com>

* gas/ia64/regs.d: Updated.

20 years agodaily update
Alan Modra [Fri, 28 May 2004 00:00:09 +0000 (00:00 +0000)]
daily update

20 years ago2004-05-27 Michael Chastain <mec.gnu@mindspring.com>
Michael Chastain [Thu, 27 May 2004 21:22:49 +0000 (21:22 +0000)]
2004-05-27  Michael Chastain  <mec.gnu@mindspring.com>

* Makefile.am (bfdver.h): Use explicit filename, not $< .
* Makefile.in: Regenerate.

20 years ago * configure.in: Fix sed invocation for GFORTRAN_FOR_TARGET.
Daniel Jacobowitz [Thu, 27 May 2004 18:22:27 +0000 (18:22 +0000)]
* configure.in: Fix sed invocation for GFORTRAN_FOR_TARGET.
* configure: Regenerate.

20 years agoSort m68k opcodes into alphabetical order
Nick Clifton [Thu, 27 May 2004 07:56:27 +0000 (07:56 +0000)]
Sort m68k opcodes into alphabetical order

20 years ago* elf-m10300.c (elf32_mn10300_finish_hash_table_entry): Avoid
Alexandre Oliva [Thu, 27 May 2004 06:22:54 +0000 (06:22 +0000)]
* elf-m10300.c (elf32_mn10300_finish_hash_table_entry): Avoid
custom calling conventions for dynamic symbols.
(mn10300_elf_relax_section): Avoid relaxing a function as a local
symbol if it's an alias to a global one.

20 years agobfd/
H.J. Lu [Thu, 27 May 2004 05:53:36 +0000 (05:53 +0000)]
bfd/

2004-05-26  H.J. Lu  <hongjiu.lu@intel.com>

* elf.c (_bfd_elf_make_section_from_shdr): Undo the last
change.

ld/

2004-05-26  H.J. Lu  <hongjiu.lu@intel.com>

* emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Clear
SEC_EXCLUDE on non-SEC_DEBUGGING sections for relocatable link.
* ldlang.c (lang_add_section): Likewise.

20 years ago* elf-m10300.c (mn10300_elf_relax_section): Don't test isym within
Alexandre Oliva [Thu, 27 May 2004 04:07:41 +0000 (04:07 +0000)]
* elf-m10300.c (mn10300_elf_relax_section): Don't test isym within
loop over hashes.

20 years agodaily update
Alan Modra [Thu, 27 May 2004 00:00:05 +0000 (00:00 +0000)]
daily update

20 years ago2004-05-26 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Wed, 26 May 2004 19:40:53 +0000 (19:40 +0000)]
2004-05-26  Andrew Cagney  <cagney@gnu.org>

* corefile.c (core_create_line_syms): Per ISO C '90, move
vma_high's declaration to the function's start.

20 years ago2004-05-26 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 26 May 2004 17:48:59 +0000 (17:48 +0000)]
2004-05-26  H.J. Lu  <hongjiu.lu@intel.com>

* gas/ia64/ia64.exp: Run invalid-ar.

* gas/ia64/invalid-ar.l: New file. Test invalid AR access.
* gas/ia64/invalid-ar.s: Likewise.

20 years agobfd/
Alan Modra [Wed, 26 May 2004 10:23:51 +0000 (10:23 +0000)]
bfd/
* elf.c (_bfd_elf_make_section_from_shdr): Don't set SEC_EXCLUDE
for SHT_GROUP sections.
ld/
* ldlang.c (lang_add_section): Set SEC_EXCLUDE for SEC_GROUP
sections when doing a final link.  Clear SEC_EXCLUDE when doing
a relocable link, except for SEC_DEBUGGING sections.
* emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Use the
same condition here to drop SEC_EXCLUDE orphan sections.

20 years ago * gprof.c (main): Clean up some more.
Ben Elliston [Wed, 26 May 2004 05:56:22 +0000 (05:56 +0000)]
* gprof.c (main): Clean up some more.

20 years ago * alpha.c, basic_blocks.c, basic_blocks.h, bb_exit_func.c,
Ben Elliston [Wed, 26 May 2004 04:55:55 +0000 (04:55 +0000)]
* alpha.c, basic_blocks.c, basic_blocks.h, bb_exit_func.c,
call_graph.c, call_graph.h, cg_arcs.c, cg_arcs.h, cg_dfn.c,
cg_dfn.h, cg_print.c, cg_print.h, corefile.c, corefile.h,
gmon_io.c, gmon_io.h, gprof.c, gprof.h, hertz.h, hist.c, hist.h,
i386.c, mips.c, search_list.c, search_list.h, source.c, source.h,
sparc.c, sym_ids.c, sym_ids.h, symtab.c, symtab.h, tahoe.c,
utils.c, utils.h, vax.c, gen-c-prog.awk: Convert K&R C to ANSI C.

20 years ago * corefile.c (core_init): Use a separate local variable,
Ben Elliston [Wed, 26 May 2004 04:06:26 +0000 (04:06 +0000)]
* corefile.c (core_init): Use a separate local variable,
core_sym_bytes, to make the units from bfd_get_symtab_upper_bound
more obvious.
(core_create_function_syms): Discard cbfd argument.  Eliminate
`offset' variable and calculate VMA directly. Update all users.
* corefile.h (core_create_function_syms): Update prototype.
(core_create_line_syms): Likewise.
* gprof.c (main): Remove #ifdef PROF_SUPPORT_IMPLEMENTED code.
Tidy.

20 years agodaily update
Alan Modra [Wed, 26 May 2004 00:00:07 +0000 (00:00 +0000)]
daily update

20 years ago* Makefile.tpl (BUILD_EXPORTS, HOST_EXPORTS, GCC_HOST_EXPORTS)
DJ Delorie [Tue, 25 May 2004 20:36:50 +0000 (20:36 +0000)]
* Makefile.tpl (BUILD_EXPORTS, HOST_EXPORTS, GCC_HOST_EXPORTS)
(STAGE_HOST_EXPORTS, BASE_TARGET_EXPORTS, RAW_CXX_TARGET_EXPORTS)
(NORMAL_TARGET_EXPORTS): New macros.  Use them in all the recursive
targets.
* Makefile.in: Regenerate.

20 years agomerge from gcc
DJ Delorie [Tue, 25 May 2004 20:03:59 +0000 (20:03 +0000)]
merge from gcc

20 years agobfd/
Alan Modra [Tue, 25 May 2004 06:33:51 +0000 (06:33 +0000)]
bfd/
* elflink.c (elf_link_add_object_symbols): Don't set up merge
section data here..
* elf.c (_bfd_elf_merge_sections): .. Do it here instead.
* merge.c: Formatting.  Remove unnecessary casts.  Expand
bfd_get_section_alignment macro.
(struct sec_merge_sec_info): Rename "first" to "first_str".  Update
use throughout file.
(_bfd_add_merge_section): Rename from _bfd_merge_section.  Update
comment.  Abort on dynamic or non-SEC_MERGE input.  Don't test
section name to determine sinfo group, instead test output section
and alignment.
(_bfd_merge_sections): Add struct bfd_link_info param.  Call
_bfd_strip_section_from_output rather than just twiddling flags.
* libbfd-in.h (_bfd_add_merge_section): Rename, update comment.
(_bfd_merge_sections): Update prototype.
* libbfd.h: Regenerate.
ld/
* ldlang.c (lang_process): Call bfd_merge_sections later, and
only when not a relocatable link.
(print_input_section): Handle SEC_EXCLUDE sections.
(size_input_section): Don't update dot on SEC_EXCLUDE sections.
(lang_do_assignments_1): Likewise.
* ldwrite.c (build_link_order): Ignore SEC_EXCLUDE input sections.
* emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Likewise.
* emultempl/hppaelf.em (build_section_lists): Likewise.
* emultempl/ppc64elf.em (build_toc_list): Likewise.
(build_section_lists): Likewise.

20 years agodaily update
Alan Modra [Tue, 25 May 2004 00:00:07 +0000 (00:00 +0000)]
daily update

20 years ago* netbsd-core.c: Correctly indent section that sets architecture
Mark Kettenis [Mon, 24 May 2004 21:52:38 +0000 (21:52 +0000)]
* netbsd-core.c: Correctly indent section that sets architecture
from machine ID.

20 years agoReally add this file.
Mark Kettenis [Mon, 24 May 2004 16:09:10 +0000 (16:09 +0000)]
Really add this file.

20 years agoAdd support for an m88k-openbsd target
Nick Clifton [Mon, 24 May 2004 14:48:18 +0000 (14:48 +0000)]
Add support for an m88k-openbsd target

20 years agoReorganise m68k instruction decoding and improve handling of MAC/EMAC
Nick Clifton [Mon, 24 May 2004 14:33:22 +0000 (14:33 +0000)]
Reorganise m68k instruction decoding and improve handling of MAC/EMAC

20 years ago2005-05-24 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Mon, 24 May 2004 11:08:48 +0000 (11:08 +0000)]
2005-05-24  Paolo Bonzini <bonzini@gnu.org>

* configure.in: Test the ability to symlink directories.
* configure: Regenerate.

* Makefile.def (bootstrap-stage): New definitions.
* Makefile.tpl (configure-stage1-gcc,
configure-stage2-gcc, configure-stage3-gcc,
all-stage1-gcc, all-stage2-gcc, all-stage3-gcc,
new-bootstrap, new-cleanstrap, new-restage1, new-restage2,
new-restage3, compare): Autogenerate, see Makefile.in
entry for behavioral changes.
(distclean-stage1, new-stage1-start, new-stage1-end,
new-stage1-bubble, distclean-stage2, new-stage2-start,
new-stage2-end, new-stage2-bubble, distclean-stage3,
new-stage3-start, new-stage3-end): New autogenerated targets.
(objext, prebootstrap, BOOT_CFLAGS,
POSTSTAGE1_FLAGS_TO_PASS): Move above the autogenerated
targets.

* Makefile.in: Regenerate.
(distclean-stage1, new-stage1-start, new-stage1-end,
new-stage1-bubble, distclean-stage2, new-stage2-start,
new-stage2-end, new-stage2-bubble, distclean-stage3,
new-stage3-start, new-stage3-end): New targets.
(all-stage1-gcc): Move prebootstrap dependency from here...
(configure-stage1-gcc): ...to here.
(new-bootstrap): Use bubble targets.
(new-cleanstrap, new-restage1, new-restage2, new-restage3):
Use per-stage distclean targets.
(configure-stage1-gcc, configure-stage2-gcc,
configure-stage3-gcc, all-stage1-gcc,
all-stage2-gcc, all-stage3-gcc, new-bootstrap):
Use new-stageN-start to prepare the tree.

20 years ago2004-05-23 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Mon, 24 May 2004 10:45:14 +0000 (10:45 +0000)]
2004-05-23  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.def (host_modules): add libcpp.
* Makefile.tpl: Add dependencies on and for libcpp.
* Makefile.in: Regenerate.
* configure.in: Add libcpp host module.
* configure: Regenerate.

config/ChangeLog:

2004-05-23  Paolo Bonzini  <bonzini@gnu.org>

* acx.m4 (ACX_HEADER_STDBOOL, ACX_HEADER_STRING):
From gcc.

20 years agoRemove bogus inode
Nick Clifton [Mon, 24 May 2004 07:49:10 +0000 (07:49 +0000)]
Remove bogus inode

20 years agodaily update
Alan Modra [Mon, 24 May 2004 00:00:06 +0000 (00:00 +0000)]
daily update

20 years ago* ld.texinfo (Options): Fix typo in last change.
Andreas Schwab [Sun, 23 May 2004 09:30:31 +0000 (09:30 +0000)]
* ld.texinfo (Options): Fix typo in last change.

20 years ago * expr.c (operand, operator): Don't reject '++' and '--'.
Alan Modra [Sun, 23 May 2004 04:35:11 +0000 (04:35 +0000)]
* expr.c (operand, operator): Don't reject '++' and '--'.