summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* gas/Richard Sandiford2013-02-0918-45/+1278
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2013-02-09 Jürgen Urban <JuergenUrban@gmx.de> * config/tc-mips.c (CPU_HAS_LDC1_SDC1): New macro. (macro): Use it. Assert that trunc.w.s is not used for r5900. opcodes/ 2013-02-09 Jürgen Urban <JuergenUrban@gmx.de> * mips-opc.c (mips_builtin_opcodes): Enable l.d and s.d macros for single-float. Disable ll, lld, sc and scd for EE. Disable the trunc.w.s macro for EE. gas/testsuite/ 2013-02-09 Jürgen Urban <JuergenUrban@gmx.de> * gas/mips/24k-triple-stores-2.d, gas/mips/24k-triple-stores-2.s, gas/mips/micromips@24k-triple-stores-2.d: Move "sc" tests to... * gas/mips/24k-triple-stores-2-llsc.d, gas/mips/24k-triple-stores-2-llsc.s, gas/mips/micromips@24k-triple-stores-2-llsc.d: ...these new tests. * gas/mips/r5900-full.d, gas/mips/r5900-full.s: Verify that the MIPS ISA level can be upgraded to support ll, sc, lld and scd. * gas/mips/l_d-single.d, gas/mips/s_d-single.d, gas/mips/r5900-nollsc.l, gas/mips/r5900-nollsc.s: New tests. * gas/mips/mips.exp: Update accordingly. Add "nollsc" to r5900 properties.
* daily updateAlan Modra2013-02-081-1/+1
|
* oops - omitted for previous delta.Nick Clifton2013-02-081-0/+5
|
* * emultempl/metagelf.em (build_section_lists): Use sec_info_typeNick Clifton2013-02-082-1/+6
| | | | rather than userdata->flags.just_syms.
* (elf_metag_adjust_dynamic_symbol): Don't error on zero size dynbss symbol.Nick Clifton2013-02-082-8/+3
|
* * elf32-metag.c: Use bfd_get_linker_section to get SEC_LINKER_CREATED sections.Nick Clifton2013-02-082-8/+13
|
* Fix snafu.Nick Clifton2013-02-081-1/+1
|
* * gas/config/tc-arm.c (arm_cpus): Add support for mcpu=marvell-pj4 core.Nick Clifton2013-02-082-5/+11
|
* bfd/Yufeng Zhang2013-02-082-1/+6
| | | | | | | 2013-02-08 Yufeng Zhang <yufeng.zhang@arm.com> * elf64-aarch64.c (elf64_aarch64_grok_prstatus): Change 'size' from 288 to 272.
* * gas/nios2/nios2.exp: Add copyright.Alan Modra2013-02-082-17/+25
| | | | (run_list_test): Delete. Adjust callers to use standard version.
* PR binutils/15106Alan Modra2013-02-083-23/+41
| | | | | | * elf-bfd.h (struct elf_obj_tdata): Add elf_find_function_cache. * elf.c (elf_find_function): Revert last change. Use new tdata field rather than static vars for cache.
* Set STB_GNU_UNIQUE only if symbol is defined in regular objectH.J. Lu2013-02-084-2/+14
| | | | | | | | | | | | | bfd/ PR ld/15107 * elflink.c (elf_link_output_extsym): Set STB_GNU_UNIQUE only if symbol is defined in regular object. ld/testsuite/ PR ld/15107 * ld-unique/unique_empty.s: Add reference to "b".
* daily updateAlan Modra2013-02-071-1/+1
|
* * elfcomm.c (get_archive_member_name): Prevent seg-fault if aNick Clifton2013-02-071-0/+6
| | | | corrupt archive uses long names but has no long name table.
* merge from gccDJ Delorie2013-02-072-3/+6
|
* PR binutils/15106Alan Modra2013-02-072-0/+8
| | | | * elf.c (elf_find_function): Don't cache if symbols change.
* PR binutils/14873Alan Modra2013-02-072-0/+10
| | | | | * elf-attrs.c (_bfd_elf_copy_obj_attributes): Don't attempt to copy attributes from or to non-ELF.
* Don't resolve size relocation against non-zero TLS symbolH.J. Lu2013-02-0712-84/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | bfd/ * elf32-i386.c (elf_i386_allocate_dynrelocs): Don't clear pc_count for non-zero TLS symbol. (elf_i386_relocate_section): Don't resolve size relocation against non-zero TLS symbol. * elf64-x86-64.c (elf_x86_64_allocate_dynrelocs): Don't clear pc_count for non-zero TLS symbol. (elf_x86_64_relocate_section): Don't resolve size relocation against non-zero TLS symbol. ld/testsuite/ * ld-size/size-10.rd: Updated. * ld-size/size-8.rd: Likewise. * ld-size/size32-2-i386.d: Likewise. * ld-size/size32-2-x32.d: Likewise. * ld-size/size32-2-x86-64.d: Likewise. * ld-size/size64-2-x32.d: Likewise. * ld-size/size64-2-x86-64.d: Likewise. * ld-size/size.exp (run_time_tests): Pass --hash-styl=gnu to linker for size-8 test.
* 2013-02-06 Sandra Loosemore <sandra@codesourcery.com>Sandra Loosemore2013-02-06176-4/+13183
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Andrew Jenner <andrew@codesourcery.com> Based on patches from Altera Corporation. bfd/ * Makefile.am (ALL_MACHINES): Add cpu-nios2.lo. (ALL_MACHINES_CFILES): Add cpu-nios2.c. (BFD_BACKENDS): Add elf32-nios2.lo. (BFD32_BACKENDS_CFILES): Add elf32-nios2.c. * Makefile.in: Regenerated. * configure.in: Add entries for bfd_elf32_bignios2_vec and bfd_elf32_littlenios2_vec. * configure: Regenerated. * config.bfd: Add cases for nios2. * archures.c (enum bfd_architecture): Add bfd_arch_nios2. (bfd_mach_nios2): Define. (bfd_nios2_arch): Declare. (bfd_archures_list): Add bfd_nios2_arch. * targets.c (bfd_elf32_bignios2_vec): Declare. (bfd_elf32_littlenios2_vec): Declare. (_bfd_target_vector): Add entries for bfd_elf32_bignios2_vec and bfd_elf32_littlenios2_vec. * elf-bfd.h (enum elf_target_id): Add NIOS2_ELF_DATA. * reloc.c (enum bfd_reloc_code_real): Add Nios II relocations. * bfd-in2.h: Regenerated. * libbfd.h: Regenerated. * cpu-nios2.c: New file. * elf32-nios2.c: New file. opcodes/ * Makefile.am (TARGET_LIBOPCODES_CFILES): Add nios2-dis.c and nios2-opc.c. * Makefile.in: Regenerated. * configure.in: Add case for bfd_nios2_arch. * configure: Regenerated. * disassemble.c (ARCH_nios2): Define. (disassembler): Add case for bfd_arch_nios2. * nios2-dis.c: New file. * nios2-opc.c: New file. include/ * dis-asm.h (print_insn_big_nios2): Declare. (print_insn_little_nios2): Declare. include/elf * nios2.h: New file. include/opcode/ * nios2.h: New file. gas/ * Makefile.am (TARGET_CPU_CFILES): Add config/tc-nios2.c. (TARGET_CPU_HFILES): Add config/tc-nios2.h. * Makefile.in: Regenerated. * configure.tgt: Add case for nios2*-linux*. * config/obj-elf.c: Conditionally include elf/nios2.h. * config/tc-nios2.c: New file. * config/tc-nios2.h: New file. * doc/Makefile.am (CPU_DOCS): Add c-nios2.texi. * doc/Makefile.in: Regenerated. * doc/all.texi: Set NIOSII. * doc/as.texinfo (Overview): Add Nios II options. (Machine Dependencies): Include c-nios2.texi. * doc/c-nios2.texi: New file. * NEWS: Note Altera Nios II support. gas/testsuite/ * gas/nios2/add.d: New. * gas/nios2/add.s: New. * gas/nios2/align_fill.d: New. * gas/nios2/align_fill.s: New. * gas/nios2/align_text.d: New. * gas/nios2/align_text.s: New. * gas/nios2/and.d: New. * gas/nios2/and.s: New. * gas/nios2/branch.d: New. * gas/nios2/branch.s: New. * gas/nios2/break.d: New. * gas/nios2/break.s: New. * gas/nios2/bret.d: New. * gas/nios2/bret.s: New. * gas/nios2/cache.d: New. * gas/nios2/cache.s: New. * gas/nios2/call26.d: New. * gas/nios2/call26.s: New. * gas/nios2/call.d: New. * gas/nios2/call.s: New. * gas/nios2/cmp.d: New. * gas/nios2/cmp.s: New. * gas/nios2/comments.d: New. * gas/nios2/comments.s: New. * gas/nios2/complex.d: New. * gas/nios2/complex.s: New. * gas/nios2/ctl.d: New. * gas/nios2/ctl.s: New. * gas/nios2/custom.d: New. * gas/nios2/custom.s: New. * gas/nios2/etbt.d: New. * gas/nios2/etbt.s: New. * gas/nios2/flushda.d: New. * gas/nios2/flushda.s: New. * gas/nios2/illegal.l: New. * gas/nios2/illegal.s: New. * gas/nios2/jmp.d: New. * gas/nios2/jmp.s: New. * gas/nios2/ldb.d: New. * gas/nios2/ldb.s: New. * gas/nios2/ldh.d: New. * gas/nios2/ldh.s: New. * gas/nios2/ldw.d: New. * gas/nios2/ldw.s: New. * gas/nios2/lineseparator.d: New. * gas/nios2/lineseparator.s: New. * gas/nios2/mov.d: New. * gas/nios2/movia.d: New. * gas/nios2/movia.s: New. * gas/nios2/movi.d: New. * gas/nios2/movi.s: New. * gas/nios2/mov.s: New. * gas/nios2/mul.d: New. * gas/nios2/mul.s: New. * gas/nios2/nios2.exp: New. * gas/nios2/nor.d: New. * gas/nios2/nor.s: New. * gas/nios2/or.d: New. * gas/nios2/or.s: New. * gas/nios2/ret.d: New. * gas/nios2/ret.s: New. * gas/nios2/rol.d: New. * gas/nios2/rol.s: New. * gas/nios2/rotate.d: New. * gas/nios2/rotate.s: New. * gas/nios2/stb.d: New. * gas/nios2/stb.s: New. * gas/nios2/sth.d: New. * gas/nios2/sth.s: New. * gas/nios2/stw.d: New. * gas/nios2/stw.s: New. * gas/nios2/sub.d: New. * gas/nios2/sub.s: New. * gas/nios2/sync.d: New. * gas/nios2/sync.s: New. * gas/nios2/trap.d: New. * gas/nios2/trap.s: New. * gas/nios2/tret.d: New. * gas/nios2/tret.s: New. * gas/nios2/warn_noat.l: New. * gas/nios2/warn_noat.s: New. * gas/nios2/warn_nobreak.l: New. * gas/nios2/warn_nobreak.s: New. * gas/nios2/xor.d: New. * gas/nios2/xor.s: New. ld/ * Makefile.am (enios2elf.c): New rule. * Makefile.in: Regenerated. * configure.tgt: Add case for nios2*-*-*. * emulparams/nios2elf.sh: New file. * NEWS: Note Altera Nios II support. ld/testsuite/ * ld-nios2/emit-relocs-1a.s: New. * ld-nios2/emit-relocs-1b.s: New. * ld-nios2/emit-relocs-1.d: New. * ld-nios2/emit-relocs-1.ld: New. * ld-nios2/gprel.d: New. * ld-nios2/gprel.s: New. * ld-nios2/hilo16.d: New. * ld-nios2/hilo16.s: New. * ld-nios2/hilo16_symbol.s: New. * ld-nios2/imm5.d: New. * ld-nios2/imm5.s: New. * ld-nios2/imm5_symbol.s: New. * ld-nios2/nios2.exp: New. * ld-nios2/pcrel16.d: New. * ld-nios2/pcrel16_label.s: New. * ld-nios2/pcrel16.s: New. * ld-nios2/relax_callr.d: New. * ld-nios2/relax_callr.ld: New. * ld-nios2/relax_callr.s: New. * ld-nios2/relax_cjmp.d: New. * ld-nios2/relax_cjmp.s: New. * ld-nios2/relax_jmp.ld: New. * ld-nios2/relax_section.d: New. * ld-nios2/relax_section.s: New. * ld-nios2/relax_ujmp.d: New. * ld-nios2/relax_ujmp.s: New. * ld-nios2/reloc.d: New. * ld-nios2/reloc.s: New. * ld-nios2/reloc_symbol.s: New. * ld-nios2/s16.d: New. * ld-nios2/s16.s: New. * ld-nios2/s16_symbol.s: New. * ld-nios2/u16.d: New. * ld-nios2/u16.s: New. * ld-nios2/u16_symbol.s: New. * ld-elf/indirect.exp: Skip on targets that don't support -shared -fPIC. * ld-elfcomm/elfcomm.exp: Build with -G0 for nios2. * ld-plugin/lto.exp: Skip shared library tests on targets that don't support them. Skip execution tests on non-native targets. binutils/ * readelf.c: Include elf/nios2.h. (dump_relocations): Add case for EM_ALTERA_NIOS2. (get_nios2_dynamic_type): New. (get_dynamic_type): Add case for EM_ALTERA_NIOS2. (is_32bit_abs_reloc): Fix EM_ALTERA_NIOS2 case. (is_16bit_abs_reloc): Likewise. (is_none_reloc): Add EM_ALTERA_NIOS2 and EM_NIOS32 cases. * NEWS: Note Altera Nios II support. * MAINTAINERS: Add Nios II maintainers.
* daily updateAlan Modra2013-02-061-1/+1
|
* Add tests for ELF DT_XXXH.J. Lu2013-02-069-0/+79
| | | | | | | | | | | * ld-elf/now-1.d: New file. * ld-elf/now-2.d: Likewise. * ld-elf/now-3.d: Likewise. * ld-elf/now-4.d: Likewise. * ld-elf/rpath-1.d: Likewise. * ld-elf/rpath-2.d: Likewise. * ld-elf/runpath-1.d: Likewise. * ld-elf/runpath-2.d: Likewise.
* * README: Update coding style link.Alan Modra2013-02-062-1/+5
|
* * elf32-arm.c (elf32_arm_final_link_relocate): Only test forAlan Modra2013-02-052-1/+7
| | | | stubs in stub_bfd.
* PR gas/14255Alan Modra2013-02-053-27/+17
| | | | | | | * config/tc-avr.h (TC_VALIDATE_FIX): Mark symbol used by reloc. Don't skip fixups with fx_subsy non-NULL. * config/tc-avr.c (tc_gen_reloc): Don't specially handle fixups with fx_subsy non-NULL.
* daily updateAlan Modra2013-02-051-1/+1
|
* PR go/55969Ian Lance Taylor2013-02-053-0/+41
| | | | | | * configure.ac: Disable libgo on some systems where it does not work. * configure: Rebuild.
* * emultempl/avrelf.em (avr_elf_before_parse): New function.Alan Modra2013-02-052-0/+15
| | | | (LDEMUL_BEFORE_PARSE): Define.
* Revert 2013-02-04, 2013-01-22 and 2013-01-21 changes.Alan Modra2013-02-0518-121/+34
|
* * Makefile.am (SOURCE_HFILES): Add `elf-linux-psinfo.h'.Alan Modra2013-02-053-2/+7
| | | | * Makefile.in: Regenerate.
* Don't enable new dtags by default with -rpathH.J. Lu2013-02-0517-11/+147
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ld/ 2013-02-04 H.J. Lu <hongjiu.lu@intel.com> PR ld/15096 * emultempl/alphaelf.em (alpha_after_parse): Call gld${EMULATION_NAME}_after_parse instead of after_parse_default. * emultempl/cr16elf.em (cr16elf_after_parse): Likewise. * emultempl/crxelf.em (crxelf_after_parse): Likewise. * emultempl/hppaelf.em (hppaelf_after_parse): Likewise. * emultempl/mipself.em (mips_after_parse): Likewise. * emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse): Renamed to ... (gld_${EMULATION_NAME}_after_parse): This. Call gld${EMULATION_NAME}_after_parse instead of after_parse_default. (LDEMUL_AFTER_PARSE): Set to gld_${EMULATION_NAME}_after_parse. * emultempl/elf32.em (new_dtags_set): New variable. (gld${EMULATION_NAME}_before_parse): Don't set link_info.new_dtags here. (gld${EMULATION_NAME}_after_parse): New function. (ld_${EMULATION_NAME}_emulation): Replace after_parse_default' with gld${EMULATION_NAME}_after_parse. (gld${EMULATION_NAME}_handle_option): Set new_dtags_set to TRUE when setting link_info.new_dtags. ld/testsuite/ 2013-02-04 H.J. Lu <hongjiu.lu@intel.com> PR ld/15096 * ld-elf/new-dtags-1.d: New test. * ld-elf/new-dtags-2.d: Likewise. * ld-elf/new-dtags-3.d: Likewise. * ld-elf/new-dtags-4.d: Likewise. * ld-elf/new-dtags-5.d: Likewise. * ld-elf/new-dtags-6.d: Likewise. * ld-elf/new-dtags-7.d: Likewise. * ld-elf/new-dtags-8.d: Likewise.
* * configure: Regenerate after syncing config/.Alan Modra2013-02-045-13/+28
|
* daily updateAlan Modra2013-02-041-1/+1
|
* Add "@c man" markers to doc/c-metag.texiH.J. Lu2013-02-042-0/+8
| | | | * doc/c-metag.texi: Add "@c man" markers.
* 2013-02-04 Sergio Durigan Junior <sergiodj@redhat.com>Sergio Durigan Junior2013-02-046-1/+276
| | | | | | | | | | | | | | | | | | Pedro Alves <palves@redhat.com> * Makefile.in (SOURCE_HFILES): Add `elf-linux-psinfo.h'. * elf-bfd.h (elf_internal_linux_prpsinfo): New structure declaration. (elfcore_write_linux_prpsinfo32, elfcore_write_linux_prpsinfo64) (elfcore_write_ppc32_linux_prpsinfo32): New declarations. * elf-linux-psinfo.h: New file. * elf.c: Include elf-linux-psinfo.h. (elfcore_write_linux_prpsinfo32, elfcore_write_linux_prpsinfo64): New functions. * elf32-ppc.c: Include `elf-linux-psinfo.h'. (elf_external_ppc_linux_prpsinfo32): New structure declaration. (PPC_LINUX_PRPSINFO32_SWAP_FIELDS): New macro. (elfcore_write_ppc_linux_prpsinfo32): New function.
* 2013-02-04 Tristan Gingold <gingold@adacore.com>Tristan Gingold2013-02-042-1/+7
| | | | | * mach-o.c (bfd_mach_o_scan_start_address): Do not fail if no start address.
* * write.c (fixup_segment): Return void. Delete seg_reloc_countAlan Modra2013-02-043-23/+11
| | | | | | related code. (TC_ADJUST_RELOC_COUNT): Delete. * config/tc-i960.h (TC_ADJUST_RELOC_COUNT): Delete.
* * po/POTFILES.in: Regenerate.Alan Modra2013-02-044-1013/+1020
| | | | | * rl78-decode.c: Regenerate. * rx-decode.c: Regenerate.
* * po/POTFILES.in: Regenerate.Alan Modra2013-02-042-0/+6
|
* * Makefile.am (BFD64_BACKENDS): Remove elf-nacl.lo.Alan Modra2013-02-044-5/+10
| | | | | | (BFD64_BACKENDS_CFILES): Remove elf-nacl.c. * Makefile.in: Regenerate. * po/SRC-POTFILES.in: Regenerate.
* include/coff/Alan Modra2013-02-045-18/+12
| | | | | | | * ti.h (SWAP_OUT_RELOC_EXTRA): Define. bfd/ * coff-tic54x.c (SWAP_OUT_RELOC_EXTRA): Delete. * coff-tic80.c (SWAP_OUT_RELOC_EXTRA): Delete.
* correct pr referenceAlan Modra2013-02-042-2/+2
|
* daily updateAlan Modra2013-02-031-1/+1
|
* daily updateAlan Modra2013-02-021-1/+1
|
* daily updateAlan Modra2013-02-011-1/+1
|
* * elf64-ppc.c (dec_dynrel_count): Don't error when elf_gc_sweep_symbolAlan Modra2013-02-012-6/+12
| | | | clears def_regular.
* daily updateAlan Modra2013-01-311-1/+1
|
* 2013-01-31 Tristan Gingold <gingold@adacore.com>Tristan Gingold2013-01-312-2/+21
| | | | | | * mach-o.c (bfd_mach_o_scan): Call bfd_mach_o_flatten_sections earlier. Fix status checking of bfd_mach_o_scan_start_address. (bfd_mach_o_scan_start_address): Handle LC_MAIN.
* * ld-cris/libdso-13.d: Adjust for --enable-new-dtags nowHans-Peter Nilsson2013-01-312-2/+2
| | | | default for *-*-linux-* by passing explicitly for all targets.
* 2013-01-31 Tristan Gingold <gingold@adacore.com>Tristan Gingold2013-01-313-12/+17
| | | | | * gas/ppc/test1xcoff32.d: Updated. * gas/all/fwdexp.d: Adjusted for AIX.
* PR other/543413Kai Tietz2013-01-312-2/+7
| | | | | * md5.c (md5_process_block): Handle case that size_t is a wider-integer-scalar a 32-bit unsigned integer.