OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
17 years agoPR gas/3707
Nick Clifton [Thu, 11 Jan 2007 15:22:10 +0000 (15:22 +0000)]
PR gas/3707
* config/tc-arm.c (md_begin): Cope with an NULL mcpu_fpu_opt variable.

17 years ago2007-01-11 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Thu, 11 Jan 2007 14:12:07 +0000 (14:12 +0000)]
2007-01-11  Paolo Bonzini  <bonzini@gnu.org>

* config/warnings.m4: Add second parameter with name of variable.
Always append to the variable if it exists.

17 years agobfd/
Nathan Sidwell [Thu, 11 Jan 2007 12:23:53 +0000 (12:23 +0000)]
bfd/
* elf.c (assign_file_positions_for_load_sections): We can
require fewer phdrs than expected.
ld/
* emultempl/elf-generic.em (gdl_map_segments): Only allow header
shrinkage for the first few iterations.
ld/testsuite/
* ld-elf/header.d: New.
* ld-elf/header.t: New.
* ld-elf/header.s: New.

17 years ago* gas/mcore/allinsn.s: Remove use of '#' before numbers - it is a line comment character.
Nick Clifton [Thu, 11 Jan 2007 11:57:05 +0000 (11:57 +0000)]
* gas/mcore/allinsn.s: Remove use of '#' before numbers - it is a line comment character.
* gas/mcore/allinsn.d: Adjust expected disassembly to match real output.

17 years ago2007-01-11 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Thu, 11 Jan 2007 11:22:52 +0000 (11:22 +0000)]
2007-01-11  Paolo Bonzini  <bonzini@gnu.org>
            Nick Clifton  <nickc@redhat.com>
            Kaveh R. Ghazi  <ghazi@caip.rutgets.edu>

        * configure.in (build_configargs, host_configargs, target_configargs):
        Remove build/host/target parameters.
        (host_libs): Add gmp and mpfr.
        (GMP tests): Reorganize to allow in-tree GMP/MPFR.
        * Makefile.def (gmp, mpfr): New.
        (gcc): Remove target.
        * Makefile.tpl (build_os, build_vendor, host_os, host_vendor,
        target_os, target_vendor): New.
        (configure): Add host_alias/target_alias arguments.  Adjust invocations.
        * configure: Regenerate.
        * Makefile.in: Regenerate.

2007-01-11  Matt Fago  <fago@earthlink.net>

* configure.in: Try to link to functions only in mpfr 2.2.x
        to improve robustness of configure tests.
* configure: Regenerate.

17 years agoRun the alternative version of the lns-common-1 test for the MCore target.
Nick Clifton [Thu, 11 Jan 2007 11:16:58 +0000 (11:16 +0000)]
Run the alternative version of the lns-common-1 test for the MCore target.

17 years ago* config/tc-mcore.c (md_number_to_chars): Use number_to_chars_{big|little}endian.
Nick Clifton [Thu, 11 Jan 2007 08:58:56 +0000 (08:58 +0000)]
* config/tc-mcore.c (md_number_to_chars): Use number_to_chars_{big|little}endian.

17 years ago * embedspu.sh: New file.
Alan Modra [Thu, 11 Jan 2007 06:24:40 +0000 (06:24 +0000)]
* embedspu.sh: New file.
* Makefile.am (embedspu): Add rule.
* configure.in (BUILD_MISC): Add embedspu for powerpc-linux.
* Makefile.in: Regenerate.
* configure: Regenerate.

17 years agodaily update
Alan Modra [Wed, 10 Jan 2007 23:00:08 +0000 (23:00 +0000)]
daily update

17 years ago * bucomm.h (make_tempdir): Declare independently of HAVE_MKDTEMP.
Alan Modra [Wed, 10 Jan 2007 13:36:34 +0000 (13:36 +0000)]
* bucomm.h (make_tempdir): Declare independently of HAVE_MKDTEMP.
* bucomm.c (template_in_dir): New function, split out from..
(make_tempname): ..here.  Open the file with O_EXCL if !HAVE_MKSTEMP.
(make_tempdir): Use template_in_dir.  Handle directory creation
when !HAVE_MKDTEMP.
* objcopy.c (MKDIR): Don't define.
(copy_archive): Use make_tempdir when !HAVE_MKDTEMP too.  Fix
error message.

17 years agoAdd changelog entries for copyright updates.
Daniel Jacobowitz [Wed, 10 Jan 2007 04:33:06 +0000 (04:33 +0000)]
Add changelog entries for copyright updates.

17 years agodaily update
Alan Modra [Tue, 9 Jan 2007 23:00:11 +0000 (23:00 +0000)]
daily update

17 years agoCopyright updates for 2007.
Daniel Jacobowitz [Tue, 9 Jan 2007 17:59:15 +0000 (17:59 +0000)]
Copyright updates for 2007.

17 years agoMove 2006 ChangeLog entries to ChangeLog-2006.
H.J. Lu [Tue, 9 Jan 2007 17:30:59 +0000 (17:30 +0000)]
Move 2006 ChangeLog entries to ChangeLog-2006.

17 years agoMove 2006 ChangeLog entries to ChangeLog-2006.
H.J. Lu [Tue, 9 Jan 2007 14:29:31 +0000 (14:29 +0000)]
Move 2006 ChangeLog entries to ChangeLog-2006.

17 years ago* Makefile.tpl (all-target): Correct @if conditional for target modules.
Nick Clifton [Tue, 9 Jan 2007 14:09:57 +0000 (14:09 +0000)]
* Makefile.tpl (all-target): Correct @if conditional for target modules.
* configure.in: Omit libiberty if building only target libgcc.
* configure, Makefile.in: Regenerated.

17 years agoMention that the top level configure file has been regenerated.
Nick Clifton [Tue, 9 Jan 2007 07:40:34 +0000 (07:40 +0000)]
Mention that the top level configure file has been regenerated.

17 years agooops - omitted from previous delta
Nick Clifton [Tue, 9 Jan 2007 07:36:45 +0000 (07:36 +0000)]
oops - omitted from previous delta

17 years ago* configure.in: Add support for an x86_64-mingw* target.
Nick Clifton [Tue, 9 Jan 2007 07:36:09 +0000 (07:36 +0000)]
* configure.in: Add support for an x86_64-mingw* target.
* configure: Regenerate.

17 years agodaily update
Alan Modra [Mon, 8 Jan 2007 23:00:09 +0000 (23:00 +0000)]
daily update

17 years agobfd/
Kazu Hirata [Mon, 8 Jan 2007 18:42:37 +0000 (18:42 +0000)]
bfd/
* archures.c (bfd_mach_cpu32_fido): Rename to bfd_mach_fido.
* bfd-in2.h: Regenerate.
* cpu-m68k.c (arch_info_struct): Use bfd_mach_fido instead of
bfd_mach_cpu32_fido.
(m68k_arch_features): Use fido_a instead of cpu32.
(bfd_m68k_compatible): Reject the combination of Fido and
ColdFire.  Accept the combination of CPU32 and Fido with a
warning.
* elf32-m68k.c (elf32_m68k_object_p,
elf32_m68k_merge_private_bfd_data,
elf32_m68k_print_private_bfd_data): Treat Fido as an
architecture by itself.

binutils/
* readelf.c (get_machine_flags): Treat Fido as an architecture
by itself.

gas/
* config/tc-m68k.c (m68k_archs, m68k_cpus): Treat Fido as an
architecture by itself.
(m68k_ip): Don't issue a warning for tbl instructions on fido.
(m68k_elf_final_processing): Treat Fido as an architecture by
itself.

include/elf/
* m68k.h (EF_M68K_FIDO): New.
(EF_M68K_ARCH_MASK): OR EF_M68K_FIDO.
(EF_M68K_CPU32_FIDO_A, EF_M68K_CPU32_MASK): Remove.

include/opcode/
* m68k.h (m68010up): OR fido_a.

opcodes/
* m68k-opc.c (m68k_opcodes): Replace cpu32 with
cpu32 | fido_a except on tbl instructions.

17 years agoRenamed target x86_64-*-mingw64 to x86_64-*-mingw*.
Nick Clifton [Mon, 8 Jan 2007 17:21:50 +0000 (17:21 +0000)]
Renamed target x86_64-*-mingw64 to x86_64-*-mingw*.

17 years ago* configure.host: Add i[3-7]86-*-mingw* case.
Nick Clifton [Mon, 8 Jan 2007 16:53:33 +0000 (16:53 +0000)]
* configure.host: Add i[3-7]86-*-mingw* case.

17 years ago* pep-dll.h (pep_bfd_is_dll): Add prototype.
Nick Clifton [Mon, 8 Jan 2007 16:16:37 +0000 (16:16 +0000)]
* pep-dll.h (pep_bfd_is_dll): Add prototype.

17 years agoPR ld/3843
Nick Clifton [Mon, 8 Jan 2007 15:38:59 +0000 (15:38 +0000)]
PR ld/3843
* configure.tgt (x86_64_[k]freebsd*): Add targ_extra_libpath and tdir_elf_i386_fbsd.

17 years agodaily update
Alan Modra [Sun, 7 Jan 2007 23:00:08 +0000 (23:00 +0000)]
daily update

17 years agodaily update
Alan Modra [Sat, 6 Jan 2007 23:00:06 +0000 (23:00 +0000)]
daily update

17 years agold/
Nathan Sidwell [Sat, 6 Jan 2007 22:03:46 +0000 (22:03 +0000)]
ld/
* ldexp.c (fold_name): Issue error on undefined sections.
ld/testsuite/
* ld-scripts/expr.exp: New.
* ld-scripts/expr1.s: New.
* ld-scripts/expr1.d: New.
* ld-scripts/expr1.t: New.

17 years agodaily update
Alan Modra [Fri, 5 Jan 2007 23:00:12 +0000 (23:00 +0000)]
daily update

17 years ago2007-01-05 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 5 Jan 2007 14:55:44 +0000 (14:55 +0000)]
2007-01-05  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (set_intel_syntax): Update set_intel_syntax
depending on allow_naked_reg.

17 years ago * texhex.c (first_phase): Don't fall through into the default
Jakub Jelinek [Fri, 5 Jan 2007 10:12:25 +0000 (10:12 +0000)]
* texhex.c (first_phase): Don't fall through into the default
case.
(pass_over): Replace abort () calls with return FALSE.  Fix
buffer overflow.

17 years ago * readelf.c (dump_section): Don't print 32-bit values, which
Alan Modra [Fri, 5 Jan 2007 01:25:06 +0000 (01:25 +0000)]
* readelf.c (dump_section): Don't print 32-bit values, which
were done incorrectly for little-endian.  Instead print bytes.

17 years agodaily update
Alan Modra [Thu, 4 Jan 2007 23:00:11 +0000 (23:00 +0000)]
daily update

17 years agoFix a typo in ChangeLog.
H.J. Lu [Thu, 4 Jan 2007 22:36:58 +0000 (22:36 +0000)]
Fix a typo in ChangeLog.

17 years ago2007-01-04 Paul Brook <paul@codesourcery.com>
Paul Brook [Thu, 4 Jan 2007 20:08:36 +0000 (20:08 +0000)]
2007-01-04  Paul Brook  <paul@codesourcery.com>

gas/
* config/tc-arm.c (do_cpsi): Set mmod bit for 2 argument form.
gas/testsuite/
* gas/arm/archv6.s: Add more cpsie tests.
* gas/arm/archv6.d: Ditto.
opcodes/
* arm-dis.c (arm_opcodes): Fix cpsie and cpsid entries.

17 years ago2007-01-04 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 4 Jan 2007 18:03:31 +0000 (18:03 +0000)]
2007-01-04  H.J. Lu  <hongjiu.lu@intel.com>

PR gas/3826
* config/tc-i386.c (register_prefix): New.
(set_intel_syntax): Set set_intel_syntax to "" if register
prefix is needed.
(check_byte_reg): Use register_prefix for error message.
(check_long_reg): Likewise.
(check_qword_reg): Likewise.
(check_word_reg): Likewise.

17 years agogas/testsuite/:
Andreas Schwab [Thu, 4 Jan 2007 17:14:50 +0000 (17:14 +0000)]
gas/testsuite/:
* gas/m68k/cpu32.[sd]: New test.
* gas/m68k/all.exp: Run it.

opcodes/:
* m68k-opc.c: Fix encoding of signed bit in the cpu32 tbls insns.

17 years ago * arm-dis.c (neon_opcode): Fix disassembly for vshl, vqshl, vrshl,
Julian Brown [Thu, 4 Jan 2007 15:33:12 +0000 (15:33 +0000)]
* arm-dis.c (neon_opcode): Fix disassembly for vshl, vqshl, vrshl,
vqrshl instructions.

17 years ago * config/tc-arm.c (do_neon_shl_imm): Swap rN, rM.
Julian Brown [Thu, 4 Jan 2007 15:32:50 +0000 (15:32 +0000)]
* config/tc-arm.c (do_neon_shl_imm): Swap rN, rM.
(do_neon_qshl_imm): Likewise.
(do_neon_rshl): New function. Handle rounding variants of
v{q}shl-by-register.
(insns): Use do_neon_rshl for vrshl, vqrshl.

17 years ago * gas/arm/neon-omit.d: Fix expected encodings for vshl, vqshl.
Julian Brown [Thu, 4 Jan 2007 15:32:26 +0000 (15:32 +0000)]
* gas/arm/neon-omit.d: Fix expected encodings for vshl, vqshl.

17 years ago * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Don't set
Alan Modra [Thu, 4 Jan 2007 13:30:39 +0000 (13:30 +0000)]
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Don't set
SEC_EXCLUDE on zero size .eh_frame.

17 years ago2007-01-04 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Thu, 4 Jan 2007 09:12:28 +0000 (09:12 +0000)]
2007-01-04  Paolo Bonzini  <bonzini@gnu.org>

* configure.in: Use DEV-PHASE to detect the default for --enable-werror.
* configure: Regenerate.

17 years ago2007-01-03 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 4 Jan 2007 05:35:52 +0000 (05:35 +0000)]
2007-01-03  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (swap_operands): Remove branches.

17 years ago2007-01-04 Paul Brook <paul@codesourcery.com>
Paul Brook [Thu, 4 Jan 2007 04:39:53 +0000 (04:39 +0000)]
2007-01-04  Paul Brook  <paul@codesourcery.com>

gas/
* config/tc-arm.c (NEON_ENC_TAB): Fix encoding of vclt, vcle, vaclt
and vacle.

gas/testsuite/
* gas/arm/neon-cov.d: Adjust expected output.
* gas/arm/neon-omit.s: Add tests for vcgt and vcle.  Reorder vacle
and vacle.
* gas/arm/neon-omit.d: Adjust expected output.

17 years agoSync with gcc:
Daniel Jacobowitz [Thu, 4 Jan 2007 04:32:36 +0000 (04:32 +0000)]
Sync with gcc:
* Makefile.def (target_modules): Add libgcc.
(lang_env_dependencies): Remove default items.  Use no_c and no_gcc.
* Makefile.tpl (clean-target-libgcc): Delete.
(configure-target-[+module+]): Emit --disable-bootstrap dependencies
on gcc even for bootstrapped modules.  Rewrite handling of
lang_env_dependencies to loop over target_modules.
* configure.in (target_libraries): Add target-libgcc.
* Makefile.in, configure: Regenerated.

17 years agodaily update
Alan Modra [Wed, 3 Jan 2007 23:00:06 +0000 (23:00 +0000)]
daily update

17 years ago2007-01-03 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 3 Jan 2007 22:54:45 +0000 (22:54 +0000)]
2007-01-03  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c: Update copyright year.
* config/tc-i386.h: Likewise.

17 years ago2007-01-03 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 3 Jan 2007 22:48:52 +0000 (22:48 +0000)]
2007-01-03  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (smallest_imm_type): Return unsigned int
instead of int.

17 years ago2007-01-03 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 3 Jan 2007 22:36:19 +0000 (22:36 +0000)]
2007-01-03  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c: Convert to ISO C90 formatting
* config/tc-i386.h: Likewise.

17 years agoMove 2006 ChangeLog entries to ChangeLog-2006.
H.J. Lu [Wed, 3 Jan 2007 22:32:05 +0000 (22:32 +0000)]
Move 2006 ChangeLog entries to ChangeLog-2006.

17 years agoRemove ">>>>>>> 1.3701".
H.J. Lu [Wed, 3 Jan 2007 20:23:28 +0000 (20:23 +0000)]
Remove ">>>>>>> 1.3701".

17 years ago * config/tc-mips.c (md_show_usage): Clean up -mno-shared
David Daney [Wed, 3 Jan 2007 18:12:52 +0000 (18:12 +0000)]
* config/tc-mips.c (md_show_usage):  Clean up -mno-shared
documentation.

17 years agodaily update
Alan Modra [Tue, 2 Jan 2007 23:00:10 +0000 (23:00 +0000)]
daily update

17 years ago2007-01-01 Mike Stump <mrs@apple.com>
Paolo Bonzini [Tue, 2 Jan 2007 07:58:22 +0000 (07:58 +0000)]
2007-01-01  Mike Stump  <mrs@apple.com>

* mh-ppc-darwin: Remove support for building with Apple's gcc-3.1.

17 years ago * pe-dll.c: Include pe-dll.h.
Alan Modra [Tue, 2 Jan 2007 07:43:13 +0000 (07:43 +0000)]
* pe-dll.c: Include pe-dll.h.
* pep-dll.c (pe_bfd_is_dll): Define.

17 years agodaily update
Alan Modra [Mon, 1 Jan 2007 23:00:09 +0000 (23:00 +0000)]
daily update

17 years agodaily update
Alan Modra [Sun, 31 Dec 2006 23:00:05 +0000 (23:00 +0000)]
daily update

17 years ago2006-12-31 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Sun, 31 Dec 2006 17:23:07 +0000 (17:23 +0000)]
2006-12-31  H.J. Lu  <hongjiu.lu@intel.com>

* bfd.c (bfd_record_phdr): Call bfd_zalloc instead of bfd_alloc
to allocate elf_segment_map.

17 years agodaily update
Alan Modra [Sat, 30 Dec 2006 23:00:06 +0000 (23:00 +0000)]
daily update

17 years ago2006-12-30 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Sat, 30 Dec 2006 19:32:49 +0000 (19:32 +0000)]
2006-12-30  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.h (ShiftCount): Fix a comment typo.

17 years ago2006-12-30 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Sat, 30 Dec 2006 18:37:29 +0000 (18:37 +0000)]
2006-12-30  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (md_show_usage): Mention --32/--64.

17 years agodaily update
Alan Modra [Fri, 29 Dec 2006 23:00:10 +0000 (23:00 +0000)]
daily update

17 years agogas/
H.J. Lu [Fri, 29 Dec 2006 21:48:48 +0000 (21:48 +0000)]
gas/

2006-12-29  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (build_modrm_byte): Handle shift count
register with 3 operands.

gas/testsuite/

2006-12-29  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/intel.s: Add tests for "shrd %cl,%edx,%eax" and
"shld %cl,%edx,%eax".
* gas/i386/opcode.s: Likewise.

* gas/i386/intel.d: Updated.
* gas/i386/opcode-intel.d: Likewise.
* gas/i386/opcode-suffix.d: Likewise.
* gas/i386/opcode.d: Likewise.

17 years agobfd/
H.J. Lu [Fri, 29 Dec 2006 17:56:32 +0000 (17:56 +0000)]
bfd/

2006-12-29  H.J. Lu  <hongjiu.lu@intel.com>

* elflink.c (elf_link_add_object_symbols): Remember the symbol
size only if it is defined.

ld/testsuite/

2006-12-29  H.J. Lu  <hongjiu.lu@intel.com>

* ld-elf/wrap.exp: New file.
* ld-elf/wrap1.c: Likewise.
* ld-elf/wrap1.out: Likewise.
* ld-elf/wrap1a.c: Likewise.
* ld-elf/wrap1b.c: Likewise.

17 years ago2006-12-29 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Fri, 29 Dec 2006 17:09:59 +0000 (17:09 +0000)]
2006-12-29  Paolo Bonzini  <bonzini@gnu.org>

Sync with gcc:
2006-12-29  Paolo Bonzini  <bonzini@gnu.org>

        * configure.in: Reorganize recognition of languages.  Add
        --enable-stage1-languages.  Show supported languages for the chosen
        target rather than all recognized languages.
        * configure: Regenerate.

2006-12-29  Paolo Bonzini  <bonzini@gnu.org>

        * Makefile.tpl (GCC_STRAP_TARGETS, all-prebootstrap): Remove.
        * Makefile.in: Regenerate.

2006-12-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

        * configure.in: Warn that MPFR 2.2.0 is buggy.
        * configure: Regenerate.

config:
2006-12-29  Paolo Bonzini  <bonzini@gnu.org>

* acx.m4: Sync with gcc.

17 years ago2006-12-28 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 29 Dec 2006 06:02:04 +0000 (06:02 +0000)]
2006-12-28  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (process_operands): Check i.reg_operands
and increment i.operands when adding a register operand.
(build_modrm_byte): Fix 4 operand instruction handling.

17 years agodaily update
Alan Modra [Thu, 28 Dec 2006 23:00:09 +0000 (23:00 +0000)]
daily update

17 years ago2006-12-27 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 28 Dec 2006 07:09:16 +0000 (07:09 +0000)]
2006-12-27  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (disp_expressions): Use MAX_MEMORY_OPERANDS
for array size instead of 2.
(im_expressions): Use MAX_IMMEDIATE_OPERANDS for for array size
instead of 2.
(i386_immediate): Update immediate operand overflow error
message.
(i386_displacement): Check displacement operand overflow.

17 years ago * configure.in: When removing Makefiles to force a reconfigure, also
Ian Lance Taylor [Wed, 27 Dec 2006 23:46:00 +0000 (23:46 +0000)]
* configure.in: When removing Makefiles to force a reconfigure, also
remove prev-DIR*/Makefile.
* configure: Regenerate.

17 years agodaily update
Alan Modra [Wed, 27 Dec 2006 23:00:06 +0000 (23:00 +0000)]
daily update

17 years ago2006-12-27 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 27 Dec 2006 18:34:08 +0000 (18:34 +0000)]
2006-12-27  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c: Document tc-i386.c, not i386.c.

17 years ago * gas/m68k/all.exp: Add support for fido.
Kazu Hirata [Wed, 27 Dec 2006 07:22:43 +0000 (07:22 +0000)]
* gas/m68k/all.exp: Add support for fido.
* gas/m68k/fido.d, gas/m68k/fido.s: New.

17 years agogas/
Kazu Hirata [Wed, 27 Dec 2006 07:15:02 +0000 (07:15 +0000)]
gas/
* config/m68k-parse.h (m68k_register): Add CAC and MBB.
* config/tc-m68k.c (fido_ctrl): New.
(m68k_archs): Use fido_ctrl for -mfidoa.
(m68k_cpus): Use fido_ctrl on fido-*-*.
(m68k_ip): Add support for CAC and MBB.
(init_table): Add CAC and MBB.

opcodes/
* m68k-dis.c (print_insn_arg): Add support for cac and mbb.

17 years ago * m68k-opc.c (m68k_opcodes): Add sleep and trapx.
Kazu Hirata [Wed, 27 Dec 2006 07:10:10 +0000 (07:10 +0000)]
* m68k-opc.c (m68k_opcodes): Add sleep and trapx.

17 years ago2006-12-26 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 26 Dec 2006 23:42:11 +0000 (23:42 +0000)]
2006-12-26  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (i386_immediate): Remove prototype.

17 years agodaily update
Alan Modra [Tue, 26 Dec 2006 23:00:11 +0000 (23:00 +0000)]
daily update

17 years agodaily update
Alan Modra [Mon, 25 Dec 2006 23:00:05 +0000 (23:00 +0000)]
daily update

17 years agobfd/
Kazu Hirata [Mon, 25 Dec 2006 22:39:21 +0000 (22:39 +0000)]
bfd/
* archures.c (bfd_mach_cpu32_fido): New.
(bfd_mach_mcf_isa_a_nodiv, bfd_mach_mcf_isa_a,
bfd_mach_mcf_isa_a_mac, bfd_mach_mcf_isa_a_emac,
bfd_mach_mcf_isa_aplus, bfd_mach_mcf_isa_aplus_mac,
bfd_mach_mcf_isa_aplus_emac, bfd_mach_mcf_isa_b_nousp,
bfd_mach_mcf_isa_b_nousp_mac, bfd_mach_mcf_isa_b_nousp_emac,
bfd_mach_mcf_isa_b, bfd_mach_mcf_isa_b_mac,
bfd_mach_mcf_isa_b_emac, bfd_mach_mcf_isa_b_float,
bfd_mach_mcf_isa_b_float_mac, bfd_mach_mcf_isa_b_float_emac):
Increment the defined values.
* bfd-in2.h: Regenerate.
* cpu-m68k.c (arch_info_struct): Add en entry for
bfd_mach_cpu32_fido.
* elf32-m68k.c (elf32_m68k_object_p): Handle
EF_M68K_CPU32_FIDO_A.
(elf32_m68k_merge_private_bfd_data): Use EF_M68K_CPU32_MASK.
(elf32_m68k_print_private_bfd_data): Handle
EF_M68K_CPU32_FIDO_A.

binutils/
* readelf.c (get_machine_flags): Handle EF_M68K_CPU32_FIDO_A.

gas/
* config/tc-m68k.c (cpu_of_arch): Add fido.
(m68k_archs, m68k_cpu): Add entries for fido.
(m68k_elf_final_processing): Handle EF_M68K_CPU32_FIDO_A.

include/elf/
* m68k.h (EF_M68K_CPU32_FIDO_A, EF_M68K_CPU32_MASK): New.

include/opcode/
* m68k.h (fido_a): New.

17 years ago * config/tc-score.c (build_lw_pic): Rename as build_lwst_pic.
Mei Ligang [Mon, 25 Dec 2006 09:26:22 +0000 (09:26 +0000)]
* config/tc-score.c (build_lw_pic): Rename as build_lwst_pic.
Delete the code handling large constant for PIC.
Modify some comments.
(score_relax_frag): Decrease insn_addr in certain situation.
(s_score_cprestore): Change .cprestore syntax from ".cprestore offset"
to ".cprestore reg, offset".

17 years ago * elf32-score.c (score_elf_got_lo16_reloc): Change some variables type from
Mei Ligang [Mon, 25 Dec 2006 09:22:06 +0000 (09:22 +0000)]
* elf32-score.c (score_elf_got_lo16_reloc): Change some variables type from
unsigned to signed.
(score_elf_final_link_relocate): Fix bugs of handling relocation type R_SCORE_GOT15,
R_SCORE_GOT_LO16, and R_SCORE_REL32.
(_bfd_score_elf_relocate_section): Handle R_SCORE_GOT_LO16 specially.

17 years agodaily update
Alan Modra [Sun, 24 Dec 2006 23:00:07 +0000 (23:00 +0000)]
daily update

17 years ago * m68k.h (mcfmac, mcfemac, cfloat, mcfhwdiv, mcfisa_a,
Kazu Hirata [Sun, 24 Dec 2006 02:58:37 +0000 (02:58 +0000)]
* m68k.h (mcfmac, mcfemac, cfloat, mcfhwdiv, mcfisa_a,
mcfisa_aa, mcfisa_b, mcfusp, mcf_mask): Double the defined
values.

17 years agobfd/
Kazu Hirata [Sun, 24 Dec 2006 02:48:59 +0000 (02:48 +0000)]
bfd/
* config.bfd: Recognize fido.

gas/
* configure.tgt: Recognize fido.

ld/
* configure.tgt: Recognize fido.

17 years agodaily update
Alan Modra [Sat, 23 Dec 2006 23:00:07 +0000 (23:00 +0000)]
daily update

17 years ago * elf-bfd.h (struct elf_backend_data): Add as_needed_cleanup hook.
Jakub Jelinek [Sat, 23 Dec 2006 09:57:38 +0000 (09:57 +0000)]
* elf-bfd.h (struct elf_backend_data): Add as_needed_cleanup hook.
* elfxx-target.h (elf_backend_as_needed_cleanup): Define.
(elfNN_bed): Add as_needed_cleanup hook.
* elflink.c (elf_link_add_object_symbols): Call it when reverting
hash table changes for unneeded --as-needed input.
* elf64-ppc64.c (elf_backend_as_needed_cleanup): Define.
(ppc64_elf_as_needed_cleanup): New function.

17 years agodaily update
Alan Modra [Fri, 22 Dec 2006 23:00:10 +0000 (23:00 +0000)]
daily update

17 years agodaily update
Alan Modra [Thu, 21 Dec 2006 23:00:10 +0000 (23:00 +0000)]
daily update

17 years ago * cp-demangle.h: Add comment explaining what to do to avoid
Geoffrey Keating [Thu, 21 Dec 2006 01:32:48 +0000 (01:32 +0000)]
* cp-demangle.h: Add comment explaining what to do to avoid
overrunning string.
(d_check_char): New.
(d_next_char): Don't advance past trailing '\0'.
* cp-demangle.c (cplus_demangle_mangled_name): Use d_check_char.
(d_nested_name): Likewise.
(d_special_name): Likewise.
(d_call_offset): Likewise.
(d_function_type): Likewise.
(d_array_type): Likewise.
(d_pointer_to_member_type): Likewise.
(d_template_param): Likewise.
(d_template_args): Likewise.
(d_template_arg): Likewise.
(d_expr_primary): Likewise.
(d_local_name): Likewise.
(d_substitution): Likewise.
(d_ctor_dtor_name): Use d_advance rather than d_next_char.
* testsuite/test-demangle.c: Include sys/mman.h.
(MAP_ANONYMOUS): Define.
(protect_end): New.
(main): Use protect_end.
* testsuite/demangle-expected: Add testcases for overrunning
the end of the string.

17 years agodaily update
Alan Modra [Wed, 20 Dec 2006 23:00:07 +0000 (23:00 +0000)]
daily update

17 years agodaily update
Alan Modra [Tue, 19 Dec 2006 23:00:08 +0000 (23:00 +0000)]
daily update

17 years ago2006-12-19 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Tue, 19 Dec 2006 14:01:25 +0000 (14:01 +0000)]
2006-12-19  Paolo Bonzini  <bonzini@gnu.org>

* configure.texi: Fix botched commit.

17 years agobfd/
Kazu Hirata [Tue, 19 Dec 2006 13:24:56 +0000 (13:24 +0000)]
bfd/
* elf32-m68k.c (elf32_m68k_object_p,
elf32_m68k_print_private_bfd_data): Use EF_M68K_ARCH_MASK to
extract architecture mask.

include/elf/
* m68k.h (EF_M68K_ARCH_MASK): New.

17 years ago2006-12-19 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Tue, 19 Dec 2006 12:52:58 +0000 (12:52 +0000)]
2006-12-19  Paolo Bonzini  <bonzini@gnu.org>

Sync with gcc:

2006-12-19  Paolo Bonzini  <bonzini@gnu.org>

* configure.in: Remove "$build" case for powerpc-*-darwin* since
it only affects bootstrap and could be tested on "$host" as well.
* configure: Regenerate.
* config/mh-ppc-darwin: Add to the stage1 cflags here.

2006-12-19  Paolo Bonzini  <bonzini@gnu.org>

PR bootstrap/29544
* Makefile.def (flags_to_pass): Add STAGE1_CHECKING.
(bootstrap_stage): Add STAGE1_CHECKING to stage1 configure flags,
move here comment from Makefile.tpl.
* Makefile.tpl: Move some definitions higher in the file.
(STAGE1_CHECKING): New.
* configure.in: Add --enable-stage1-checking.
* configure: Regenerate.
* Makefile.in: Regenerate.

2006-12-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

* configure.in: Update error message for missing GMP/MPFR.

* configure: Regenerate.

2006-12-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

* configure.in: Update MPFR version in error message.

* configure: Regenerate.

2006-11-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

* configure.in (--with-mpfr-dir, --with-gmp-dir): Remove flags.
(--with-mpfr-include, --with-mpfr-lib, --with-gmp-include,
--with-gmp-lib): New flags.

* configure: Regenerate.

config:
2006-12-04  Eric Botcazou  <ebotcazou@libertysurf.fr>

* tls.m4 (GCC_CHECK_TLS): Do not test TLS with static linking
if static linking doesn't even work.

17 years ago * gas/cfi/cfi-common-6.s: Do not use |.
Nathan Sidwell [Tue, 19 Dec 2006 08:51:15 +0000 (08:51 +0000)]
* gas/cfi/cfi-common-6.s: Do not use |.

17 years ago bfd/
Nathan Sidwell [Tue, 19 Dec 2006 08:49:38 +0000 (08:49 +0000)]
bfd/
* elf.c (assign_file_positions_for_load_sections): Adjust p_vaddr
by p_vaddr_offset.  Copy alignment & use if it is valid.
(rewrite_elf_program_headers): Cope with leading padding in a
segment that does not contain file or program headers.
(copy_elf_program_header): Likewise.

include/elf/
* internal.h (struct elf_segment_map): Add p_vaddr_offset field.

17 years agoCommit missing pieces.
Christopher Faylor [Tue, 19 Dec 2006 01:51:02 +0000 (01:51 +0000)]
Commit missing pieces.

17 years agodaily update
Alan Modra [Mon, 18 Dec 2006 23:00:10 +0000 (23:00 +0000)]
daily update

17 years ago* pe-dll.c (pe_bfd_is_dll): New function.
Christopher Faylor [Mon, 18 Dec 2006 22:38:53 +0000 (22:38 +0000)]
* pe-dll.c (pe_bfd_is_dll): New function.
* pe-dll.h (pe_bfd_is_dll): Declare.
* emultempl/pe.em (gld_${EMULATION_NAME}_recognized_file): Recognize dlls using
pe_bfd_is_dll instead of using the filename extension.

17 years agodaily update
Alan Modra [Sun, 17 Dec 2006 23:00:11 +0000 (23:00 +0000)]
daily update

17 years agodaily update
Alan Modra [Sat, 16 Dec 2006 23:00:08 +0000 (23:00 +0000)]
daily update