OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
15 years ago * lib/gas-defs.exp (run_dump_test): If the test expects an error,
Nick Clifton [Fri, 5 Sep 2008 11:19:13 +0000 (11:19 +0000)]
    * lib/gas-defs.exp (run_dump_test): If the test expects an error,
        fail the test if gas doesn't report an error.

15 years ago2008-09-05 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Fri, 5 Sep 2008 08:07:54 +0000 (08:07 +0000)]
2008-09-05  Tristan Gingold  <gingold@adacore.com>

Add MacOSX 64 bits support.
* mach-o.h (bfd_mach_o_ppc_thread_flavour): Add
BFD_MACH_O_PPC_THREAD_STATE_64.
(bfd_mach_o_i386_thread_flavour): Add BFD_MACH_O_x86_THREAD_STATE64,
BFD_MACH_O_x86_FLOAT_STATE64, BFD_MACH_O_x86_EXCEPTION_STATE64,
BFD_MACH_O_x86_THREAD_STATE, BFD_MACH_O_x86_FLOAT_STATE,
BFD_MACH_O_x86_EXCEPTION_STATE.
(bfd_mach_o_load_command_type): Add
BFD_MACH_O_LC_SEGMENT_64, BFD_MACH_O_LC_ROUTINES_64,
BFD_MACH_O_LC_UUID.
(BFD_MACH_O_CPU_IS64BIT): Added.
(bfd_mach_o_cpu_type): Add BFD_MACH_O_CPU_TYPE_POWERPC_64,
BFD_MACH_O_CPU_TYPE_X86_64.
(bfd_mach_o_header): Add version field.
(bfd_mach_o_section) Add reserved3 field.
(bfd_mach_o_segment_command): Add initprot and maxprot fields.

* mach-o.c (N_TEXT, N_DATA, N_BSS): Added.
(bfd_mach_o_version): New function.
(bfd_mach_o_valid): Handle 64bits cpus.
(bfd_mach_o_write_header): handler 64bits headers.
(bfd_mach_o_scan_write_section_32, bfd_mach_o_scan_write_section_64):
New functions (from bfd_mach_o_scan_write_section) to handle both
flavors.
(bfd_mach_o_scan_write_segment): Parameter wide added to support
both flavors.
(bfd_mach_o_write_contents): Support both flavors.
(bfd_mach_o_read_header): Ditto.
(bfd_mach_o_scan_read_section_32, bfd_mach_o_scan_read_section_64):
New functions (from bfd_mach_o_scan_read_section) to support both
flavors.
(bfd_mach_o_scan_read_symtab_symbol): Support both flavors.
(bfd_mach_o_scan_read_symtab): Ditto.
(bfd_mach_o_scan_read_segment): Parameter wide added to support
both flavors.
(bfd_mach_o_scan_read_segment_32, bfd_mach_o_scan_read_segment_64):
New functions to call bfd_mach_o_scan_read_segment.
(bfd_mach_o_flatten_sections): Support both flavors.
(bfd_mach_o_scan_start_address): Ditto.
(bfd_mach_o_scan): Ditto.
(bfd_mach_o_lookup_section): Ditto.

15 years agodaily update
Alan Modra [Fri, 5 Sep 2008 00:00:06 +0000 (00:00 +0000)]
daily update

15 years ago2008-08-31 Aaron W. LaFramboise <aaronavay62@aaronwl.com> binutils-arc-20080908-branchpoint
Aaron W. LaFramboise [Thu, 4 Sep 2008 02:18:16 +0000 (02:18 +0000)]
2008-08-31  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>

* configure.ac (RPATH_ENVVAR): Use PATH on Windows.
(GCC_SHLIB_SUBDIR): New.
* Makefile.tpl (HOST_LIB_PATH_gcc): Use GCC_SHLIB_SUBDIR.
* configure: Regenerate.
* Makefile.in: Regenerate.

15 years agodaily update
Alan Modra [Thu, 4 Sep 2008 00:00:06 +0000 (00:00 +0000)]
daily update

15 years agoMake new functions static.
Nick Clifton [Wed, 3 Sep 2008 15:44:33 +0000 (15:44 +0000)]
Make new functions static.
Rearrange wording of documentation.

15 years ago* config/tc-i386.c (pe_lcomm_internal): New function. Allows the
Nick Clifton [Wed, 3 Sep 2008 14:02:30 +0000 (14:02 +0000)]
* config/tc-i386.c (pe_lcomm_internal): New function.  Allows the
  alignment field of the .lcomm directive to be optional.
  (pe_lcomm): New function.  Pass pe_lcomm_internal to
  s_comm_internal.
  (md_pseudo_table): Implement .lcomm directive for COFF based
  targets.
  * doc/c-i386.texi (i386-Directives): New node.  Used to document
  the .lcomm directive.

15 years agodaily update
Alan Modra [Wed, 3 Sep 2008 00:00:05 +0000 (00:00 +0000)]
daily update

15 years agodaily update
Alan Modra [Tue, 2 Sep 2008 00:00:06 +0000 (00:00 +0000)]
daily update

15 years agodaily update sid-snapshot-20080901
Alan Modra [Mon, 1 Sep 2008 00:00:06 +0000 (00:00 +0000)]
daily update

15 years agodaily update
Alan Modra [Sun, 31 Aug 2008 00:00:06 +0000 (00:00 +0000)]
daily update

15 years ago * config/tc-hppa.h: Don't define DWARF2_EH_FRAME_READ_ONLY on Linux
Dave Anglin [Sat, 30 Aug 2008 15:52:22 +0000 (15:52 +0000)]
* config/tc-hppa.h: Don't define DWARF2_EH_FRAME_READ_ONLY on Linux
and NetBSD.

15 years agodaily update
Alan Modra [Sat, 30 Aug 2008 00:05:55 +0000 (00:05 +0000)]
daily update

15 years ago * config/tc-avr.c (mcu_types): Add atmega16u4.
Nick Clifton [Fri, 29 Aug 2008 16:58:02 +0000 (16:58 +0000)]
    * config/tc-avr.c (mcu_types): Add atmega16u4.
        * doc/c-avr.texi: Likewise.

15 years ago2008-08-28 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Thu, 28 Aug 2008 16:05:03 +0000 (16:05 +0000)]
2008-08-28  Tristan Gingold  <gingold@adacore.com>

* objdump.c (dump_stabs): Add sections for Darwin.

15 years ago2008-08-28 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Thu, 28 Aug 2008 16:04:18 +0000 (16:04 +0000)]
2008-08-28  Tristan Gingold  <gingold@adacore.com>

* stab.def: Add BNSYM, ENSYM, OSO for darwin.

15 years agogas/testsuite/
Jan Beulich [Thu, 28 Aug 2008 15:59:32 +0000 (15:59 +0000)]
gas/testsuite/
2008-08-28  Jan Beulich  <jbeulich@novell.com>

* gas/i386/intel.s: Add retf.
* gas/i386/intel.{d,e}: Adjust.
* gas/i386/opcode-intel.d: Replace lret with retf.

opcodes/
2008-08-28  Jan Beulich  <jbeulich@novell.com>

* i386-dis.c (dis386): Adjust far return mnemonics.
* i386-opc.tbl: Add retf.
* i386-tbl.h: Re-generate.

15 years agogas/testsuite/
Jan Beulich [Thu, 28 Aug 2008 15:30:30 +0000 (15:30 +0000)]
gas/testsuite/
2008-08-28  Jan Beulich  <jbeulich@novell.com>

* gas/i386/gas/i386/opcode-suffix.d: Add suffixes to cmovXX.

opcodes/
2008-08-28  Jan Beulich  <jbeulich@novell.com>

* i386-dis.c (dis386_twobyte): Adjust cmovXX mnemonics.

15 years ago2008-08-28 Kris Van Hees <kris.van.hees@oracle.com>
Kris Van Hees [Thu, 28 Aug 2008 14:51:04 +0000 (14:51 +0000)]
2008-08-28  Kris Van Hees  <kris.van.hees@oracle.com>

        PR gold/6858
        * options.cc (General_options::finalize): Allow undefined symbols
        in shlibs if linking -shared.

        PR gold/6859
        * symtab.cc (Symbol::init_base_undefined): Mark explicitly undefined
        symbols as not needing a dynsym entry.

15 years agogas/
H.J. Lu [Thu, 28 Aug 2008 14:07:50 +0000 (14:07 +0000)]
gas/

2008-08-28  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-ia64.c (CR_IIB0): New.
(CR_IIB1): Likewise.
(cr): Add cr.iib0 and cr.iib1.
(specify_resource): Handle IA64_RS_CR_IIB and CR_IIB0/CR_IIB1.

gas/testsuite/

2008-08-28  H.J. Lu  <hongjiu.lu@intel.com>

* gas/ia64/dv-raw-err.s: Add tests for cr.iib0 and cr.iib1.
* gas/ia64/dv-waw-err.s: Likewise.
* gas/ia64/regs.s: Likewise.

* gas/ia64/dv-raw-err.l: Updated.
* gas/ia64/dv-waw-err.l: Likewise.
* gas/ia64/regs.d: Likewise.

include/opcode/

2008-08-28  H.J. Lu  <hongjiu.lu@intel.com>

* ia64.h (ia64_resource_specifier): Add IA64_RS_CR_IIB.  Update
IA64_RS_CR.

opcodes/

2008-08-28  H.J. Lu  <hongjiu.lu@intel.com>

* ia64-dis.c (print_insn_ia64): Handle cr.iib0 and cr.iib1.
* ia64-gen.c (lookup_specifier): Likewise.

* ia64-ic.tbl: Add support for cr.iib0 and cr.iib1.
* ia64-raw.tbl: Likewise.
* ia64-waw.tbl: Likewise.
* ia64-asmtab.c: Regenerated.

15 years ago2008-08-28 Tristan Gingold <gingold@adacore.com> cgen-snapshot-20080901
Tristan Gingold [Thu, 28 Aug 2008 10:44:31 +0000 (10:44 +0000)]
2008-08-28  Tristan Gingold  <gingold@adacore.com>

* configure.ac (powerpc-*-darwin*, i?86-*-darwin*,x86_64-*-darwin9):
Enable bfd, binutils and opcodes.
* configure: Regenerate.

15 years agogas/
Jan Beulich [Thu, 28 Aug 2008 09:42:11 +0000 (09:42 +0000)]
gas/
2008-08-28  Jan Beulich  <jbeulich@novell.com>

* config/tc-i386.c (md_assemble): Force number of displacement
operands to zero when processing string instruction.
(i386_index_check): Special-case string instruction operands. Don't
fudge address prefix if there already was a memory operand. Fix
error message to correctly reflect the addressing mode used.
(i386_att_operand): Fix comment.
(i386_intel_operand): Snapshot, clear, and restore base and index
reg for each operand processed. Increment count of memory operands
later.

gas/testsuite/
2008-08-28  Jan Beulich  <jbeulich@novell.com>

* gas/i386/string-bad.{l,s}, gas/i386/string-ok.{d,e,s}: New.
* gas/i386/i386.exp: Run new tests.

15 years ago * elf-hppa.h (elf_hppa_reloc_final_type): Handle R_PARISC_GPREL64,
Dave Anglin [Thu, 28 Aug 2008 02:33:45 +0000 (02:33 +0000)]
* elf-hppa.h (elf_hppa_reloc_final_type): Handle R_PARISC_GPREL64,
R_PARISC_SEGREL32 and R_PARISC_SEGREL64.
* som.c (som_fixup_formats): Add R_DATA_GPREL fixup.
(som_hppa_howto_table): Likewise.
(hppa_som_gen_reloc_type): In case R_HPPA_GOTOFF, detect R_DATA_GPREL
final type.
(som_write_fixups): Handle R_DATA_GPREL.

* config/tc-hppa.c (is_SB_relative): New macro.
(fix_new_hppa): Remove $segrel$ marker.
(cons_fix_new_hppa): Set reloc type R_PARISC_SEGREL32 if expression is
segment relative.
* config/tc-hppa.h (tc_frob_symbol): Check for $segrel$.

15 years agogas/testsuite/
H.J. Lu [Wed, 27 Aug 2008 17:53:42 +0000 (17:53 +0000)]
gas/testsuite/

2008-08-27  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/intel.s: Add tests for fidivr.

* gas/i386/intel.d: Updated.

opcodes/

2008-08-27  H.J. Lu  <hongjiu.lu@intel.com>

* i386-opc.tbl: Correct fidivr operand size.

* i386-tbl.h: Regenerated.

15 years agogas/
Jan Beulich [Wed, 27 Aug 2008 16:24:32 +0000 (16:24 +0000)]
gas/
2008-08-27  Jan Beulich  <jbeulich@novell.com>

* config/tc-i386.c (check_string): Use register_prefix for error
message.
(process_operands): Likewise.

15 years agodaily update
Alan Modra [Wed, 27 Aug 2008 00:00:06 +0000 (00:00 +0000)]
daily update

15 years ago * c-arm.texi: Add tutorial on ARM unwinding pseudo ops.
Mark Mitchell [Tue, 26 Aug 2008 16:02:59 +0000 (16:02 +0000)]
* c-arm.texi: Add tutorial on ARM unwinding pseudo ops.

15 years ago * elf32-arm.c: Fix up comment describing Thumb to ARM interworking
Nick Clifton [Tue, 26 Aug 2008 14:40:18 +0000 (14:40 +0000)]
        * elf32-arm.c: Fix up comment describing Thumb to ARM interworking
            stub.

15 years agobfd/
Nick Clifton [Tue, 26 Aug 2008 11:46:41 +0000 (11:46 +0000)]
bfd/
        * elf32-arm.c (arm_thumb_arm_v4t_short_branch_stub): Define.
        (elf32_arm_stub_type): Add arm_thumb_arm_v4t_stub_short_branch.
        (arm_type_of_stub): Handle armv4t short branches. Update
        prototype.
        (arm_stub_is_thumb): Handle arm_thumb_arm_v4t_stub_short_branch.
        (arm_build_one_stub): Likewise.
        (arm_size_one_stub): Likewise.
        (elf32_arm_size_stubs): Use new arm_type_of_stub prototype.
        (arm_map_one_stub): Handle arm_thumb_arm_v4t_stub_short_branch.

        ld/testsuite/
        * ld-arm/arm-elf.exp: Add farcall-thumb-arm-short test.
        * ld-arm/farcall-group2.s: Fix comment.
        * ld-arm/farcall-thumb-arm-short.d: New test.
        * ld-arm/farcall-thumb-arm-short.s: New test.

15 years agoPR 6727
Nick Clifton [Tue, 26 Aug 2008 11:11:17 +0000 (11:11 +0000)]
PR 6727
   * emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Scan all
   input sections in all input bfds and always select the last
   suitable one, so that interworking stubs are always processed
   after all other input sections.
   (arm_elf_before_allocation): Remove redundant use of
   output_has_begun flag.

15 years ago * config/bfin-parse.y (check_macfunc_option): Fix instruction
Jie Zhang [Tue, 26 Aug 2008 10:03:24 +0000 (10:03 +0000)]
* config/bfin-parse.y (check_macfunc_option): Fix instruction
mode checking.
(asm_1): Check mode for 16-bit multiply instructions.

testsuite/
* gas/bfin/arith_mode.d: New test.
* gas/bfin/arith_mode.s: New test.
* gas/bfin/invalid_arith_mode.l: New test.
* gas/bfin/invalid_arith_mode.s: New test.
* gas/bfin/bfin.exp: Add arith_mode and invalid_arith_mode.

15 years agodaily update
Alan Modra [Tue, 26 Aug 2008 00:00:05 +0000 (00:00 +0000)]
daily update

15 years agoMerge from gcc:
DJ Delorie [Mon, 25 Aug 2008 17:26:06 +0000 (17:26 +0000)]
Merge from gcc:
2008-08-16  Nicolas Roche  <roche@adacore.com>
* Makefile.tpl: Add BOOT_ADAFLAGS.
* Makefile.in: Regenerate.

15 years agoMerge from gcc.
DJ Delorie [Mon, 25 Aug 2008 17:07:33 +0000 (17:07 +0000)]
Merge from gcc.

15 years ago * gmon_io.h: Don't include sysdep.h here.
Alan Modra [Mon, 25 Aug 2008 04:38:45 +0000 (04:38 +0000)]
* gmon_io.h: Don't include sysdep.h here.
(O_BINARY, SET_BINARY): Don't define here.
* gmon_io.c: Include "binary-io.h".
(gmon_out_read): Remove #ifdef SET_BINARY.
* Makefile.am: Run "make dep-am"
* Makefile.in: Regenerate.

15 years ago * sysdep.h: Include "binary-io.h".
Alan Modra [Mon, 25 Aug 2008 04:38:13 +0000 (04:38 +0000)]
* sysdep.h: Include "binary-io.h".
(O_BINARY): Don't define here.
* bin2c.c (O_BINARY, O_TEXT, SET_BINARY): Don't define here.
* strings.c: Likewise.
(main): Remove #ifdef SET_BINARY.
* Makefile.am: Run "make dep-am"
* Makefile.in: Regenerate.

15 years ago * binary-io.h: New file, imported from gnulib, but don't
Alan Modra [Mon, 25 Aug 2008 04:36:03 +0000 (04:36 +0000)]
* binary-io.h: New file, imported from gnulib, but don't
#include <fcntl.h> or <stdio.h>.

15 years agodaily update
Alan Modra [Mon, 25 Aug 2008 00:00:05 +0000 (00:00 +0000)]
daily update

15 years ago(_bfd_elf_write_section_eh_frame): Do proper
Andreas Schwab [Sun, 24 Aug 2008 21:43:00 +0000 (21:43 +0000)]
(_bfd_elf_write_section_eh_frame): Do proper
extension when calculating difference of offsets.

15 years ago * Makefile.am (chew.o): Delete rule.
Alan Modra [Sun, 24 Aug 2008 03:57:28 +0000 (03:57 +0000)]
* Makefile.am (chew.o): Delete rule.
($(MKDOC)): Move options before C file.
* Makefile.in: Regenerate.

15 years agoUpdate a number of obsolete autoconf macros.
Alan Modra [Sun, 24 Aug 2008 03:13:05 +0000 (03:13 +0000)]
Update a number of obsolete autoconf macros.

15 years agodaily update
Alan Modra [Sun, 24 Aug 2008 00:00:06 +0000 (00:00 +0000)]
daily update

15 years ago(find_separate_debug_file): Use the canonical
Andreas Schwab [Sat, 23 Aug 2008 08:08:58 +0000 (08:08 +0000)]
(find_separate_debug_file): Use the canonical
absolute name of the bfd object for finding the debug file in
the global debugfile directory.

15 years agodaily update
Alan Modra [Sat, 23 Aug 2008 00:00:14 +0000 (00:00 +0000)]
daily update

15 years ago * config/tc-mcore.c (md_assemble): Increase length of name array
Nick Clifton [Fri, 22 Aug 2008 17:05:40 +0000 (17:05 +0000)]
        * config/tc-mcore.c (md_assemble): Increase length of name array
            to include terminating NUL.

15 years agobfd/
Jan Kratochvil [Fri, 22 Aug 2008 08:32:40 +0000 (08:32 +0000)]
bfd/
Fix PR ld/3290 regression for cross-files DW_FORM_ref_addr relocations.
* elflink.c (elf_link_add_object_symbols): Make debug symbols local
now only for non-RELOCATABLE targets.

ld/testsuite/
* ld-x86-64/dwarfreloc.exp, ld-x86-64/dwarfreloc.rd,
ld-x86-64/dwarfreloc1.s, ld-x86-64/dwarfreloc2.s: New test.

15 years ago * config/bfin-lex.l (NUMBER): Protect special `.'.
Jie Zhang [Fri, 22 Aug 2008 07:21:49 +0000 (07:21 +0000)]
* config/bfin-lex.l (NUMBER): Protect special `.'.

testsuite/
* gas/bfin/misc.s: New test.
* gas/bfin/misc.d: New test.
* gas/bfin/bfin.exp: Add misc test.

15 years ago * symbols.c (symbol_clone): Ensure clones are not external.
Alan Modra [Fri, 22 Aug 2008 06:07:45 +0000 (06:07 +0000)]
* symbols.c (symbol_clone): Ensure clones are not external.

15 years ago * config/tc-hppa.c (md_begin): Set BSF_KEEP for "dummy_symbol".
Alan Modra [Fri, 22 Aug 2008 00:41:37 +0000 (00:41 +0000)]
* config/tc-hppa.c (md_begin): Set BSF_KEEP for "dummy_symbol".

15 years agodaily update
Alan Modra [Fri, 22 Aug 2008 00:00:05 +0000 (00:00 +0000)]
daily update

15 years ago * dw2gencfi.c (DWARF2_FDE_RELOC_SIZE): New.
Richard Henderson [Thu, 21 Aug 2008 19:49:22 +0000 (19:49 +0000)]
    * dw2gencfi.c (DWARF2_FDE_RELOC_SIZE): New.
        (output_cie, output_fde): Use it.
        (DWARF2_EH_FRAME_READ_ONLY): New.
        (cfi_finish): Use it.

        * config/tc-hppa.h (DWARF2_FDE_RELOC_SIZE): Set to 8 for 64-bit.
        (DWARF2_CIE_DATA_ALIGNMENT): Change sign.
        (DWARF2_EH_FRAME_READ_ONLY): New.
        * config/tc-hppa.c (tc_gen_reloc): Generate pc-relative relocations
        from the results of DIFF_EXPR_OK manipulation.

15 years ago * gas/cfi/cfi-common-1.d: Allow for differing offsets, and
Richard Henderson [Thu, 21 Aug 2008 19:49:02 +0000 (19:49 +0000)]
    * gas/cfi/cfi-common-1.d: Allow for differing offsets, and
        for DW_CFA_offset_extended_sf results.  Allow for differing nops.
        * gas/cfi/cfi-hppa-1.d: Invert data alignment sign.  Change
        offsets to match 64-bit offsets.
        * gas/cfi/cfi.exp: Don't run common tests on hppa64.

15 years ago * readelf.c (is_32bit_pcrel_reloc): Fix hppa entry.
Richard Henderson [Thu, 21 Aug 2008 19:38:58 +0000 (19:38 +0000)]
    * readelf.c (is_32bit_pcrel_reloc): Fix hppa entry.
        (is_64bit_pcrel_reloc): New.
        (debug_apply_relocations): Use it.  Handle hppa pcrel bias.

15 years ago2008-08-21 Sterling Augustine <sterling@tensilica.com>
Bob Wilson [Thu, 21 Aug 2008 17:10:24 +0000 (17:10 +0000)]
2008-08-21  Sterling Augustine  <sterling@tensilica.com>
* config/xtensa-istack.h (MAX_INSN_ARGS): Increase to 64.

15 years ago PR ld/6833
Jan Kratochvil [Thu, 21 Aug 2008 13:10:54 +0000 (13:10 +0000)]
PR ld/6833
* ldexp.c (fold_binary <DATA_SEGMENT_ALIGN>): Do not align
EXPLD.DATASEG.MIN_BASE.
* ldlang.c (lang_size_sections): New variable OLD_BASE.  Rename
OLD_MIN_BASE to MIN_BASE with the former alignment from `ldexp.c'.
Use OLD_BASE now for the minimal base check after the base decrease by
the maximum alignment found.

15 years ago2008-08-20 Craig Silverstein <csilvers@google.com>
Craig Silverstein [Thu, 21 Aug 2008 00:30:13 +0000 (00:30 +0000)]
2008-08-20  Craig Silverstein  <csilvers@google.com>

* fileread.cc (File_read::open): Do not lock the file unless it
was successfully opened.

15 years agodaily update
Alan Modra [Thu, 21 Aug 2008 00:00:11 +0000 (00:00 +0000)]
daily update

15 years agoCommit file that I accidentally omitted from my change to support TLS on Xtensa.
Bob Wilson [Wed, 20 Aug 2008 23:43:41 +0000 (23:43 +0000)]
Commit file that I accidentally omitted from my change to support TLS on Xtensa.

15 years ago2008-08-20 Bob Wilson <bob.wilson@acm.org>
Bob Wilson [Wed, 20 Aug 2008 23:38:39 +0000 (23:38 +0000)]
2008-08-20  Bob Wilson  <bob.wilson@acm.org>
        * gas/all/gas.exp: Expect the redef test to fail on Xtensa.

15 years ago2008-08-20 Bob Wilson <bob.wilson@acm.org>
Bob Wilson [Wed, 20 Aug 2008 23:28:59 +0000 (23:28 +0000)]
2008-08-20  Bob Wilson  <bob.wilson@acm.org>
bfd/
        * elf-bfd.h (elf_object_id): Add XTENSA_ELF_TDATA.
        * elf32-xtensa.c (elf_howto_table): Add TLS relocations.
        (elf_xtensa_reloc_type_lookup): Likewise.
        (TCB_SIZE): Define.
        (elf_xtensa_link_hash_entry): New.
        (GOT_UNKNOWN, GOT_NORMAL, GOT_TLS_GD, GOT_TLS_IE, GOT_TLS_ANY): Define.
        (elf_xtensa_hash_entry): Define.
        (elf_xtensa_obj_tdata): New.
        (elf_xtensa_tdata): Define.
        (elf_xtensa_local_got_tls_type): Define.
        (elf_xtensa_local_tlsfunc_refcounts): Define.
        (is_xtensa_elf): Define.
        (elf_xtensa_mkobject): New.
        (elf_xtensa_link_hash_table): Add tlsbase field.
        (elf_xtensa_link_hash_newfunc): New.
        (elf_xtensa_link_hash_table_create): Use elf_xtensa_link_hash_newfunc.
        Create an entry for "_TLS_MODULE_BASE_" and save it in tlsbase field.
        (elf_xtensa_copy_indirect_symbol): New.
        (elf_xtensa_check_relocs): Rewrite to handle TLS relocations.
        (elf_xtensa_gc_sweep_hook): Likewise.
        (elf_xtensa_allocate_dynrelocs): Optimize away GOT entries for
        TLSDESC_FN relocations when an IE reference is seen.
        (elf_xtensa_allocate_local_got_size): Likewise.
        (elf_xtensa_always_size_sections): New.
        (dtpoff_base, tpoff): New.
        (elf_xtensa_do_reloc): Handle TLS relocations.
        (replace_tls_insn): New.
        (IS_XTENSA_TLS_RELOC): Define.
        (elf_xtensa_relocate_section): Handle TLS relocations.
        (get_indirect_call_dest_reg): New.
        (bfd_elf32_mkobject): Define.
        (elf_backend_always_size_sections): New.
        (elf_backend_copy_indirect_symbol): New.
        * reloc.c (BFD_RELOC_XTENSA_TLSDESC_FN, BFD_RELOC_XTENSA_TLSDESC_ARG)
        (BFD_RELOC_XTENSA_TLS_DTPOFF, BFD_RELOC_XTENSA_TLS_TPOFF)
        (BFD_RELOC_XTENSA_TLS_FUNC, BFD_RELOC_XTENSA_TLS_ARG)
        (BFD_RELOC_XTENSA_TLS_CALL): New.
        * bfd-in2.h: Regenerate.
        * libbfd.h: Regenerate.
gas/
        * config/tc-xtensa.c (O_tlsfunc, O_tlsarg, O_tlscall): Define.
        (O_tpoff, O_dtpoff): Define.
        (suffix_relocs): Add entries for TLS suffixes.
        (xtensa_elf_cons): Check for invalid use of TLS relocations.
        (map_operator_to_reloc): Add is_literal parameter and use it to
        control translating TLS instruction relocations to the corresponding
        literal relocations.
        (xg_valid_literal_expression): Allow TLS operators.
        (xg_build_to_insn): Copy TLS operators from pseudo-instruction
        operands to generated literals.
        (xg_assemble_literal): Handle TLS operators.  Update call to
        map_operator_to_reloc.
        (md_assemble): Handle CALLXn.TLS pseudo-instruction.
        (md_apply_fix): Handle TLS relocations.
        (emit_single_op): Handle TLS operators.
        (convert_frag_immed): Update call to map_operator_to_reloc.
        (vinsn_to_insnbuf): Emit relocations for TLS-related instructions.
        * config/xtensa-istack.h (tinsn_struct): Add tls_reloc field.
        * config/xtensa-relax.c (append_literal_op): Add src_op parameter
        to initialize the op_data field of the BuildOp.
        (build_transition): Use it here to record the source operand
        corresponding to a generated literal.
        * config/xtensa-relax.h (build_op): Comment op_data use for literals.
include/elf/
        * xtensa.h (R_XTENSA_TLSDESC_FN, R_XTENSA_TLSDESC_ARG)
        (R_XTENSA_TLS_DTPOFF, R_XTENSA_TLS_TPOFF, R_XTENSA_TLS_FUNC)
        (R_XTENSA_TLS_ARG, R_XTENSA_TLS_CALL): New.
ld/testsuite/
        * ld-xtensa/tlsbin.dd, ld-xtensa/tlsbin.rd, ld-xtensa/tlsbin.s,
        ld-xtensa/tlsbin.sd, ld-xtensa/tlsbin.td, ld-xtensa/tlslib.s,
        ld-xtensa/tlspic.dd, ld-xtensa/tlspic.rd, ld-xtensa/tlspic.sd,
        ld-xtensa/tlspic.td, ld-xtensa/tlspic1.s, ld-xtensa/tlspic2.s: New.
        * ld-xtensa/xtensa.exp: Run them.

15 years agoAdd the missing ChangeLog entry for the AES + AVX checkin.
H.J. Lu [Wed, 20 Aug 2008 18:48:09 +0000 (18:48 +0000)]
Add the missing ChangeLog entry for the AES + AVX checkin.

15 years agogas/
H.J. Lu [Wed, 20 Aug 2008 18:38:40 +0000 (18:38 +0000)]
gas/

2008-08-20  H.J. Lu  <hongjiu.lu@intel.com>

AVX Programming Reference (August, 2008)
* config/tc-i386.c (CPU_FLAGS_AES_MATCH): New.
(CPU_FLAGS_AVX_MATCH): Likewise.
(CPU_FLAGS_32BIT_MATCH): Updated.
(cpu_flags_match): Likewise.

gas/testsuite/

2008-08-20  H.J. Lu  <hongjiu.lu@intel.com>

AVX Programming Reference (August, 2008)
* gas/i386/avx.s: Add AES + AVX tests.
* gas/i386/arch-10.s: Likewise.
* gas/i386/sse2avx.s: Likewise.
* gas/i386/x86-64-arch-2.s: Likewise.
* gas/i386/x86-64-avx.s: Likewise.
* gas/i386/x86-64-sse2avx.s: Likewise.

* gas/i386/arch-10.d: Updated.
* gas/i386/arch-10-1.l: Likewise.
* gas/i386/arch-10-2.l: Likewise.
* gas/i386/arch-10-3.l: Likewise.
* gas/i386/arch-10-4.l: Likewise.
* gas/i386/avx.d: Likewise.
* gas/i386/avx-intel.d: Likewise.
* gas/i386/sse2avx.d: Likewise.
* gas/i386/x86-64-arch-2.d: Likewise.
* gas/i386/x86-64-avx.d: Likewise.
* gas/i386/x86-64-avx-intel.d: Likewise.
* gas/i386/x86-64-sse2avx.d: Likewise.

* gas/i386/i386.exp: Run arch-avx-1, arch-avx-1-1 and
arch-avx-1-2.

* gas/i386/arch-avx-1.d: New.
* gas/i386/arch-avx-1.s: Likewise.
* gas/i386/arch-avx-1-1.l: Likewise.
* gas/i386/arch-avx-1-1.s: Likewise.
* gas/i386/arch-avx-1-2.l: Likewise.
* gas/i386/arch-avx-1-2.s: Likewise.

opcodes/

2008-08-20  H.J. Lu  <hongjiu.lu@intel.com>

AVX Programming Reference (August, 2008)
* i386-dis.c (PREFIX_VEX_38DB): New.
(PREFIX_VEX_38DC): Likewise.
(PREFIX_VEX_38DD): Likewise.
(PREFIX_VEX_38DE): Likewise.
(PREFIX_VEX_38DF): Likewise.
(PREFIX_VEX_3ADF): Likewise.
(VEX_LEN_38DB_P_2): Likewise.
(VEX_LEN_38DC_P_2): Likewise.
(VEX_LEN_38DD_P_2): Likewise.
(VEX_LEN_38DE_P_2): Likewise.
(VEX_LEN_38DF_P_2): Likewise.
(VEX_LEN_3ADF_P_2): Likewise.
(PREFIX_VEX_3A04): Updated.
(VEX_LEN_3A06_P_2): Likewise.
(prefix_table): Add PREFIX_VEX_38DB, PREFIX_VEX_38DC,
PREFIX_VEX_38DD, PREFIX_VEX_38DE and PREFIX_VEX_3ADF.
(x86_64_table): Likewise.
(vex_len_table): Add VEX_LEN_38DB_P_2, VEX_LEN_38DC_P_2,
VEX_LEN_38DD_P_2, VEX_LEN_38DE_P_2, VEX_LEN_38DF_P_2 and
VEX_LEN_3ADF_P_2.

* i386-opc.tbl: Add AES + AVX instructions.
* i386-init.h: Regenerated.
* i386-tbl.h: Likewise.

15 years ago PR 6848
Alan Modra [Wed, 20 Aug 2008 13:43:32 +0000 (13:43 +0000)]
PR 6848
* write.c (install_reloc): Check that reloc symbols have been
written.
(set_symtab): Mark symbols with BSF_KEEP.

15 years agodaily update
Alan Modra [Wed, 20 Aug 2008 00:00:08 +0000 (00:00 +0000)]
daily update

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

15 years ago2008-08-18 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 18 Aug 2008 18:21:15 +0000 (18:21 +0000)]
2008-08-18  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (i386_align_code): Fix a comment typo.

15 years agobfd/
Richard Sandiford [Mon, 18 Aug 2008 18:14:05 +0000 (18:14 +0000)]
bfd/
* elfxx-mips.c (_bfd_mips_elf_copy_indirect_symbol): Copy MIPS16
stub information.

ld/testsuite/
* ld-mips-elf/mips16-pic-4a.s, ld-mips-elf/mips16-pic-4b.s,
ld-mips-elf/mips16-pic-4.ver, ld-mips-elf/mips16-pic-4a.dd,
ld-mips-elf/mips16-pic-4a.nd, ld-mips-elf/mips16-pic-4a.gd,
ld-mips-elf/mips16-pic-4c.s, ld-mips-elf/mips16-pic-4b.dd: New tests.
* ld-mips-elf/mips-elf.exp: Run them.

15 years agodaily update
Alan Modra [Mon, 18 Aug 2008 00:00:06 +0000 (00:00 +0000)]
daily update

15 years ago* elf32-arm.c: Tidy up the code.
Nick Clifton [Sun, 17 Aug 2008 20:48:21 +0000 (20:48 +0000)]
* elf32-arm.c: Tidy up the code.
  (bfd_elf32_arm_allocate_interworking_sections): Move common code
  into...
  (arm_allocate_glue_section_space): ... New function.
  (bfd_elf32_arm_add_glue_sections_to_bfd): Move common code
  into...
  (arm_make_glue_section): ... New function.

15 years ago * ld-elf/sec-to-seg1.s: Shorten test data to align the section to
Nick Clifton [Sun, 17 Aug 2008 20:42:53 +0000 (20:42 +0000)]
    * ld-elf/sec-to-seg1.s: Shorten test data to align the section to
        a 4-byte boundary.

15 years ago* elfxx-mips.c (_bfd_mips_elf_check_relocs): Handle the situation
Nick Clifton [Sun, 17 Aug 2008 20:39:34 +0000 (20:39 +0000)]
* elfxx-mips.c (_bfd_mips_elf_check_relocs): Handle the situation
  where the sym_hashes are not available.

15 years agobfd/
Alan Modra [Sun, 17 Aug 2008 03:12:50 +0000 (03:12 +0000)]
bfd/
* bfd.c (struct _bfd): Correct outsymbols comment.
* bfd-in2.h: Regenerate.
* linker.c (bfd_generic_link_read_symbols): Renamed from..
(generic_link_read_symbols): ..this, and made global.

include/
* bfdlink.h (bfd_generic_link_read_symbols): Declare.
ld/
PR 6478
* ldcref.c (check_local_sym_xref): Use bfd_generic_link_read_symbols.
Don't free symbol pointer array.
(check_refs): Likewise.
* ldmain.c (warning_callback): Likewise.
* ldmisc.c (vfinfo): Likewise.
* pe-dll.c (process_def_file): Likewise.
(pe_walk_relocs_of_symbol, generate_reloc): Likewise.
* emultempl/pe.em (pe_find_data_imports): Likewise.
(gld_${EMULATION_NAME}_after_open): Likewise.
* emultempl/pep.em (pep_find_data_imports): Likewise.
(gld_${EMULATION_NAME}_after_open): Likewise.
* ldlang.h (lang_input_statement_type): Delete asymbols, symbol_count,
passive_position, closed.
* ldlang.c (new_afile): Don't set asymbols and symbol_count.
* ldmain.c (add_archive_element): xcalloc lang_input_statement_type.

15 years agodaily update
Alan Modra [Sun, 17 Aug 2008 00:00:06 +0000 (00:00 +0000)]
daily update

15 years ago * configure.ac (mips*-*-*linux*, mips*-*-gnu*): Use mt-mips-gnu.
Richard Sandiford [Sat, 16 Aug 2008 06:47:17 +0000 (06:47 +0000)]
* configure.ac (mips*-*-*linux*, mips*-*-gnu*): Use mt-mips-gnu.
* configure: Regenerate.

config/
* mt-mips16-compat: New file, taken from mt-mips-elfoabi.
* mt-mips-elfoabi: Include mt-mips16-compat.
* mt-mips-gnu: New file.

15 years agodaily update
Alan Modra [Sat, 16 Aug 2008 00:00:05 +0000 (00:00 +0000)]
daily update

15 years ago2008-08-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
Andreas Krebbel [Fri, 15 Aug 2008 12:10:21 +0000 (12:10 +0000)]
2008-08-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* s390-opc.c (INSTR_RRF_FFRU, MASK_RRF_FFRU): New instruction format.
* s390-opc.txt (lxr, rrdtr, rrxtr): Fix instruction format.

2008-08-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* gas/s390/esa-g5.d: lxr operands are floating point.
* gas/s390/esa-g5.s: Likewise.
* gas/testsuite/gas/s390/zarch-z9-ec.d: rrdtr, rrxtr third
operands is gpr.
* gas/testsuite/gas/s390/zarch-z9-ec.s: Likewise.

15 years ago PR 6526
Alan Modra [Fri, 15 Aug 2008 08:31:52 +0000 (08:31 +0000)]
PR 6526
* configure.in: Invoke AC_USE_SYSTEM_EXTENSIONS.

15 years ago2008-08-14 Cary Coutant <ccoutant@google.com>
Cary Coutant [Fri, 15 Aug 2008 04:57:46 +0000 (04:57 +0000)]
2008-08-14  Cary Coutant  <ccoutant@google.com>

* x86_64.cc (Target_x86_64::Relocate::relocat_tls):
Use addend for DTPOFF32, DTPOFF64, and TPOFF32 relocs.
* testsuite/tls_test.cc (struct int128): 128-bit struct
for testing TLS relocs with non-zero addend.
(v12): New TLS variable.
(t12): New test.
(t_last): Add check for v12.
* testsuite/tls_test.h (t12): New function.
* testsuite/tls_test_main.cc (thread_routine): Call new test.

15 years agodaily update
Alan Modra [Fri, 15 Aug 2008 00:00:07 +0000 (00:00 +0000)]
daily update

15 years ago * config/tc-tic4x.c (tic4x_operands_parse): Make static.
Alan Modra [Thu, 14 Aug 2008 14:54:40 +0000 (14:54 +0000)]
* config/tc-tic4x.c (tic4x_operands_parse): Make static.

15 years ago PR 6825
Alan Modra [Thu, 14 Aug 2008 13:56:00 +0000 (13:56 +0000)]
PR 6825
* ppc-opc.c (powerpc_opcodes): Enable rfci, mfpmr, mtpmr for e300.

15 years ago * coffgen.c (coff_find_nearest_line): Correct cached line index.
Alan Modra [Thu, 14 Aug 2008 02:38:22 +0000 (02:38 +0000)]
* coffgen.c (coff_find_nearest_line): Correct cached line index.

15 years agodaily update
Alan Modra [Thu, 14 Aug 2008 00:00:07 +0000 (00:00 +0000)]
daily update

15 years ago * layout.cc (Layout::attach_allocated_section_to_segment): Don't
Ian Lance Taylor [Wed, 13 Aug 2008 07:37:46 +0000 (07:37 +0000)]
* layout.cc (Layout::attach_allocated_section_to_segment): Don't
set tls_segment_ or relro_segment_.
(Layout::make_output_segment): Set tls_segment_ and relro_segment_
when appropriate.
* output.h (Output_section::clear_is_relro): New function.
* output.cc (Output_segment::add_output_section): Handle SHF_TLS
sections specially even when output_data_ is empty.
(Output_segment::maximum_alignment): When first section is relro,
only force alignment for PT_LOAD segments.
* script.cc (script_data_segment_align): New function.
(script_data_segment_relro_end): New function.
* script-c.h (script_data_segment_align): Declare.
(script_data_segment_relro_end): Declare.
* script-sections.h (class Script_sections): Declare
data_segment_align and data_segment_relro_end.  Add fields
segment_align_index_ and saw_relro_end_.
* script-sections.cc (class Sections_element): Add set_is_relro
virtual function.  Add new bool* parameter to place_orphan_here.
Add get_output_section virtual function.
(class Output_section_definition): Add set_is_relro.  Add new
bool* parameter to place_orphan_here.  Add get_output_section.
Add is_relro_ field.
(Output_section_definition::Output_section_definition): Initialize
evaluated_address_, evaluated_load_address, evaluated_addralign_,
and is_relro_ fields.
(Output_section_definition::place_orphan_here): Add is_relro
parameter.
(Output_section_definition::set_section_addresses): Set relro for
output section.
(Output_section_definition::alternate_constraint): Likewise.
(class Orphan_output_section): Add new bool* parameter to
place_orphan_here.  Add get_output_section.
(Orphan_output_section::place_orphan_here): Add is_relro
parameter.
(Script_sections::Script_sections): Initialize
data_segment_align_index_ and saw_relro_end_.
(Script_sections::data_segment_align): New function.
(Script_sections::data_segment_relro_end): New function.
(Script_sections::place_orphan): Set or clear is_relro.
(Script_sections::set_section_addresses): Force alignment of first
TLS section.
* yyscript.y (exp): Call script_data_segment_align and
script_data_segment_relro_end.
* testsuite/relro_script_test.t: New file.
* testsuite/relro_test.cc (using_script): Declare.
(t1, t2): Test using_script.
* testsuite/Makefile.am (check_PROGRAMS): Add relro_script_test.
(relro_script_test_SOURCES): Define.
(relro_script_test_DEPENDENCIES): Define.
(relro_script_test_LDFLAGS): Define.
(relro_script_test_LDADD): Define.
(relro_script_test.so): New target.
* testsuite/Makefile.in: Rebuild.

15 years ago * doc/as.texinfo (Align): Document the PowerPC behaviour.
Ben Elliston [Wed, 13 Aug 2008 02:50:41 +0000 (02:50 +0000)]
* doc/as.texinfo (Align): Document the PowerPC behaviour.

15 years agodaily update
Alan Modra [Wed, 13 Aug 2008 00:00:05 +0000 (00:00 +0000)]
daily update

15 years agoBanish PARAMS and PTR. Convert to ISO C.
Alan Modra [Tue, 12 Aug 2008 23:39:31 +0000 (23:39 +0000)]
Banish PARAMS and PTR.  Convert to ISO C.
Delete unnecessary forward declarations.

15 years agogas/testsuite/
H.J. Lu [Tue, 12 Aug 2008 21:44:56 +0000 (21:44 +0000)]
gas/testsuite/

2008-08-12  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/amd.s: Add syscall and sysret.  Remove padding.

* gas/i386/amd.d: Updated.
* gas/i386/x86-64-opcode.d: Likewise.

* gas/i386/i386.exp: Run x86-64-intel64.

* gas/i386/x86-64-intel64.d: New.
* gas/i386/x86-64-intel64.s: Likewise.

* gas/i386/x86-64-opcode.s: Add syscall and sysret.

opcodes/

2008-08-12  H.J. Lu  <hongjiu.lu@intel.com>

* i386-opc.tbl: Add syscall and sysret for Cpu64.

* i386-tbl.h: Regenerated.

15 years ago * elf32-ppc.c (allocate_dynrelocs): Ignore dyn_relocs when
Alan Modra [Tue, 12 Aug 2008 13:12:49 +0000 (13:12 +0000)]
* elf32-ppc.c (allocate_dynrelocs): Ignore dyn_relocs when
!dynamic_sections_created.  Don't make symbols with got
references dynamic if !dynamic_sections_created.
* elf64-ppc.c (allocate_dynrelocs): Likewise.  Alloc dynamic
relocs on undefined symbols.
(ppc64_elf_relocate_section): Allow dynamic relocs on
undefined symbols.

15 years ago * config/tc-arm.c (s_unreq): Adjust hash_delete call.
Alan Modra [Tue, 12 Aug 2008 09:58:34 +0000 (09:58 +0000)]
* config/tc-arm.c (s_unreq): Adjust hash_delete call.
* config/tc-ia64.c (dot_rot): Likewise.

15 years agodaily update
Alan Modra [Tue, 12 Aug 2008 00:00:08 +0000 (00:00 +0000)]
daily update

15 years ago * elf64-ppc.c (toc_adjusting_stub_needed): Any call via the plt
Alan Modra [Mon, 11 Aug 2008 14:38:40 +0000 (14:38 +0000)]
* elf64-ppc.c (toc_adjusting_stub_needed): Any call via the plt
needs r2 valid, not just those to external syms.

15 years ago PR 6575
Alan Modra [Mon, 11 Aug 2008 07:40:22 +0000 (07:40 +0000)]
PR 6575
* hash.c: Expand PTR to void *.
(hash_delete): Add "freeme" parameter.  Call obstack_free.
* hash.h: Expand PTR to void *.
(hash_delete): Update prototype.
* macro.c (macro_expand_body): hash_delete LOCALs from formal_hash.
* config/tc-tic54x.c (tic54x_remove_local_label): Update hash_delete
call.
(subsym_substitute): Likewise.
* doc/internals.texi (hash_delete): Update.

15 years agodaily update
Alan Modra [Mon, 11 Aug 2008 00:00:05 +0000 (00:00 +0000)]
daily update

15 years ago * archive.c (_bfd_archive_bsd_update_armap_timestamp): Cast stat
Pedro Alves [Sun, 10 Aug 2008 18:49:09 +0000 (18:49 +0000)]
* archive.c (_bfd_archive_bsd_update_armap_timestamp): Cast stat
st_mtime to long before comparison.

15 years agodaily update
Alan Modra [Sun, 10 Aug 2008 00:00:05 +0000 (00:00 +0000)]
daily update

15 years ago PR 6615
Alan Modra [Sat, 9 Aug 2008 13:05:11 +0000 (13:05 +0000)]
PR 6615
* rename.c (smart_rename): Punctuate error messages.

15 years ago PR 6753
Alan Modra [Sat, 9 Aug 2008 10:15:39 +0000 (10:15 +0000)]
PR 6753
* ldmain.c (check_for_scripts_dir, set_scripts_dir): Delete.
(main): Don't set_scripts_dir here.
* ldfile.c (check_for_scripts_dir, find_scripts_dir): New functions,
largely based on ldmain.c versions.
(ldfile_find_command_file): Set up search in script dir here without
affecting library search.
* Makefile.am (ldmain.o): No need to define SCRIPTDIR.
(ldfile.o): New rule.
* Makefile.in: Regenerate.

15 years agoAdd AVR architectures avr25, avr31, avr35, and avr51 to match GCC.
Eric B. Weddington [Sat, 9 Aug 2008 05:35:13 +0000 (05:35 +0000)]
Add AVR architectures avr25, avr31, avr35, and avr51 to match GCC.
bfd/
* archures.c (bfd_mach_avr25, bfd_mach_avr31, bfd_mach_avr35,
bfd_mach_avr51): New.
* bfd-in2.h: Regenerate.
* cpu-avr.c (arch_info_struct): Add avr25, avr31, avr35, and avr51
architectures. Change comments to match architecture comments in GCC.
(compatible): Add test for new AVR architectures.
* elf32-avr.c (bfd_elf_avr_final_write_processing): Recognize
bfd_mach_avr25, bfd_mach_avr31, bfd_mach_avr35 and bfd_mach_avr51.
(elf32_avr_object_p): Recognize E_AVR_MACH_AVR25, E_AVR_MACH_AVR31,
E_AVR_MACH_AVR35 and E_AVR_MACH_AVR51.

gas/
* config/tc-avr.c (mcu_types): Add avr25, avr31, avr35, and avr51
architectures. Reorganize list to put mcu types in correct architectures
and to order list same as in GCC. Use new ISA definitions in
include/opcode/avr.h.
* doc/c-avr.texi: Add avr25, avr31, avr35, and avr51 architecture
descriptions. Reorganize descriptions to put mcu types in correct
architectures and to order lists same as in GCC.

include/
* elf/avr.h (E_AVR_MACH_AVR25, E_AVR_MACH_AVR31,
E_AVR_MACH_AVR35, E_AVR_MACH_AVR51): Define.
(EF_AVR_MACH): Redefine to 0x7F.
* opcode/avr.h (AVR_ISA_TINY3, AVR_ISA_ALL, AVR_ISA_USB162): Remove.
(AVR_ISA_AVR3): Redefine.
(AVR_ISA_AVR1, AVR_ISA_AVR2, AVR_ISA_AVR31, AVR_ISA_AVR35,
AVR_ISA_AVR3_ALL, AVR_ISA_AVR4, AVR_ISA_AVR5, AVR_ISA_AVR51,
AVR_ISA_AVR6): Define.

ld/
* Makefile.am (ALL_EMULATIONS): Add eavr25.o, eavr31.o, eavr35.o,
and eavr51.o.
Add rules for eavr25.c, eavr31.c, eavr35.c, eavr51.c.
* Makefile.in: Regenerate.
* configure.tgt (avr-*-*, targ_extra_emuls): Add avr25, avr31, avr35
and avr51.
* emulparams/avr25.sh: New file.
* emulparams/avr31.sh: New file.
* emulparams/avr35.sh: New file.
* emulparams/avr51.sh: New file.

15 years agodaily update
Alan Modra [Sat, 9 Aug 2008 00:00:05 +0000 (00:00 +0000)]
daily update