aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-09-28daily updateAlan Modra1-1/+1
2009-09-27daily updateAlan Modra1-1/+1
2009-09-26daily updateAlan Modra1-1/+1
2009-09-252009-09-25 Nick Hudson <nick.hudson@gmx.co.uk>Nick Hudson2-2/+7
* doc/c-mips.texi: Fix the singlefloat and doublefloat kindex entries.
2009-09-25daily updateAlan Modra1-1/+1
2009-09-24 PR binutils/10654Alan Modra2-103/+42
* dwarf2.c (lookup_address_in_line_info_table): Remove workaround for invalid location lists generated by gcc-2.95 and Intel 6.0 C++. Remove "function" parm, adjust caller.
2009-09-24daily updateAlan Modra1-1/+1
2009-09-23Updated French and Vietnamese translations.Nick Clifton6-718/+873
2009-09-23 * ld-srec/srec.exp: Add xfails for bfin-*-linux-uclibc.Jie Zhang2-0/+8
2009-09-232009-09-23 Tim E. Sneddon <tsneddon@kednos.com>Tristan Gingold2-1/+5
* gas/configure.com: Fix a typo.
2009-09-232009-09-23 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-1/+4
* config.h-vms: Remove HAVE_STDINT_H which was committed by mistake.
2009-09-232009-09-23 Matthew Gingell <gingell@adacore.com>Tristan Gingold2-1/+8
* cplus-dem.c (ada_demangle): Ensure demangled is freed.
2009-09-23 * elf32-bfin.c (_bfinfdpic_size_got_plt): Make sure emptyJie Zhang2-26/+28
.rel.plt and .plt sections are removed. (elf32_bfinfdpic_size_dynamic_sections): Remove empty .dynbss section. Remove the duplicated removing of empty .rel.plt section.
2009-09-23 * symbols.c (define_sym_at_dot): New function, extracted from..Alan Modra2-12/+19
(colon): ..here. Define error case cloned symbol.
2009-09-23daily updateAlan Modra1-1/+1
2009-09-22binutils/Richard Sandiford2-4/+9
* objdump.c (disassemble_section): Use bfd_get_arch_size instead of assuming that the address size is 32 bits.
2009-09-22 * gas/ppc/a2.d: Match PPC64 relocs.Alan Modra2-16/+20
2009-09-22 * ppc.h (ppc_cpu_t): Typedef to uint64_t.Alan Modra2-1/+7
2009-09-22daily updateAlan Modra1-1/+1
2009-09-21gas/Richard Sandiford7-10/+36
* config/tc-mips.c (MIPS_JALR_HINT_P): Take an expr argument. Require the target to be a bare symbol on targets with in-place addends. (macro_build_jalr): Update accordingly. (mips_fix_adjustable): Don't reduce R_MIPS_JALRs on targets with in-place addends. gas/testsuite/ * gas/mips/jalr2.s, gas/mips/jalr2.d: New test. * gas/mips/jal-svr4pic.d: Don't expect R_MIPS_JALRs to be reduced. * gas/mips/jal-xgot.d: Likewise. * gas/mips/mips-abi32-pic2.d: Likewise. * gas/mips/mips.exp: Run it.
2009-09-21 * lib/gas-defs.exp (gas_test_error): Mark internal error/assertionMaciej W. Rozycki2-7/+13
failures seen in output as fails. Also record output being matched for fails.
2009-09-21include/elf/Alan Modra26-65/+446
* ppc.h (DT_PPC_TLSOPT): Define. * ppc64.h (DT_PPC64_TLSOPT): Define. bfd/ * elf32-ppc.c (TLS_GET_ADDR_GLINK_SIZE): Define. (ADD_3_12_2, BEQLR, CMPWI_11_0, LWZ_11_3, LWZ_12_3): Define. (MR_0_3, MR_3_0): Define. (struct ppc_elf_link_hash_table): Add no_tls_get_addr_opt. (ppc_elf_select_plt_layout): Save emit_stub_syms param earlier. (ppc_elf_tls_setup): Add no_tls_get_addr_opt param and save to hash table. Check for presense of __tls_get_addr_opt (allocate_dynrelocs): Increase glink entry size for __tls_get_addr. (ppc_elf_size_dynamic_sections): Add DT_PPC_TLS_OPT tag. (write_glink_stub): Add param p. (ppc_elf_relocate_section): Adjust write_glink_stub call. (ppc_elf_finish_dynamic_symbol): Emit special glink call stub for __tls_get_addr. * elf32-ppc.h (ppc_elf_tls_setup): Update prototype. * elf64-ppc.c (struct ppc_link_hash_table): Add no_tls_get_addr_opt. (ppc64_elf_tls_setup): Add no_tls_get_addr_opt param and save to hash table. Check for presense of __tls_get_addr_opt. (ppc64_elf_size_dynamic_sections): Add DT_PPC64_TLS_OPT tag. (LD_R11_0R3, LD_R12_0R3, MR_R0_R3, CMPDI_R11_0, ADD_R3_R12_R13, BEQLR, MR_R3_R0, MFLR_R11, STD_R11_0R1, BCTRL, LD_R11_0R1, LD_R2_0R1, MTLR_R11): Define. (build_tls_get_addr_stub): New function. (ppc_build_one_stub): Call it. (ppc_size_one_stub): Add extra size for __tls_get_addr stub. (ppc64_elf_relocate_section): Don't change nop to ld 2,40(1) for __tls_get_addr plt call. * elf64-ppc.h (ppc64_elf_tls_setup): Update prototype. binutils/ * readelf.c (get_ppc_dynamic_type): Add TLSOPT. (get_ppc64_dynamic_type): Likewise. ld/ * emultempl/ppc32elf.em (no_tls_get_addr_opt): New var. (ppc_before_allocation): Pass to ppc_elf_tls_setup. (OPTION_NO_TLS_GET_ADDR_OPT): Define. Redefine other options in terms of previous option. (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --no-tls-get-addr-optimize. (PARSE_AND_LIST_ARGS_CASES): Handle it. * emultempl/ppc64elf.em (no_tls_get_addr_opt): New var. (ppc_before_allocation): Pass to ppc64_elf_tls_setup. (OPTION_NO_TLS_GET_ADDR_OPT): Define. (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --no-tls-get-addr-optimize. (PARSE_AND_LIST_ARGS_CASES): Handle it. ld/testsuite/ * ld-powerpc/tlslib.s: Delete dot-symbol entry syms. Add __tls_get_addr_opt. * ld-powerpc/tlslib32.s: Add __tls_get_addr_opt. * ld-powerpc/oldtlslib.s: New file, old-abi version of tlslib.s. * ld-powerpc/powerpc.exp: Build old-abi library and use it in two new link tests. * ld-powerpc/tlsexe.d: Update for new __tls_get_addr stub. * ld-powerpc/tlsexe.g, * ld-powerpc/tlsexe.r, *ld-powerpc/tlsexe32.d, * ld-powerpc/tlsexe32.g, * ld-powerpc/tlsexe32.r, * ld-powerpc/tlsexetoc.d, * ld-powerpc/tlsexetoc.g, * ld-powerpc/tlsexetoc.r: Likewise.
2009-09-21This commit was manufactured by cvs2svn to create branch 'binutils-nobody1-0/+29
2_20-branch'. Cherrypick from master 2009-09-21 11:51:02 UTC Alan Modra <amodra@gmail.com> 'include/elf/': ld/testsuite/ld-powerpc/oldtlslib.s
2009-09-21gas/Ben Elliston10-85/+168
* config/tc-ppc.c (md_show_usage): Document -mpcca2. * doc/c-ppc.texi (PowerPC-Opts): Document -mppca2. gas/testsuite/ * gas/ppc/a2.s: New. * gas/ppc/a2.d: Likewise. * gas/ppc/ppc.exp: Run the a2 dump test. include/opcode/ * ppc.h (PPC_OPCODE_PPCA2): New. opcodes/ * ppc-dis.c (ppc_opts): Add "ppca2" entry. * ppc-opc.c (powerpc_opcodes): Add eratilx, eratsx, eratsx., eratre, wchkall, eratwe, ldawx., mdfcrx., mfdcr. mtdcrx., icswx, icswx., mtdcr., dci, wclrone, wclrall, wclr, erativax, tlbsrx., ici mnemonics. (ERAT_T): New operand. (XWC_MASK): New mask. (XOPL2): New macro. (PPCA2): Define.
2009-09-21This commit was manufactured by cvs2svn to create branch 'binutils-nobody4-0/+1189
2_20-branch'. Cherrypick from master 2009-09-21 10:29:07 UTC Ben Elliston <bje@au.ibm.com> 'gas/': gas/testsuite/gas/mips/jalr2.d gas/testsuite/gas/mips/jalr2.s gas/testsuite/gas/ppc/a2.d gas/testsuite/gas/ppc/a2.s
2009-09-21daily updateAlan Modra1-1/+1
2009-09-20ld/testsuite/Richard Sandiford3-8/+13
* ld-mips-elf/elf-rel-got-n64-linux.d: Expect BALs. * ld-mips-elf/elf-rel-xgot-n64-linux.d: Likewise.
2009-09-20daily updateAlan Modra1-1/+1
2009-09-19daily updateAlan Modra1-1/+1
2009-09-18 PR ld/10406Alan Modra2-29/+91
* elf32-ppc.c (ppc_elf_howto_raw): Make R_PPC_EMB_SDAI16 and R_PPC_EMB_SDA2I16 complain_overflow_signed. (create_sdata_sym): Pass info rather than htab. Update all callers. Ensure symbols are hidden. (ppc_elf_check_relocs): Allow SDAREL16 when shared. (ppc_elf_size_dynamic_sections): When shared, equate _SDA_BASE_ to _GLOBAL_OFFSET_TABLE_. (elf_finish_pointer_linker_section): Don't assume that sdata base symbol is always at 0x8000 offset. Don't subtract the addend here. (is_static_defined): New function. (ppc_elf_relocate_section): Verify symbol base used in SDA relocs is statically defined. Clear addend for EMB_SDAI16 and EMB_SDA2I16 relocs. Downgrade error on unexpected section for EMB_SDA2REL reloc symbols to a warning.
2009-09-18Updated Vietnamese translationsNick Clifton2-784/+1084
2009-09-18Updated Finnish and Vietnamese translationsNick Clifton4-999/+1223
2009-09-18Updated Spanish and Vietnamese translationsNick Clifton15-5529/+7583
2009-09-18bfd/Alan Modra7-120/+188
* elf64-ppc.c (follow_link, elf_follow_link, ppc_follow_link): New functions. Use throughout. (ppc64_elf_copy_indirect_symbol): Set direct symbol "oh" field from indirect symbol. (lookup_fdh): Rename from get_fdh. Follow indirect sym links. (add_symbol_adjust): Simplify. (defined_code_entry, defined_func_desc): New functions. (ppc64_elf_gc_keep): Follow indirect sym links. Use defined_code_entry. (ppc64_elf_gc_mark_dynamic_ref): Use defined_func_desc and defined_code_entry to follow indirect sym links. (ppc64_elf_gc_mark_hook, func_desc_adjust): Likewise. (ppc_type_of_stub): Follow indirect sym links. (toc_adjusting_stub_needed): Likewise. (ppc_build_one_stub): Likewise. Make undefined dot-symbols weak rather than defining them at stub. (ppc64_elf_relocate_section): Rewrite call test to avoid multiple assignments in test. ld/testsuite/ * ld-powerpc/tlsso.d: Update. * ld-powerpc/tlsso.r: Update. * ld-powerpc/tlstocso.d: Update. * ld-powerpc/tlstocso.r: Update.
2009-09-18daily updateAlan Modra1-1/+1
2009-09-17daily updateAlan Modra1-1/+1
2009-09-16daily updateAlan Modra1-1/+1
2009-09-152009-09-15 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-0/+8
* config.h-vms (intptr_t): Define to compile hashtab.c
2009-09-152009-09-15 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-2/+10
* makefile.vms (OBJS): Compile te-vms.c only on Itanium.
2009-09-15 * ld-elfcomm/elfcomm.exp: Add appropriate emulation optionKaz Kojima3-5/+44
for sh64*-*-*. * ld-gc/gc.exp (test_gc): Likewise.
2009-09-15daily updateAlan Modra1-1/+1
2009-09-14gas/testsuite/Richard Sandiford12-30/+53
* gas/mips/mips16-dwarf2-n32.d: Expect odd addresses. ld/testsuite/ * ld-mips-elf/eh-frame1-n32.d: Change "the section \.eh_frame" to "the \.eh_frame section". * ld-mips-elf/eh-frame1-n64.d: Likewise. * ld-mips-elf/eh-frame2-n32.d: Likewise. * ld-mips-elf/eh-frame2-n64.d: Likewise. * ld-mips-elf/eh-frame3.d: Likewise. * ld-mips-elf/eh-frame4.d: Likewise. * ld-mips-elf/elf-rel-got-n32.d: Expect bals. * ld-mips-elf/elf-rel-xgot-n32.d: Likewise. * ld-mips-elf/mips-elf.exp: Force the MIPS16 PIC tests to use -mips1.
2009-09-14 bfd/Daniel Jacobowitz4-19/+38
* elf32-arm.c (elf32_arm_final_link_relocate): Set sym_flags for the mode of target PLT entries. (allocate_dynrelocs): Only adjust symbol type if setting its value. ld/testsuite/ * ld-arm/farcall-mixed-lib.d: Update.
2009-09-14Updated German, Dutch and Finnish translations.Nick Clifton7-1089/+1548
2009-09-14daily updateAlan Modra1-1/+1
2009-09-13 PR ld/6766Alan Modra14-55/+62
* lexsup.c (parse_args <-e>): Revert 2009-03-18 change. * ldemul.c (after_parse_default): Add entry symbol as undef. * emultempl/alphaelf.em (alpha_after_parse): Call 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/ia64elf.em (gld${EMULATION_NAME}_after_parse): Likewise. * emultempl/pe.em (gld_${EMULATION_NAME}_after_parse): Call after_parse_default and delete now duplicate code. * emultempl/pep.em (gld_${EMULATION_NAME}_after_parse): Likewise. * scripttempl/elf32cr16.sc: No need to make entry extern. * scripttempl/elf32cr16c.sc: Likewise. * scripttempl/elf32crx.sc: Likewise. * scripttempl/elf32xc16xs.sc: Only provide ENTRY on final link.
2009-09-13daily updateAlan Modra1-1/+1
2009-09-12daily updateAlan Modra1-1/+1
2009-09-11 * po/bfd.pot: Updated by the Translation project.Nick Clifton51-959/+1288
* po/binutils.pot: Updated by the Translation project. * po/gold.pot: Updated by the Translation project. * po/gold.pot: Updated by the Translation project. * po/gprof.pot: Updated by the Translation project. * po/sv.po: Updated Swedish translation. * po/ld.pot: Updated by the Translation project. * po/fi.po: Updated Finnish translation. * po/ld.pot: Updated by the Translation project. * po/fi.po: Updated Finnish translation. Updated sources to compile cleanly with -Wc++-compat: * basic_blocks.c: Add casts. * cg_dfn.c: Add cast. * corefile.c: Add casts. * gmon_io.c: Add casts. * hist.c: Add cast. * source.c: Add cast. * sym_ids.c (struct match): Moved to top level. Updated soruces in ld/* to compile cleanly with -Wc++-compat: * ld.h (enum endian_enum,enum symbolic_enum,enum dynamic_list_enum): Move to top level. * ldcref.c: Add casts. * ldctor.c: Add casts. * ldexp.c * ldexp.h (enum node_tree_enum,enum phase_enum): Move to top level. * ldlang.c: Add casts. (lang_insert_orphan): Use enum name instead of integer. * ldlang.h (enum statement_enum): Move to top level. * ldmain.c: Add casts. * ldwrite.c: Add casts. * lexsup.c: Add casts. (enum control_enum): Move to top level. * mri.c: Add casts. (mri_draw_tree): Use enum name instead of integer. Updated sources to compile cleanly with -Wc++-compat: * basic_blocks.c: Add casts. * cg_dfn.c: Add cast. * corefile.c: Add casts. * gmon_io.c: Add casts. * hist.c: Add cast. * source.c: Add cast. * sym_ids.c (struct match): Moved to top level.
2009-09-11 * rs6000-core.c (read_hdr): Fix typo in recent C++ compatibilityNick Clifton2-1/+6
changes.