OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
16 years ago2008-01-31 Marc Gauthier <marc@tensilica.com>
Bob Wilson [Fri, 1 Feb 2008 18:32:06 +0000 (18:32 +0000)]
2008-01-31  Marc Gauthier  <marc@tensilica.com>
* configure.ac (xtensa*-*-*): Recognize processor variants.
* configure: Regenerate.

16 years ago2008-01-31 Marc Gauthier <marc@tensilica.com>
Bob Wilson [Fri, 1 Feb 2008 17:58:48 +0000 (17:58 +0000)]
2008-01-31  Marc Gauthier  <marc@tensilica.com>
bfd/
* config.bfd (xtensa*-*-*): Recognize processor variants.
gas/
* configure.tgt (xtensa*-*-*): Recognize processor variants.
gas/testsuite/
* gas/all/gas.exp: Recognize Xtensa processor variants.
* gas/elf/elf.exp: Likewise.
* gas/lns/lns.exp: Likewise.
ld/
* configure.tgt (xtensa*-*-*): Recognize processor variants.
ld/testsuite/
* ld-elf/merge.d: Recognize Xtensa processor variants.
* ld-xtensa/coalesce.exp: Likewise.
* ld-xtensa/lcall.exp: Likewise.

16 years agoFrom Cary Coutant: Ignore hidden symbols in a dynamic object.
Ian Lance Taylor [Fri, 1 Feb 2008 00:42:24 +0000 (00:42 +0000)]
From Cary Coutant: Ignore hidden symbols in a dynamic object.

16 years agoFrom Cary Coutant: Fix a case in which code takes the address of a
Ian Lance Taylor [Fri, 1 Feb 2008 00:39:10 +0000 (00:39 +0000)]
From Cary Coutant: Fix a case in which code takes the address of a
function and also calls it directly.

16 years agodaily update
Alan Modra [Thu, 31 Jan 2008 23:00:06 +0000 (23:00 +0000)]
daily update

16 years agoPR ld/5692
Nick Clifton [Thu, 31 Jan 2008 10:48:35 +0000 (10:48 +0000)]
PR ld/5692
* elf.c (bfd_elf_get_elf_syms): Check the return value of get_elf_backend_data.

16 years ago2008-01-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Paolo Bonzini [Thu, 31 Jan 2008 10:39:43 +0000 (10:39 +0000)]
2008-01-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>

        PR bootstrap/34922
        * configure.ac (PARSE_ARGS): Push suitable setting of
        ac_subdirs_all, for `./configure --help=recursive'.
        Handle `+' in generic toplevel directory disabling.
        * configure: Regenerate.

16 years agodaily update
Alan Modra [Wed, 30 Jan 2008 23:00:05 +0000 (23:00 +0000)]
daily update

16 years ago Add OpenVMS extensions.
Nick Clifton [Wed, 30 Jan 2008 10:37:43 +0000 (10:37 +0000)]
    Add OpenVMS extensions.
        * ia64.h (SHF_IA_64_VMS_GLOBAL, SHF_IA_64_VMS_OVERLAID)
        (SHF_IA_64_VMS_SHARED, SHF_IA_64_VMS_VECTOR)
        (SHF_IA_64_VMS_ALLOC_64BIT, SHF_IA_64_VMS_PROTECTED)
        (SHT_IA_64_VMS_TRACE, SHT_IA_64_VMS_TIE_SIGNATURES)
        (SHT_IA_64_VMS_DEBUG, SHT_IA_64_VMS_DEBUG_STR)
        (SHT_IA_64_VMS_LINKAGES, SHT_IA_64_VMS_SYMBOL_VECTOR)
        (SHT_IA_64_VMS_FIXUP, DT_IA_64_VMS_SUBTYPE)
        (DT_IA_64_VMS_IMGIOCNT, DT_IA_64_VMS_LNKFLAGS)
        (DT_IA_64_VMS_VIR_MEM_BLK_SIZ, DT_IA_64_VMS_IDENT)
        (DT_IA_64_VMS_NEEDED_IDENT, DT_IA_64_VMS_IMG_RELA_CNT)
        (DT_IA_64_VMS_SEG_RELA_CNT, DT_IA_64_VMS_FIXUP_RELA_CNT)
        (DT_IA_64_VMS_FIXUP_NEEDED, DT_IA_64_VMS_SYMVEC_CNT)
        (DT_IA_64_VMS_XLATED, DT_IA_64_VMS_STACKSIZE)
        (DT_IA_64_VMS_UNWINDSZ, DT_IA_64_VMS_UNWIND_CODSEG)
        (DT_IA_64_VMS_UNWIND_INFOSEG, DT_IA_64_VMS_LINKTIME)
        (DT_IA_64_VMS_SEG_NO, DT_IA_64_VMS_SYMVEC_OFFSET)
        (DT_IA_64_VMS_SYMVEC_SEG, DT_IA_64_VMS_UNWIND_OFFSET)
        (DT_IA_64_VMS_UNWIND_SEG, DT_IA_64_VMS_STRTAB_OFFSET)
        (DT_IA_64_VMS_SYSVER_OFFSET, DT_IA_64_VMS_IMG_RELA_OFF)
        (DT_IA_64_VMS_SEG_RELA_OFF, DT_IA_64_VMS_FIXUP_RELA_OFF)
        (DT_IA_64_VMS_PLTGOT_OFFSET, DT_IA_64_VMS_PLTGOT_SEG)
        (DT_IA_64_VMS_FPMODE, SHN_IA_64_VMS_SYMVEC): Define

        * readelf.c (dump_relocations): Decode OpenVMS-specific sections.
        (get_ia64_dynamic_type): Decode OpenVMS-specific tags.
        (get_dynamic_type): Handle IA64-specific tags.
        (get_ia64_section_type_name): Handle OpenVMS-specific sections.
        (get_section_type_name): Handle OS-specific sections (and
        particularly IA64 OpenVMS one).
        (get_elf_section_flags): Makes flags static.  Add entries for IA64 and
        decode them.

16 years agodaily update
Alan Modra [Tue, 29 Jan 2008 23:00:05 +0000 (23:00 +0000)]
daily update

16 years agoFix spelling typo in previous delta
Nick Clifton [Tue, 29 Jan 2008 16:38:36 +0000 (16:38 +0000)]
Fix spelling typo in previous delta

16 years ago* dwarf.c (print_dwarf_vma): Use mingw field type specified if necessary.
Nick Clifton [Tue, 29 Jan 2008 16:36:33 +0000 (16:36 +0000)]
* dwarf.c (print_dwarf_vma): Use mingw field type specified if necessary.

16 years ago* dwarf.c (print_dwarf_vma): New function. Display the value of a
Nick Clifton [Tue, 29 Jan 2008 15:45:00 +0000 (15:45 +0000)]
* dwarf.c (print_dwarf_vma): New function.  Display the value of a
  dwarf_vma type at a specified precision.
  (display_debug_loc): Use dwarf_vma type for begin and end values.
  Use print_dwarf_vma to display their values.  Use byte_get_signed
  in order to correctly detect the -1 escape value.
  (display_debug_aranges): Likewise.
  (display_debug_ranges): Likewise.

16 years ago * ppc-opc.c: Support optional L form mtmsr.
Alan Modra [Tue, 29 Jan 2008 08:24:43 +0000 (08:24 +0000)]
* ppc-opc.c: Support optional L form mtmsr.

16 years ago * mt.opc (parse_imm16): Apply 2007-09-26 opcodes/mt-asm.c change
Alan Modra [Tue, 29 Jan 2008 03:50:23 +0000 (03:50 +0000)]
* mt.opc (parse_imm16): Apply 2007-09-26 opcodes/mt-asm.c change
to source.

16 years agoupdate copyright date
Alan Modra [Tue, 29 Jan 2008 03:10:46 +0000 (03:10 +0000)]
update copyright date

16 years ago * dwarf.c (display_debug_loc): Correct test for base address
Alan Modra [Tue, 29 Jan 2008 02:55:48 +0000 (02:55 +0000)]
* dwarf.c (display_debug_loc): Correct test for base address
entry when 64-bit host dumping 32-bit object.

16 years ago * MAINTAINERS: Remove myself as ix86 maintainer. Add for SPU.
Alan Modra [Tue, 29 Jan 2008 01:39:28 +0000 (01:39 +0000)]
* MAINTAINERS: Remove myself as ix86 maintainer.  Add for SPU.

16 years agodaily update
Alan Modra [Mon, 28 Jan 2008 23:00:07 +0000 (23:00 +0000)]
daily update

16 years ago* config.bfd (x86_64-*-solaris2): Add support for this target.
Nick Clifton [Mon, 28 Jan 2008 16:57:22 +0000 (16:57 +0000)]
* config.bfd (x86_64-*-solaris2): Add support for this target.
* configure.tgt (x86_64-*-solaris2): Add support for this target.

16 years agoPR binutils/5529
Nick Clifton [Mon, 28 Jan 2008 16:42:02 +0000 (16:42 +0000)]
PR binutils/5529
   * rclex.c (yylex): Also allow the hypen character.

16 years ago* ld-elfvers/vers.exp (test_ar): Sort the expected output so that
Nick Clifton [Mon, 28 Jan 2008 16:41:05 +0000 (16:41 +0000)]
* ld-elfvers/vers.exp (test_ar): Sort the expected output so that
  it has matches the ordering of the obtained output.

16 years agoFix the last ChangeLog.
H.J. Lu [Mon, 28 Jan 2008 15:57:02 +0000 (15:57 +0000)]
Fix the last ChangeLog.

16 years agobinutils/
H.J. Lu [Mon, 28 Jan 2008 15:15:32 +0000 (15:15 +0000)]
binutils/

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

* dwarf.c: Include "elf/common.h".
(eh_addr_size): Changed to int.
(dwarf_regnames_i386): New.
(dwarf_regnames_x86_64): Likewise.
(dwarf_regnames): Likewise.
(dwarf_regnames_count): Likewise.
(init_dwarf_regnames): Likewise.
(regname): Likewise.
(frame_display_row): Properly support different address size.
Call regname to get register name.
(display_debug_frames): Call regname to get register name.
Display DW_CFA_def_cfa_register as DW_CFA_def_cfa_register
instead of DW_CFA_def_cfa_reg.

* dwarf.h (init_dwarf_regnames): New.

* objdump.c: Include "elf-bfd.h".
(dump_dwarf): Call init_dwarf_regnames on ELF input.

* readelf.c (guess_is_rela): Change argument to int.
(parse_args): Remove the undocumented upper case options for
-wX.
(process_file_header): Call init_dwarf_regnames if
do_dwarf_register is true.

gas/testsuite/

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

* gas/cfi/cfi-alpha-1.d: Replace DW_CFA_def_cfa_reg with
DW_CFA_def_cfa_register.
* gas/cfi/cfi-alpha-3.d: Likewise.
* gas/cfi/cfi-hppa-1.d: Likewise.
* gas/cfi/cfi-i386.d: Likewise.
* gas/cfi/cfi-m68k.d: Likewise.
* gas/cfi/cfi-mips-1.d: Likewise.
* gas/cfi/cfi-sh-1.d: Likewise.
* gas/cfi/cfi-sparc-1.d: Likewise.
* gas/cfi/cfi-sparc64-1.d: Likewise.
* gas/cfi/cfi-x86_64.d: Likewise.

* gas/cfi/cfi-common-1.d: Updated for i386/x86-64 register
names.
* gas/cfi/cfi-common-2.d: Likewise.
* gas/cfi/cfi-common-5.d: Likewise.
* gas/cfi/cfi-i386.d: Likewise.
* gas/cfi/cfi-x86_64.d: Likewise.

ld/testsuite/

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

* ld-elf/eh1.d: Replace DW_CFA_def_cfa_reg with
DW_CFA_def_cfa_register. Updated for i386/x86-64 register
names.
* ld-elf/eh2.d: Likewise.
* ld-elf/eh3.d: Likewise.
* ld-elf/eh4.d: Likewise.
* ld-elf/eh5.d: Likewise.

16 years agoPR ld/5652
Nick Clifton [Mon, 28 Jan 2008 11:07:44 +0000 (11:07 +0000)]
PR ld/5652
* genscripts.sh: Check for the existence of BASH_LINENO not just the BASH
  shell before generating line numbers in the emulation file.

16 years ago Rewrite SPU overlay handling code. Put overlay calls stubs in the
Alan Modra [Mon, 28 Jan 2008 05:59:24 +0000 (05:59 +0000)]
Rewrite SPU overlay handling code.  Put overlay calls stubs in the
overlays where possible.  Use a faster call stub, or optionally at
compile time, a more compact stub.  Double size of _ovly_buf_table
so that low bit of _ovly_table.buf can be used as a "present" bit.
Reserve an extra _ovly_table entry for index zero.

16 years agodaily update
Alan Modra [Sun, 27 Jan 2008 23:00:05 +0000 (23:00 +0000)]
daily update

16 years agoinclude/
David Daney [Sun, 27 Jan 2008 06:25:45 +0000 (06:25 +0000)]
include/
2008-01-26  David Daney  <ddaney@avtrex.com>

* demangle.h (demangle_component_type):  Add
DEMANGLE_COMPONENT_JAVA_RESOURCE,
DEMANGLE_COMPONENT_COMPOUND_NAME, and
DEMANGLE_COMPONENT_CHARACTER as new enum values.
(demangle_component): Add struct s_character to union u.

libiberty/
2008-01-26  David Daney  <ddaney@avtrex.com>

* cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_JAVA_RESOURCE,
DEMANGLE_COMPONENT_COMPOUND_NAME, and
DEMANGLE_COMPONENT_CHARACTER cases.
(d_make_comp): Handle DEMANGLE_COMPONENT_COMPOUND_NAME and
DEMANGLE_COMPONENT_JAVA_RESOURCE cases.
(d_make_character): New function.
(d_java_resource): Same.
(d_special_name): Handle "Gr" case.
(d_print_comp): Handle DEMANGLE_COMPONENT_JAVA_RESOURCE,
DEMANGLE_COMPONENT_COMPOUND_NAME, and
DEMANGLE_COMPONENT_CHARACTER cases.
* testsuite/demangle-expected: Add test for java resource name
mangling.

16 years agodaily update
Alan Modra [Sat, 26 Jan 2008 23:00:06 +0000 (23:00 +0000)]
daily update

16 years ago * ld-elf/loadaddr.t: New, extracted from..
Alan Modra [Sat, 26 Jan 2008 02:57:06 +0000 (02:57 +0000)]
* ld-elf/loadaddr.t: New, extracted from..
* ld-elf/loadaddr1.t: ..here.  Use insert.
* ld-elf/loadaddr2.t: Likewise.
* ld-elf/loadaddr1.d: Update.
* ld-elf/loadaddr2.d: Update.

16 years agoPermit ordinary object files in groups.
Ian Lance Taylor [Sat, 26 Jan 2008 01:35:10 +0000 (01:35 +0000)]
Permit ordinary object files in groups.

16 years agoDon't pass around the target in order to define symbols; get it from
Ian Lance Taylor [Sat, 26 Jan 2008 01:17:45 +0000 (01:17 +0000)]
Don't pass around the target in order to define symbols; get it from
the parameters instead.

16 years agodaily update
Alan Modra [Fri, 25 Jan 2008 23:00:06 +0000 (23:00 +0000)]
daily update

16 years ago* readelf.c (process_section_headers): Add m16c handler.
DJ Delorie [Fri, 25 Jan 2008 21:08:17 +0000 (21:08 +0000)]
* readelf.c (process_section_headers): Add m16c handler.
(is_16bit_abs_reloc): Recognize R_M32C_16.

16 years ago* elf32-m32c.c (_bfd_m32c_elf_eh_frame_address_size): New.
DJ Delorie [Fri, 25 Jan 2008 21:06:11 +0000 (21:06 +0000)]
* elf32-m32c.c (_bfd_m32c_elf_eh_frame_address_size): New.

16 years ago2008-01-25 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 25 Jan 2008 17:34:29 +0000 (17:34 +0000)]
2008-01-25  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/5670
* ldlang.c (process_insert_statements): Silence gcc 4.1 alias
warning.

16 years agoAdd mingw I64 support for printing long and long long values
Nick Clifton [Fri, 25 Jan 2008 16:18:41 +0000 (16:18 +0000)]
Add mingw I64 support for printing long and long long values

16 years agold/
Alan Modra [Fri, 25 Jan 2008 12:03:37 +0000 (12:03 +0000)]
ld/
* ld.texinfo (INSERT): Describe.
* ldgram.y (ldgram_in_script, ldgram_had_equals): Delete.
(INSERT_K, AFTER, BEFORE): Add as tokens.
(ifile_p1): Handle INSERT statements.
(saved_script_handle, force_make_executable): Move to..
* ldmain.c: ..here.
(previous_script_handle): New global var.
* ldmain.h (saved_script_handle, force_make_executable): Declare.
(previous_script_handle): Likewise.
* ldlex.l (INSERT_K, AFTER, BEFORE): Add tokens.
* lexsup.c (parge_args <-T>): Set previous_script_handle.
* ldlang.c (lang_for_each_statement_worker): Handle insert statement.
(map_input_to_output_sections, print_statement): Likewise.
(lang_size_sections_1, lang_do_assignments_1): Likewise.
(insert_os_after): New function, extracted from..
(lang_insert_orphan): ..here.
(process_insert_statements): New function.
(lang_process): Call it.
(lang_add_insert): New function.
* ldlang.h (lang_insert_statement_enum): New.
(lang_insert_statement_type): New.
(lang_statement_union_type): Add insert_statement.
(lang_add_insert): Declare.
ld/testsuite/
* ld-spu/ovl.lnk: Delete overlay.
* ld-spu/ovl1.lnk: New file.
* ld-spu/ovl2.lnk: New file.
* ld-spu/ovl.d: Update.
* ld-spu/ovl2.d: Update.

16 years ago* po/ru.po: Updated Russian translation.
Nick Clifton [Fri, 25 Jan 2008 11:18:27 +0000 (11:18 +0000)]
* po/ru.po: Updated Russian translation.

16 years ago * doc/c-xtensa.texi (Xtensa Syntax): Clarify handling of opcodes that
Bob Wilson [Fri, 25 Jan 2008 01:08:34 +0000 (01:08 +0000)]
* doc/c-xtensa.texi (Xtensa Syntax): Clarify handling of opcodes that
can only be encoded in FLIX instructions but are not specified as such.
(Xtensa Automatic Alignment): Remove obsolete comment about debugging
labels.

16 years agodaily update
Alan Modra [Thu, 24 Jan 2008 23:00:07 +0000 (23:00 +0000)]
daily update

16 years ago2008-01-24 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 24 Jan 2008 22:44:37 +0000 (22:44 +0000)]
2008-01-24  H.J. Lu  <hongjiu.lu@intel.com>

* NEWS: Mention new command line options for x86 targets.

16 years agoFrom Craig Silverstein: Simplify Version_script_info::symbol_is_local
Ian Lance Taylor [Thu, 24 Jan 2008 22:35:39 +0000 (22:35 +0000)]
From Craig Silverstein: Simplify Version_script_info::symbol_is_local
interface.

16 years agogas/testsuite/
H.J. Lu [Thu, 24 Jan 2008 15:11:35 +0000 (15:11 +0000)]
gas/testsuite/

2008-01-24  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/x86-64-sib.s: Add tests for r12.

* gas/i386/x86-64-sib-intel.d: Updated.
* gas/i386/x86-64-sib.d: Likewise.

opcodes/

2008-01-24  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (OP_E_extended): Handle r12 like rsp.

16 years agoFrom Cary Coutant: Fix last patch.
Ian Lance Taylor [Thu, 24 Jan 2008 00:51:57 +0000 (00:51 +0000)]
From Cary Coutant: Fix last patch.

16 years agoOriginally from Craig Silverstein, with changes: support using a
Ian Lance Taylor [Thu, 24 Jan 2008 00:15:00 +0000 (00:15 +0000)]
Originally from Craig Silverstein, with changes: support using a
version script to force symbols to be local.

16 years agodaily update
Alan Modra [Wed, 23 Jan 2008 23:00:06 +0000 (23:00 +0000)]
daily update

16 years agoUse string instead of STRING, so that we handled QUOTED_STRING.
Ian Lance Taylor [Wed, 23 Jan 2008 19:31:56 +0000 (19:31 +0000)]
Use string instead of STRING, so that we handled QUOTED_STRING.

16 years agogas/
H.J. Lu [Wed, 23 Jan 2008 19:05:12 +0000 (19:05 +0000)]
gas/

2008-01-23  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (md_show_usage): Replace tabs with spaces.

gas/testsuite/

2008-01-23  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/i386.exp : Run x86-64-arch-1 and x86-64-arch-10.

* gas/i386/x86-64-arch-1.d: New.
* gas/i386/x86-64-arch-1.s: Likewise.
* gas/i386/x86-64-arch-10.d: Likewise.

opcodes/

2008-01-23  H.J. Lu  <hongjiu.lu@intel.com>

* i386-gen.c (cpu_flag_init): Add CpuLM to CPU_GENERIC64_FLAGS.
* i386-init.h: Regenerated.

16 years ago/gas:
Eric B. Weddington [Wed, 23 Jan 2008 17:36:23 +0000 (17:36 +0000)]
/gas:
2008-01-23  Eric B. Weddington  <eric.weddington@atmel.com>

* config/tc-avr.c (mcu_types): Change opcode set for at86rf401.

/include:
2008-01-23  Eric B. Weddington  <eric.weddington@atmel.com>

* opcode/avr.h (AVR_ISA_RF401): Add new opcode set for at86rf401.

16 years ago* ld-gc/gc.c: Make sure used_func is not inlined.
Andreas Schwab [Wed, 23 Jan 2008 16:05:45 +0000 (16:05 +0000)]
* ld-gc/gc.c: Make sure used_func is not inlined.

16 years ago2008-01-23 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 23 Jan 2008 14:13:08 +0000 (14:13 +0000)]
2008-01-23  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (md_show_usage): Show more processors for
-march=/-mtune=.

16 years ago2008-01-23 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Wed, 23 Jan 2008 08:57:11 +0000 (08:57 +0000)]
2008-01-23  Tristan Gingold  <gingold@adacore.com>

        * gas/ia64/regs.d: Updated as the ia64 disassembler now displays
        symbolic names for all ar registers.

16 years ago2008-01-23 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Wed, 23 Jan 2008 08:53:44 +0000 (08:53 +0000)]
2008-01-23  Tristan Gingold  <gingold@adacore.com>

        * ia64-dis.c (print_insn_ia64): Display symbolic name of ar.fcr,
        ar.eflag, ar.csd, ar.ssd, ar.cflg, ar.fsr, ar.fir and ar.fdr.

16 years agoFrom Cary Coutant: Fix mixing PIC and non-PIC relocs in the same
Ian Lance Taylor [Wed, 23 Jan 2008 07:15:59 +0000 (07:15 +0000)]
From Cary Coutant: Fix mixing PIC and non-PIC relocs in the same
shared library.

16 years ago2008-01-23 Thiago Jung Bauermann <bauerman@br.ibm.com>
Ben Elliston [Wed, 23 Jan 2008 05:12:47 +0000 (05:12 +0000)]
2008-01-23  Thiago Jung Bauermann  <bauerman@br.ibm.com>

* cplus-dem.c (demangle_function_name): Changed to return value
indicating if a name was correctly demangled.
(iterate_demangle_function): Use demangle_function_name return
value.

16 years ago * config.sub, config.guess: Update from upstream sources.
Ben Elliston [Wed, 23 Jan 2008 02:43:51 +0000 (02:43 +0000)]
* config.sub, config.guess: Update from upstream sources.

16 years agoAdd explicit dependencies on yyscript.h to make sure that it is
Ian Lance Taylor [Wed, 23 Jan 2008 02:13:38 +0000 (02:13 +0000)]
Add explicit dependencies on yyscript.h to make sure that it is
built.

16 years agoParse a SECTIONS clause in a linker script.
Ian Lance Taylor [Wed, 23 Jan 2008 01:31:13 +0000 (01:31 +0000)]
Parse a SECTIONS clause in a linker script.

16 years agoInclude <vector>.
Ian Lance Taylor [Tue, 22 Jan 2008 22:50:31 +0000 (22:50 +0000)]
Include <vector>.

16 years agogas/
H.J. Lu [Tue, 22 Jan 2008 19:57:30 +0000 (19:57 +0000)]
gas/

2008-01-22  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (i386_target_format): Remove cpummx2.

gas/testsuite/

2008-01-22  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/arch-10.d: New.
* gas/i386/arch-11.s: Likewise.
* gas/i386/arch-12.d: Likewise.
* gas/i386/arch-12.s: Likewise.

* gas/i386/i386.exp: Run arch-11 and arch-12.

opcodes/

2008-01-22  H.J. Lu  <hongjiu.lu@intel.com>

* i386-gen.c (cpu_flag_init): Remove CpuMMX2.
(cpu_flags): Likewise.

* i386-opc.h (CpuMMX2): Removed.
(CpuSSE): Updated.

* i386-opc.tbl: Replace CpuMMX2 with CpuSSE|Cpu3dnowA.
* i386-init.h: Regenerated.
* i386-tbl.h: Likewise.

16 years ago2008-01-22 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 22 Jan 2008 19:36:58 +0000 (19:36 +0000)]
2008-01-22  H.J. Lu  <hongjiu.lu@intel.com>

* ld-gc/gc.exp: Use [which $CC] != 0.

16 years agogas/
H.J. Lu [Tue, 22 Jan 2008 19:16:45 +0000 (19:16 +0000)]
gas/

2008-01-22  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (XXX_PREFIX): Moved from tc-i386.h.
(XXX_MNEM_SUFFIX): Likewise.
(END_OF_INSN): Likewise.
(templates): Likewise.
(modrm_byte): Likewise.
(rex_byte): Likewise.
(DREX_XXX): Likewise.
(drex_byte): Likewise.
(sib_byte): Likewise.
(processor_type): Likewise.
(arch_entry): Likewise.
(cpu_sub_arch_name): Remove const.
(cpu_arch): Add .vmx and .smx.
(set_cpu_arch): Append cpu_sub_arch_name.
(md_parse_option): Support -march=CPU[,+EXTENSION...].
(md_show_usage): Updated.

* config/tc-i386.h (XXX_PREFIX): Moved to tc-i386.c.
(XXX_MNEM_SUFFIX): Likewise.
(END_OF_INSN): Likewise.
(templates): Likewise.
(modrm_byte): Likewise.
(rex_byte): Likewise.
(DREX_XXX): Likewise.
(drex_byte): Likewise.
(sib_byte): Likewise.
(processor_type): Likewise.
(arch_entry): Likewise.

* doc/as.texinfo: Update i386 -march option.

* doc/c-i386.texi: Update -march= for ISA.

gas/testsuite/

2008-01-22  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/arch-10-1.l: New.
* gas/i386/arch-10-1.s: Likewise.
* gas/i386/arch-10-2.l: Likewise.
* gas/i386/arch-10-2.s: Likewise.
* gas/i386/arch-10-3.l: Likewise.
* gas/i386/arch-10-3.s: Likewise.
* gas/i386/arch-10-4.l: Likewise.
* gas/i386/arch-10-4.s: Likewise.
* gas/i386/arch-10.d: Likewise.
* gas/i386/arch-10.s: Likewise.

* gas/i386/i386.exp: Run arch-10, arch-10-1, arch-10-2,
arch-10-3 and arch-10-4.

* gas/i386/nops-2.s: Use movsbl instead of cmove.
* gas/i386/nops-2-i386.d: Updated.
* gas/i386/nops-2-merom.d: Likewise.
* gas/i386/nops-2.d: Likewise.
* gas/i386/x86-64-nops-2.d: Likewise.

opcodes/

2008-01-22  H.J. Lu  <hongjiu.lu@intel.com>

* i386-gen.c (cpu_flag_init): Add CPU_VMX_FLAGS and
CPU_SMX_FLAGS.
* i386-init.h: Regenerated.

16 years agodaily update
Alan Modra [Mon, 21 Jan 2008 23:00:05 +0000 (23:00 +0000)]
daily update

16 years ago PR 4453
Alan Modra [Mon, 21 Jan 2008 04:56:47 +0000 (04:56 +0000)]
PR 4453
* format.c (bfd_check_format_matches): Don't accept archives as
fully matching unless they have a map.

16 years ago * elflink.c (_bfd_elf_link_output_relocs): Correct error return.
Alan Modra [Mon, 21 Jan 2008 03:53:07 +0000 (03:53 +0000)]
* elflink.c (_bfd_elf_link_output_relocs): Correct error return.

16 years ago * ecoff.c (_bfd_ecoff_archive_p): Delete.
Alan Modra [Mon, 21 Jan 2008 03:48:10 +0000 (03:48 +0000)]
* ecoff.c (_bfd_ecoff_archive_p): Delete.
* libecoff.h (_bfd_ecoff_archive_p): Delete.
* coff-alpha.c (ecoffalpha_little_vec): Use bfd_generic_archive_p.
* coff-mips.c (ecoff_little_vec, ecoff_big_vec): Likewise.
(ecoff_biglittle_vec): Likewise.

16 years agodaily update
Alan Modra [Sun, 20 Jan 2008 23:00:05 +0000 (23:00 +0000)]
daily update

16 years agodaily update
Alan Modra [Sat, 19 Jan 2008 23:00:05 +0000 (23:00 +0000)]
daily update

16 years ago PR 5646
Alan Modra [Sat, 19 Jan 2008 10:07:25 +0000 (10:07 +0000)]
PR 5646
* elf64-ppc.c (ppc64_elf_tls_optimize): Ensure htab->tls_get_addr
non-NULL before dereferencing.

16 years agomerge from gcc
DJ Delorie [Sat, 19 Jan 2008 01:18:42 +0000 (01:18 +0000)]
merge from gcc

16 years agoFrom Craig Silverstein: Optionally print command line for easier
Ian Lance Taylor [Fri, 18 Jan 2008 23:41:31 +0000 (23:41 +0000)]
From Craig Silverstein: Optionally print command line for easier
debugging.

16 years agoFrom Craig Silverstein: Handle quoted strings differently in version
Ian Lance Taylor [Fri, 18 Jan 2008 23:35:09 +0000 (23:35 +0000)]
From Craig Silverstein: Handle quoted strings differently in version
scripts, and handle extern "C++" in the middle of a block.

16 years agoDon't include options.h in fileread.h. Remove General_options
Ian Lance Taylor [Fri, 18 Jan 2008 23:26:48 +0000 (23:26 +0000)]
Don't include options.h in fileread.h.  Remove General_options
reference from Output_file class.

16 years agodaily update
Alan Modra [Fri, 18 Jan 2008 23:00:05 +0000 (23:00 +0000)]
daily update

16 years ago * scripttempl/elfxtensa.sc: Merge ENTRY and .note.gnu.build-id
Bob Wilson [Fri, 18 Jan 2008 22:49:38 +0000 (22:49 +0000)]
* scripttempl/elfxtensa.sc: Merge ENTRY and .note.gnu.build-id
changes from elf.sc.

16 years ago * config/tc-xtensa.c (xtensa_leb128): New function.
Bob Wilson [Fri, 18 Jan 2008 19:13:48 +0000 (19:13 +0000)]
* config/tc-xtensa.c (xtensa_leb128): New function.
(md_pseudo_table): Use it for sleb128 and uleb128.
(is_leb128_expr): New internal flag.
(xtensa_symbol_new_hook): Check new flag.

16 years agobinutils/
H.J. Lu [Thu, 17 Jan 2008 23:48:20 +0000 (23:48 +0000)]
binutils/

2008-01-17  H.J. Lu  <hjl.tools@gmail.com>

* MAINTAINERS: Update my email address.

gdb/

2008-01-17  H.J. Lu  <hjl.tools@gmail.com>

* MAINTAINERS: Update my email address.

16 years agodaily update
Alan Modra [Thu, 17 Jan 2008 23:00:05 +0000 (23:00 +0000)]
daily update

16 years agodaily update
Alan Modra [Wed, 16 Jan 2008 23:00:05 +0000 (23:00 +0000)]
daily update

16 years ago* common.h (AT_SUN_AUXFLAGS): Define.
Mark Kettenis [Wed, 16 Jan 2008 22:01:42 +0000 (22:01 +0000)]
* common.h (AT_SUN_AUXFLAGS): Define.

16 years ago/gas:
Eric B. Weddington [Wed, 16 Jan 2008 17:59:07 +0000 (17:59 +0000)]
/gas:
2008-01-03  Eric B. Weddington  <eric.weddington@atmel.com>

* config/tc-avr.c (mcu_types): Change opcode set for avr3,
at90usb82, at90usb162.
* doc/c-avr.texi: Change architecture grouping for at90usb82,
at90usb162.
These changes support the new avr35 architecture group in gcc.

/include:
2008-01-03  Eric B. Weddington  <eric.weddington@atmel.com>

* opcode/avr.h (AVR_ISA_USB162): Add new opcode set.
(AVR_ISA_AVR3): Likewise.

16 years agoupdate copyright
Alan Modra [Wed, 16 Jan 2008 01:29:42 +0000 (01:29 +0000)]
update copyright

16 years ago * ldlang.c (lang_size_sections_1): Simplify SEC_NEVER_LOAD test.
Alan Modra [Wed, 16 Jan 2008 01:28:21 +0000 (01:28 +0000)]
* ldlang.c (lang_size_sections_1): Simplify SEC_NEVER_LOAD test.

16 years ago * ldlang.h (lang_afile_asection_pair_statement_enum): Delete.
Alan Modra [Wed, 16 Jan 2008 00:31:18 +0000 (00:31 +0000)]
* ldlang.h (lang_afile_asection_pair_statement_enum): Delete.
(lang_afile_asection_pair_statement_type): Delete.
(lang_statement_union_type): Delete afile_asection_pair_statement.
* ldlang.c (lang_insert_orphan): Delete case handling the above.
(map_input_to_output_sections, print_statement): Likewise.

16 years agogas/testsuite/
H.J. Lu [Wed, 16 Jan 2008 00:05:56 +0000 (00:05 +0000)]
gas/testsuite/

2008-01-15  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/prescott.s: Add tests for movddup in Intel syntax.
* gas/i386/x86-64-prescott.s: Likewise.

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

opcodes/

2008-01-15  H.J. Lu  <hongjiu.lu@intel.com>

* i386-opc.tbl: Use Qword on movddup.
* i386-tbl.h: Regenerated.

16 years agoFrom Andrew Chatham and Craig Silverstein: Add support for version
Ian Lance Taylor [Tue, 15 Jan 2008 23:41:28 +0000 (23:41 +0000)]
From Andrew Chatham and Craig Silverstein: Add support for version
scripts.

16 years ago * emulparams/shlelf_linux.sh (DATA_START_SYMBOLS): Use PROVIDE
Kaz Kojima [Tue, 15 Jan 2008 23:05:46 +0000 (23:05 +0000)]
* emulparams/shlelf_linux.sh (DATA_START_SYMBOLS): Use PROVIDE
with __data_start.
* emulparams/shelf_nbsd.sh (DATA_START_SYMBOLS): Likewise.

16 years agodaily update
Alan Modra [Tue, 15 Jan 2008 23:00:05 +0000 (23:00 +0000)]
daily update

16 years agogas/
H.J. Lu [Tue, 15 Jan 2008 18:50:44 +0000 (18:50 +0000)]
gas/

2008-01-15  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (md_assemble): Also zap movzx and movsx
suffix for AT&T syntax.

gas/testsuite/

2008-01-15  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/i386.s: Add more tests for movsx and movzx.
* gas/i386/x86_64.s: Likewise.

* gas/i386/inval.s: Remove tests for movsxw and movzxw.

* gas/i386/x86-64-inval.s: Remove tests for movsxb, movsxw,
movsxl, movzxb and movzxw.

* gas/i386/i386.d: Updated.
* gas/i386/inval.l: Likewise.
* gas/i386/x86_64.d: Likewise.
* gas/i386/x86-64-inval.l: Likewise.

opcodes/

2008-01-15  H.J. Lu  <hongjiu.lu@intel.com>

* i386-opc.tbl: Put back 16bit movsx/movzx for AT&T syntax.
* i386-tbl.h: Regenerated.

16 years ago2008-01-15 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 15 Jan 2008 17:20:50 +0000 (17:20 +0000)]
2008-01-15  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (Mx): New.
(PREFIX_0FC3): Likewise.
(PREFIX_0FC7_REG_6): Updated.
(dis386_twobyte): Use PREFIX_0FC3.
(prefix_table): Add PREFIX_0FC3.  Use Mq on movntq and movntsd.
Use Mx on movntps, movntpd, movntdq and movntdqa.  Use Md on
movntss.

16 years agobfd/
Alan Modra [Tue, 15 Jan 2008 07:25:49 +0000 (07:25 +0000)]
bfd/
PR 5604
* elf-bfd.h (struct elf_backend_data): Add gc_keep.  Remove param
names from others.
(_bfd_elf_gc_keep): Declare.
* elfxx-target.h (elf_backend_gc_keep): Define.
(elfNN_bed): Init new field.
* elflink.c (_bfd_elf_gc_keep): New function.
(bfd_elf_gc_sections): Call gc_keep.
* elf64-ppc.c (elf_backend_gc_keep): Define.
(struct _ppc64_elf_section_data): Move .opd related fields to
a struct so they don't occupy the same storage.  Adjust accesses
throughout file.
(ppc64_elf_gc_keep): New function, split out from..
(ppc64_elf_gc_mark_hook): ..here.  Don't call _bfd_elf_gc_mark
to mark .opd section, just set gc_mark.
(ppc64_elf_edit_opd): Remove no_opd_opt parm.  Don't set opd->adjust
unless we are changing .opd.  Test non-NULL opd->adjust at all
accesses throughout file.
* elf64-ppc.h (ppc64_elf_edit_opd): Update prototype.
ld/
PR 5604
* ldlang.c (lang_gc_sections): Move code to set SEC_KEEP on entry
syms to _bfd_elf_gc_keep.
* emultempl/ppc64elf.em (ppc_before_allocation): Don't call
ppc64_elf_edit_opd if no_opd_opt.

16 years agogas/
H.J. Lu [Tue, 15 Jan 2008 01:37:56 +0000 (01:37 +0000)]
gas/

2008-01-14  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (match_reg_size): New.
(match_mem_size): Likewise.
(operand_size_match): Likewise.
(operand_type_match): Also clear all size fields.
(match_template): Skip Intel syntax when in AT&T syntax.
Call operand_size_match to check operand size.
(i386_att_operand): Set the mem field to 1 for memory
operand.
(i386_intel_operand): Likewise.

gas/testsuite/

2008-01-14  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/i386.s: Add tests for movsx, movzx and movnti.
* gas/i386/inval.s: Likewise.
* gas/i386/x86_64.s: Likewise.
* gas/i386/x86-64-inval.s: Likewise.

* gas/i386/i386.d: Updated.
* gas/i386/inval.l: Likewise.
* gas/i386/x86_64.d: Likewise.
* gas/i386/x86-64-inval.l: Likewise.

opcodes/

2008-01-14  H.J. Lu  <hongjiu.lu@intel.com>

* i386-gen.c (opcode_modifiers): Add IntelSyntax.
(operand_types): Add Mem.

* i386-opc.h (IntelSyntax): New.
* i386-opc.h (Mem): New.
(Byte): Updated.
(Opcode_Modifier_Max): Updated.
(i386_opcode_modifier): Add intelsyntax.
(i386_operand_type): Add mem.

* i386-opc.tbl: Remove Reg16 from movnti.  Add sizes to more
instructions.

* i386-reg.tbl: Add size for accumulator.

* i386-init.h: Regenerated.
* i386-tbl.h: Likewise.

16 years ago * bfd-in.h (BFD_HOST_LONG_LONG): Delete.
Alan Modra [Tue, 15 Jan 2008 00:54:22 +0000 (00:54 +0000)]
* bfd-in.h (BFD_HOST_LONG_LONG): Delete.
* bfd-in2.h: Regenerate.

16 years agodaily update
Alan Modra [Mon, 14 Jan 2008 23:00:05 +0000 (23:00 +0000)]
daily update

16 years ago * ld-gc/gc.exp (test_gc): Let missing C compiler make tests
Hans-Peter Nilsson [Mon, 14 Jan 2008 19:52:43 +0000 (19:52 +0000)]
* ld-gc/gc.exp (test_gc): Let missing C compiler make tests
"untested" instead of "failed".

16 years ago (DEBUG_INFO_UNAVAILABLE): Value stored in num_debug_info_entries
Nick Clifton [Mon, 14 Jan 2008 14:53:47 +0000 (14:53 +0000)]
    (DEBUG_INFO_UNAVAILABLE): Value stored in num_debug_info_entries
        when the .debug_info section could not be loaded/parsed.
        (process_debug_info): Display the length of the compilation unit
        in hex, so that it corresponds with the offsets that will follow.
        Tell the user if the length was 32-bit or 64-bit.
        If a DIE abbreviation could not be found, tell the user the offset
        of the DIE.
        (free_debug_memory): Do not attempt to free any entries in the
        debug_information array if num_debug_info_entries is set to
        DEBUG_INFO_UNAVAILABLE.

16 years ago * dwarf.c (process_debug_info): Include the CU offset and corrupt
Nick Clifton [Mon, 14 Jan 2008 12:26:57 +0000 (12:26 +0000)]
    * dwarf.c (process_debug_info): Include the CU offset and corrupt
        version value when reporting unrecognised DWARF version numbers.
        (load_debug_info): Remember a failed attempt to load and parse the
        .debug_info section and do not repeat such attempts.
        (display_debug_lines): Check the return value from load_debug_info
        and return whilst displaying a warning message if the load failed.
        (display_debug_loc): Likewise.
        (display_debug_ranges): Likewise.

16 years ago2008-01-13 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 14 Jan 2008 05:15:06 +0000 (05:15 +0000)]
2008-01-13  H.J. Lu  <hongjiu.lu@intel.com>

* i386-opc.h (Byte): Fix a typo.

16 years agodaily update
Alan Modra [Sun, 13 Jan 2008 23:00:05 +0000 (23:00 +0000)]
daily update