summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* From Andrew Chatham and Craig Silverstein: Add support for versionIan Lance Taylor2008-01-1520-106/+1017
| | | | scripts.
* * emulparams/shlelf_linux.sh (DATA_START_SYMBOLS): Use PROVIDEKaz Kojima2008-01-153-2/+8
| | | | | with __data_start. * emulparams/shelf_nbsd.sh (DATA_START_SYMBOLS): Likewise.
* daily updateAlan Modra2008-01-151-1/+1
|
* gas/H.J. Lu2008-01-1514-114/+238
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* 2008-01-15 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2008-01-152-9/+29
| | | | | | | | | | * 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.
* bfd/Alan Modra2008-01-159-152/+180
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* gas/H.J. Lu2008-01-1517-5641/+6015
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* * bfd-in.h (BFD_HOST_LONG_LONG): Delete.Alan Modra2008-01-153-2/+5
| | | | * bfd-in2.h: Regenerate.
* daily updateAlan Modra2008-01-141-1/+1
|
* * ld-gc/gc.exp (test_gc): Let missing C compiler make testsHans-Peter Nilsson2008-01-142-1/+13
| | | | "untested" instead of "failed".
* (DEBUG_INFO_UNAVAILABLE): Value stored in num_debug_info_entriesNick Clifton2008-01-142-16/+33
| | | | | | | | | | | | 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.
* * dwarf.c (process_debug_info): Include the CU offset and corruptNick Clifton2008-01-142-6/+39
| | | | | | | | | | 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.
* 2008-01-13 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2008-01-142-1/+5
| | | | * i386-opc.h (Byte): Fix a typo.
* daily updateAlan Modra2008-01-131-1/+1
|
* daily updateAlan Modra2008-01-121-1/+1
|
* gas/testsuite/H.J. Lu2008-01-1222-8519/+11684
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-01-12 H.J. Lu <hongjiu.lu@intel.com> PR gas/5534 * gas/i386/i386.s: Add tests for fnstsw and fstsw. * gas/i386/inval.s: Likewise. * gas/i386/x86_64.s: Likewise. * gas/i386/intel.s: Use word instead of dword on ss. * gas/i386/x86-64-inval.s: Add tests for fnstsw, fstsw, in and out. * gas/i386/prefix.s: Remove invalid fstsw. * gas/i386/inval.l: Updated. * gas/i386/intelbad.l: Likewise. * gas/i386/i386.d: Likewise. * gas/i386/x86_64.d: Likewise. * gas/i386/x86-64-inval.l: Likewise. * gas/i386/prefix.d: Updated. gas/ 2008-01-12 H.J. Lu <hongjiu.lu@intel.com> PR gas/5534 * config/tc-i386.c (_i386_insn): Update comment. (operand_type_match): Also clear unspecified. (operand_type_register_match): Likewise. (parse_operands): Initialize unspecified. (i386_intel_operand): Likewise. (match_template): Check memory and accumulator operand size. (i386_att_operand): Clear unspecified on register operand. (intel_e11): Likewise. (intel_e09): Set operand size and clean unspecified for "XXX PTR". opcodes/ 2008-01-12 H.J. Lu <hongjiu.lu@intel.com> PR gas/5534 * i386-gen.c (operand_type_init): Add Dword to OPERAND_TYPE_ACC32. Add Qword to OPERAND_TYPE_ACC64. (opcode_modifiers): Remove CheckSize, Byte, Word, Dword, Qword and Xmmword. (operand_types): Add Byte, Word, Dword, Fword, Qword, Tbyte, Xmmword, Unspecified and Anysize. (set_bitfield): Make Mmword an alias of Qword. Make Oword an alias of Xmmword. * i386-opc.h (CheckSize): Removed. (Byte): Updated. (Word): Likewise. (Dword): Likewise. (Qword): Likewise. (Xmmword): Likewise. (FWait): Updated. (OTMax): Likewise. (i386_opcode_modifier): Remove checksize, byte, word, dword, qword and xmmword. (Fword): New. (TBYTE): Likewise. (Unspecified): Likewise. (Anysize): Likewise. (i386_operand_type): Add byte, word, dword, fword, qword, tbyte xmmword, unspecified and anysize. * i386-opc.tbl: Updated to use Byte, Word, Dword, Fword, Qword, Tbyte, Xmmword, Unspecified and Anysize. * i386-reg.tbl: Add size for accumulator. * i386-init.h: Regenerated. * i386-tbl.h: Likewise.
* daily updateAlan Modra2008-01-111-1/+1
|
* * read.c (s_space): Declare `repeat' as offsetT.Andreas Schwab2008-01-112-1/+5
|
* ld:Tristan Gingold2008-01-1112-17/+141
| | | | | | | | | | | | | | | | | | | | | | | | 2008-01-11 Tristan Gingold <gingold@adacore.com> Eric Botcazou <ebotcazou@adacore.com> * ldlang.c (lang_end): Warns if the entry point is not found when --gc-sections. Emit an error if no root is specified when --gc-sections -r. * ld.texinfo (Options): Document that --gc-sections is compatible with -r and -q. * ldmain.c (main): Do not error out if -r and --gc-sections. * scripttempl/elf.sc: Emit ENTRY command only if relocating. ld/testsuite: 2008-01-11 Tristan Gingold <gingold@adacore.com> * lib/ld-lib.exp (check_gc_sections_available): Now available on VxWorks. * ld-gc: New directory for testing --gc-sections. * ld-gc/gc.c: New file. * ld-gc/gc.exp: New file. * ld-gc/noent.s: New file. * ld-gc/noent.d: New file.
* 2008-01-11 Tristan Gingold <gingold@adacore.com>Tristan Gingold2008-01-1118-2/+71
| | | | | | | | | | | | | | | | | | | | | | | | Eric Botcazou <ebotcazou@adacore.com> * elf32-ppc.c (ppc_elf_gc_sweep_hook): Exit early if generating a relocatable. * elf32-arm.c (elf32_arm_gc_sweep_hook): Likewise. * elf32-cris.c (cris_elf_gc_sweep_hook): Likewise. * elf32-hppa.c (elf32_hppa_gc_sweep_hook): Likewise. * elf32-i386.c (elf_i386_gc_sweep_hook): Likewise. * elf32-m32r.c (m32r_elf_gc_sweep_hook): Likewise. * elf32-m68k.c (elf_m68k_gc_sweep_hook): Likewise. * elf32-s390.c (elf_s390_gc_sweep_hook): Likewise. * elf32-sh.c (sh_elf_gc_sweep_hook): Likewise. * elf32-vax.c (elf_vax_gc_sweep_hook): Likewise. * elf32-xtensa.c (elf_xtensa_gc_sweep_hook): Likewise. * elf64-x86-64.c (elf64_x86_64_gc_sweep_hook): Likewise. * elf64-s390.c (elf_s390_gc_sweep_hook): Likewise. * elf64-ppc.c (ppc64_elf_gc_sweep_hook): Likewise. * elfxx-mips.c (_bfd_mips_elf_gc_sweep_hook): Likewise. * elfxx-sparc.c (_bfd_sparc_elf_gc_sweep_hook): Likewise. * elflink.c (bfd_elf_gc_sections): Do not punt on relocatable output or executable output with relocations.
* daily updateAlan Modra2008-01-101-1/+1
|
* 2008-01-10 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2008-01-102-4/+11
| | | | | * config/tc-i386.c (match_template): Check processor support first.
* 2008-01-10 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2008-01-102-6/+9
| | | | | * config/tc-i386.c (match_template): Continue if processor doesn't match.
* gas/testsuite/H.J. Lu2008-01-107-60/+229
| | | | | | | | | | | | | | | | | | | | | 2008-01-10 H.J. Lu <hongjiu.lu@intel.com> * gas/i386/nops.s: Add more tests with opcodes from 0x0f19 to 0x0f1f. * gas/i386/x86-64-nops.s: Likewise. * gas/i386/nops.d: Updated. * gas/i386/x86-64-nops.d: Likewise. opcodes/ 2008-01-10 H.J. Lu <hongjiu.lu@intel.com> * i386-dis.c (REG_0F0E): Renamed to REG_0F0D. (REG_0F18): Updated. (reg_table): Updated. (dis386_twobyte): Updated. Use "nopQ" on 0x19 to 0x1e. (twobyte_has_modrm): Set 1 for 0x19 to 0x1e.
* PR ld/5533Nick Clifton2008-01-102-1/+8
| | | | | | * ldlang.c (lang_end): Issue a warning for a missing start symbol of a shared library if the symbol was specified on the command line.
* * readelf.c (is_64bit_abs_reloc): Handle R_S390_64.Andreas Schwab2008-01-102-0/+7
|
* * ld.texinfo (--gc-sections): Describe linker behaviour.Alan Modra2008-01-102-0/+14
|
* daily updateAlan Modra2008-01-091-1/+1
|
* * config/tc-ia64.c (ia64_convert_frag): Zero-initialize room forAlexandre Oliva2008-01-092-1/+10
| | | | unwind personality function address.
* Support assignments and expressions in linker scripts.Ian Lance Taylor2008-01-0921-427/+1859
|
* Remove Andrew's e-mail address.Ian Lance Taylor2008-01-091-1/+1
|
* gas/Bob Wilson2008-01-098-78/+183
| | | | | | | | | | | | | | | | | | | * dwarf2dbg.c (out_sleb128): Delete. (size_fixed_inc_line_addr, emit_fixed_inc_line_addr): New. (out_fixed_inc_line_addr): Delete. (relax_inc_line_addr, dwarf2dbg_estimate_size_before_relax): Call new size_fixed_inc_line_addr if DWARF2_USE_FIXED_ADVANCE_PC is set. (dwarf2dbg_convert_frag): Likewise for emit_fixed_inc_line_addr. (process_entries): Remove calls to out_fixed_inc_line_addr. When DWARF2_USE_FIXED_ADVANCE_PC is set, call relax_inc_line_addr. * read.h (emit_expr_fix): New prototype. * read.c (emit_expr): Move code to emit_expr_fix and use it here. (emit_expr_fix): New. testsuite/ * gas/lns/lns.exp: Run new lns-big-delta test for targets that set DWARF2_USE_FIXED_ADVANCE_PC. * gas/lns/lns-big-delta.s: New. * gas/lns/lns-big-delta.d: New.
* 2008-01-09 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2008-01-092-29/+32
| | | | | * config/tc-i386.c (match_template): Check register size only when size of operands can be encoded the canonical way.
* PR gas/5552Nick Clifton2008-01-092-8/+14
| | | | * elf32-fr30.c (fr30_elf_howto_table): Set partial_inplace field to FALSE for all relocs.
* PR binutils/55326Nick Clifton2008-01-094-13/+40
| | | | | | * bucomm.c (list_supported_architectures): Free architecture list after use. * windres.c (set_endianess): Likewise. * windmc.c (set_endianess): Likewise.
* bfd/Richard Sandiford2008-01-096-165/+250
| | | | | | | | | | | | | | | | | | | | | | | | | | | PR ld/5526 * elf-bfd.h (eh_cie_fde): Add u.cie.u.full_cie and u.cie.merged fields. Rename u.cie.u.merged to u.cie.u.merged_with. (eh_frame_sec_info): Add a cies field. (eh_frame_hdr_info): Add a merge_cies field. * elf-eh-frame.c (cie): Add a reloc_index member to the personality union. (_bfd_elf_begin_eh_frame_parsing): Set hdr_info->merge_cies instead of hdr_info->cies. (_bfd_elf_parse_eh_frame): Remove tmp_cie. Ccreate an array of cie structures in all cases and use it instead of extended_cies. If merging, store the cie array in sec_info->cies and point each CIE's eh_fde_cie at the associated element. Do not try to calculate the value of the personality routine here; record the offset of the relocation instead. Do not merge CIEs here. (_bfd_elf_end_eh_frame_parsing): Do not free hdr_info->cies here... (_bfd_elf_discard_section_eh_frame_hdr): ...do it here instead. (_bfd_elf_gc_mark_fdes): Mark the original (unmerged) CIE. (find_merged_cie): New function. (_bfd_elf_gc_mark_fdes): Use it. Free sec_info->cies. ld/testsuite/ PR ld/5526 * ld-elf/eh6.s, ld-elf/eh6.d: New test.
* 2008-01-08 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2008-01-092-3/+5
| | | | * i386-gen.c (set_bitfield): Use fail () on error.
* daily updateAlan Modra2008-01-081-1/+1
|
* 2008-01-08 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2008-01-082-3/+24
| | | | | | | | * i386-gen.c (lineno): New. (filename): Likewise. (set_bitfield): Report filename and line numer on error. (process_i386_opcodes): Set filename and update lineno. (process_i386_registers): Likewise.
* 2008-01-08 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2008-01-082-3/+9
| | | | | | * config/tc-i386.c (i386_operand): Renamed to ... (i386_att_operand): This. (parse_operands): Updated.
* * futex.m4: New file.Jakub Jelinek2008-01-082-0/+68
|
* binutils/rclex.c: (yylex): Add ':', '_', '\\', and '/' to post charactersKai Tietz2008-01-082-1/+10
| | | | for name tokens. PR/5529.
* PR gas/5322Nick Clifton2008-01-082-1/+8
| | | | * lib/gas-defs.exp (gas_host_run): Add fourth argument to regsub command.
* * config.sub, config.guess: Update from upstream sources.Ben Elliston2008-01-073-11/+18
|
* * prdbg.c (print_vma): Print as long long, if host supports it.Greg McGary2008-01-072-1/+16
|
* daily updateAlan Modra2008-01-071-1/+1
|
* PR binutils/5535Nick Clifton2008-01-072-1/+8
| | | | | * vms.c (vms_close_and_cleanup): Check for the presence of a vms_private_data_struct before examining any of its fields.
* bfd/H.J. Lu2008-01-077-1197/+1239
| | | | | | | | | | | | | | | | | 2008-01-07 H.J. Lu <hongjiu.lu@intel.com> PR ld/5522 * elflink.c (elf_link_input_bfd): Don't write out a section if its output section is marked with SEC_NEVER_LOAD. ld/testsuite/ 2008-01-07 H.J. Lu <hongjiu.lu@intel.com> PR ld/5522 * ld-elf/noload-3.d: New file. * ld-elf/noload-3.s: Likewise. * ld-elf/noload-3.t: Likewise.
* Report linker script errors with line numbers. Ignore OUTPUT_FORMATIan Lance Taylor2008-01-075-32/+62
| | | | with three arguments, and ignore OUTPUT_ARCH.
* daily updateAlan Modra2008-01-061-1/+1
|