summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Retrospectively check in source files modified in insight 6.8 release.arc-insight_6_8-branchpointinsight_6_8-branchJoern Rennecke2009-03-097245-1772362/+3
|
* * elf32-ppc.c (ppc_elf_check_relocs): Set pointer_equality_neededinsight_6_8-branchpointgdb_6_8-2008-03-27-releasegdb_6_8-2008-02-26-branchpointgdb_6_8-branchAlan Modra2008-02-262-75/+109
| | | | | | | | | | | | | | | | for R_PPC_REL32 syms. Don't set non_got_ref on branch reloc syms, and assume branch relocs are not dynamic when non-shared. (readonly_dynrelocs): New function, split out from.. (maybe_set_textrel): ..here, renamed from old readonly_dynrelocs. (ppc_elf_adjust_dynamic_symbol): For symbols generating plt entries, clear non_got_ref.. (allocate_dynrelocs): ..and don't set u.def for undefined weak. Do allow dynamic relocs on undefined symbols. (ppc_elf_adjust_dynamic_symbol): Use readonly_dynrelocs. (ppc_elf_relocate_section): Mirror dynamic reloc changes in check_relocs. (ppc_elf_finish_dynamic_symbol): Don't give a warning on weak plt symbols needing pointer_equality_needed.
* Re-apply this patch which was accidentally deleted:Nick Clifton2008-02-262-3/+10
| | | | | | 2006-05-16 Carlos O'Donell <carlos@codesourcery.com> * doc/binutils.texi: Use "Binutils Index" for index name.
* daily updateAlan Modra2008-02-251-1/+1
|
* daily updateAlan Modra2008-02-241-1/+1
|
* daily updateAlan Modra2008-02-231-1/+1
|
* gas/testsuite/H.J. Lu2008-02-2310-141/+304
| | | | | | | | | | | | | | | | | | | | | | 2008-02-23 H.J. Lu <hongjiu.lu@intel.com> * gas/i386/jump.s: Add tests for far branches. * gas/i386/jump16.s: Likewise. * gas/i386/jump.d: Updated. * gas/i386/jump16.d: Likewise. * gas/i386/x86-64-inval.l: Likewise. * gas/i386/x86-64-inval.s: Add tests for 16-bit near indirect branches. opcodes/ 2008-02-23 H.J. Lu <hongjiu.lu@intel.com> * i386-opc.tbl: Disallow 16-bit near indirect branches for x86-64. * i386-tbl.h: Regenerated.
* * elf32-ppc.c (ppc_elf_check_relocs): Revert non_got_ref change.Alan Modra2008-02-232-0/+7
|
* * elf32-ppc.c (ppc_elf_copy_indirect_symbol): CopyAlan Modra2008-02-232-23/+74
| | | | | | | | | | | pointer_equality_needed. (ppc_elf_check_relocs): Split out non-branch relocs from others that might emit dynamic relocs. Set pointer_equality_needed for their symbols. Don't set non_got_ref on branch reloc symbols. (ppc_elf_hash_symbol): New function. (elf_backend_hash_symbol): Define. (ppc_elf_finish_dynamic_symbol): Handle pointer_equality_needed. Error if pointer_equality_needed on weak plt symbol.
* 2008-02-22 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2008-02-232-6/+15
| | | | | | PR ld/5788 * elflink.c (elf_create_symbuf): Correct buffer size and position.
* ld/testsuite/Mark Mitchell2008-02-222-1/+10
| | | | * ld-elf/seg.d: Expect .reginfo section on MIPS.
* daily updateAlan Modra2008-02-221-1/+1
|
* * config/tc-arm.c (do_bx): Only test EF_ARM_EABI_VERSION on ELFNick Clifton2008-02-222-2/+2
| | | | targeted ARM ports, otherwise just skip generating the reloc.
* * gas/m68hc11/bug-1825.d: Update to match changes in theNick Clifton2008-02-226-5/+13
| | | | | | | information generated with source-in-disassembly listings. * gas/m68hc11/indexed12.d: Likewise. * gas/m68hc11/insns-dwarf2.d: Likewise. * gas/m68hc11/lbranch-dwarf2.d: Likewise.
* PR 868Nick Clifton2008-02-222-82/+21
| | | | | *dwarf2.c: Revert previous patch. All of the allocate memory is on an obstack which will be freed at some other time.
* * config/tc-arm.c (do_bx): Only test EF_ARM_EABI_VERSION on ELFNick Clifton2008-02-222-0/+7
| | | | targeted ARM ports.
* PR ld/5785Nick Clifton2008-02-222-3/+8
| | | | | | * ldlang.c (lang_size_sections_1): Honour the setting of an lma_region even if there is no vma region set, or the vma region is the same as the lma region.
* * objdump.c (display_file_offsets): New variable.Nick Clifton2008-02-224-5/+57
| | | | | | | | | | | | | | | (long_options): Add -F/--file-offsets. (objdump_print_addr_with_sym): If displaying file offsets, print the offset of the given address. (disassemble_bytes): If displaying file offsets, tell the user how many zeroes are skipped and the file offset of the point where dumping resumes. (disassemble_section): Only display the name of the section if data is going to be dumped from it. (main): Handle new option. Produce error messages if the start or stop addresses do not make sense. * doc/binutils.texi: Document the new feature. * NEWS: Mention the new feature.
* daily updateAlan Modra2008-02-211-1/+1
|
* opcodes/Jan Beulich2008-02-213-9/+16
| | | | | | | | | 2008-02-21 Jan Beulich <jbeulich@novell.com> * i386-opc.tbl: Allow Dword for far indirect call. Allow Dword and Fword for far indirect jmp. Allow Reg16 and Word for near indirect jmp on x86-64. Disallow Fword for lcall. * i386-tbl.h: Re-generate.
* Correct year.H.J. Lu2008-02-201-1/+1
|
* daily updateAlan Modra2008-02-201-1/+1
|
* * ld-auto-import/auto-import.exp: Use $ld to link the dll forNick Clifton2008-02-202-2/+7
| | | | cygwin, not $CC.
* PR 868Nick Clifton2008-02-2017-38/+110
| | | | | | | | | | | | | | | | | | | | | | | * libbfd.c (bfd_realloc_or_free): New function. Performs like bfd_realloc, but if the (re)allocation fails, the pointer is freed. * libbfd-in.h: Prototype. * libbfd.h: Regenerate. * bfdio.c (bfd_bwrite): Use the new function. (bfd_seek): Likewise. * bfdwin.c:(bfd_get_file_window): Likewise. * elf-strtab.c (_bfd_elf_strtab_add): Likewise. * elf32-ppc.c (ppc_elf_relax_section): Likewise. * elf32-xtensa.c (vsprintf_msg): Likewise. * mach-o.c (bfd_mach_o_core_fetch_environment): Likewise. * stabs.c (_bfd_link_seciton_stabs): Likewise. * vms-misc.c (_bfd_vms_get_record): Likewise. * vms-tir.c (check_section): Likewise. * vms.c (vms_new_section_hook): Likewise. * elf32-arm.c (elf32_arm_section_map_add): Check that the allocation of sec_data->map succeeded before using it. * elflink.c (elf_link_output_sym): Do not overwrite finfo-> symshndxbuf until it is known that the reallocation succeeded.
* config:cgen-snapshot-20080301Paolo Bonzini2008-02-202-3/+7
| | | | | | 2008-02-20 Uros Bizjak <ubizjak@gmail.com> * mh-ppc-darwin (BOOT_CFLAGS): Use +=, not =.
* PR 868Nick Clifton2008-02-202-15/+93
| | | | | | | | | | * dwarf2.c (read_abbrevs): Free the abbreviation table if we run out of memory. (decode_line_info): Free the line_info_table before returning a failure result. (_bfd_dwarf2_cleanup_debug_info): Free the abbreviation table. Free the line table. Free the function table. Free the variable table.
* 2008-02-20 Paul Brook <paul@codesourcery.com>Paul Brook2008-02-2021-20/+527
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ld/ * emultempl/armelf.em (OPTION_FIX_V4BX_INTERWORKING): Define. (PARSE_AND_LIST_LONGOPTS): Add fix-v4bx-interworking. (PARSE_AND_LIST_OPTIONS): Ditto. (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_FIX_V4BX_INTERWORKING. * emulparams/armelf.sh (OTHER_TEXT_SECTIONS): Add .v4_bx. * emulparams/armelf_linux.sh (OTHER_TEXT_SECTIONS): Ditto. * emulparams/armnto.sh (OTHER_TEXT_SECTIONS): Ditto. * ld.texinfo: Document --fix-v4bx-interworking. ld/testsuite/ * ld-arm/armv4-bx.d: New test. * ld-arm/armv4-bx.s: New test. * ld-arm/arm.ld: Add .v4bx. * ld-arm/arm-elf.exp: Add armv4-bx. gas/testsuite/ * gas/arm/thumb.d: Exclude EABI targets. * gas/arm/arch4t.d: Exclude EABI targts. * gas/arm/v4bx.d: New test. * gas/arm/v4bx.s: New test. * gas/arm/thumb-eabi.d: New test. * gas/arm/arch4t-eabi.d: New test. gas/ * config/tc-arm.c (fix_v4bx): New variable. (do_bx): Generate V4BX relocations. (md_assemble): Allow bx on v4 codes when fix_v4bx. (md_apply_fix): Handle BFD_RELOC_ARM_V4BX. (tc_gen_reloc): Ditto. (OPTION_FIX_V4BX): Define. (md_longopts): Add fix-v4bx. (md_parse_option): Handle OPTION_FIX_V4BX. (md_show_usage): Document --fix-v4bx. * doc/c-arm.texi: Document --fix-v4bx. bfd/ * reloc.c: Add BFD_RELOC_ARM_V4BX. * elf32-arm.c (elf32_arm_reloc_map): Add BFD_RELOC_ARM_V4BX. (ARM_BX_GLUE_SECTION_NAME, ARM_BX_GLUE_SECTION_NAME): Define. (elf32_arm_link_hash_table): Add bx_glue_size and bx_glue_offset. Update comment for fix_v4bx. (elf32_arm_link_hash_table_create): Zero bx_glue_size and bx_glue_offset. (ARM_BX_VENEER_SIZE, armbx1_tst_insn, armbx2_moveq_insn, armbx3_bx_insn): New. (bfd_elf32_arm_allocate_interworking_sections): Allocate BX veneer section. (bfd_elf32_arm_add_glue_sections_to_bfd): Ditto. (bfd_elf32_arm_process_before_allocation): Record BX veneers. (record_arm_bx_glue, elf32_arm_bx_glue): New functions. (elf32_arm_final_link_relocate): Handle BX veneers. (elf32_arm_output_arch_local_syms): Output mapping symbol for .v4_bx. * bfd-in2.h: Regenerate. * libbfd.h: Regenerate.
* 2008-02-20 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini2008-02-208-721/+1261
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR bootstrap/32009 PR bootstrap/32161 * configure.ac (CFLAGS_FOR_TARGET, CXXFLAGS_FOR_TARGET): Compute here. * configure: Regenerate. * Makefile.def: Define stage_libcflags for all bootstrap stages. * Makefile.tpl (BOOT_LIBCFLAGS, STAGE2_LIBCFLAGS, STAGE3_LIBCFLAGS, STAGE4_LIBCFLAGS): New. (CFLAGS_FOR_TARGET, CXXFLAGS_FOR_TARGET): Subst from autoconf, without $(SYSROOT_CFLAGS_FOR_TARGET) and $(DEBUG_PREFIX_CFLAGS_FOR_TARGET). (BASE_TARGET_EXPORTS): Append them here to C{,XX}FLAGS. (EXTRA_TARGET_FLAGS): Append them here to {LIB,}C{,XX}FLAGS. (configure-stage[+id+]-[+prefix+][+module+]): Pass stage_libcflags for target modules. Don't export LIBCFLAGS. (all-stage[+id+]-[+prefix+][+module+]): Pass stage_libcflags; pass $(BASE_FLAGS_TO_PASS) where [+args+] was passed, and [+args+] after the overridden CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET. (invocations of `all'): Replace $(TARGET_FLAGS_TO_PASS) with $(EXTRA_TARGET_FLAGS), $(FLAGS_TO_PASS) with $(EXTRA_HOST_FLAGS). * Makefile.in: Regenerate. config: 2008-02-20 Paolo Bonzini <bonzini@gnu.org> PR bootstrap/32009 * mh-ppc-darwin (BOOT_CFLAGS): Reenable.
* daily updateAlan Modra2008-02-191-1/+1
|
* PR other/12618Ben Elliston2008-02-192-1/+7
| | | | * testsuite/Makefile.in (mostlyclean): Remove any core file.
* daily updateAlan Modra2008-02-181-1/+1
|
* 2008-02-18 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2008-02-182-4/+37
| | | | | | * cfi/cfi.exp (gas_x86_64_check): New. (gas_x86_32_check): Likewise. Run 32bit and 64bit tests for x86 targets if they are supportd.
* 2008-02-18 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2008-02-182-4/+11
| | | | * doc/c-i386.texi: Update -march= and .arch.
* * scripttempl/armbpabi.sc (ENTRY): Do not define when performing aNick Clifton2008-02-1816-19/+37
| | | | | | | | | | | | | | | | | | relocatable link. * scripttempl/elf32cr16.sc: Likewise. * scripttempl/elf32cr16c.sc: Likewise. * scripttempl/elf32crx.sc: Likewise. * scripttempl/elf32sh-symbian.sc: Likewise. * scripttempl/elf_chaos.sc: Likewise. * scripttempl/elfd10v.sc: Likewise. * scripttempl/elfi370.sc: Likewise. * scripttempl/elfm68hc11.sc: Likewise. * scripttempl/elfm68hc12.sc: Likewise. * scripttempl/ip2k.sc: Likewise. * scripttempl/iq2000.sc: Likewise. * scripttempl/mep.sc: Likewise. * scripttempl/v850.sc: Likewise. * scripttempl/xstormy16.sc: Likewise.
* * cr16.h (cr16_num_optab): Declared.Nick Clifton2008-02-184-2/+12
| | | | * cr16-opc.c (cr16_num_optab): Defined
* * lib/ld-lib.exp (run_dump_test): Don't apply prune_warningsHans-Peter Nilsson2008-02-182-2/+7
| | | | for tool invocations where warnings or errors can be matched.
* * config/tc-mn10300.c (has_known_symbol_location): New function.Nick Clifton2008-02-182-11/+36
| | | | | | Do not regard weak symbols as having a known location. (md_estimate_size_before_relax): Use new function. (md_pcrel_from): Do not compute a pcrel against a weak symbol.
* gas/Jan Beulich2008-02-188-0/+232
| | | | | | | | | | | | | | | | 2008-02-18 Jan Beulich <jbeulich@novell.com> * config/tc-i386.c (match_template): Disallow 'l' suffix when currently selected CPU has no 32-bit support. (parse_real_register): Do not return registers not available on currently selected CPU. gas/testsuite/ 2008-02-18 Jan Beulich <jbeulich@novell.com> * gas/i386/att-regs.s, gas/i386/att-regs.d, gas/i386/intel-regs.s, gas/i386/intel-regs.d: New. * gas/i386/i386.exp: Run new tests.
* * elf.c (swap_out_syms): Avoid preprocessing directive withinMark Kettenis2008-02-172-3/+12
| | | | macro arg.
* daily updateAlan Modra2008-02-171-1/+1
|
* * elf.c (assign_file_positions_for_load_sections): Set the type ofJan Kratochvil2008-02-172-0/+9
| | | | PT_NOTE sections to SHT_NOTE.
* 2008-02-16 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2008-02-172-9/+12
| | | | * config/tc-i386.c (process_immext): Fix format.
* * simple.c (bfd_simple_get_relocated_section_contents): SetAlan Modra2008-02-162-1/+7
| | | | link_info.output_bfd.
* daily updateAlan Modra2008-02-161-1/+1
|
* gas/H.J. Lu2008-02-165-49/+72
| | | | | | | | | | | | | | | | | 2008-02-16 H.J. Lu <hongjiu.lu@intel.com> * config/tc-i386.c (inoutportreg): New. (process_immext): New. (md_assemble): Use it. (update_imm): Use imm16 and imm32s. (i386_att_operand): Use inoutportreg. opcodes/ 2008-02-16 H.J. Lu <hongjiu.lu@intel.com> * i386-gen.c (operand_type_init): Add OPERAND_TYPE_INOUTPORTREG. * i386-init.h: Regenerated.
* 2008-02-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>Paolo Bonzini2008-02-162-3/+12
| | | | | | PR libgcj/33085 * libtool.m4 (_LT_COMPILER_PIC) [ mingw, cygwin ] <GCJ>: Do not use -DDLL_EXPORT. Backport from upstream.
* * dwarf2.c (find_line): Don't trust debug information after anNathan Sidwell2008-02-162-34/+40
| | | | unparseable compilation unit.
* PR ld/5761Alan Modra2008-02-162-1/+8
| | | | | * ldexp.c (fold_name <LOADADDR>): Check result of evaluating load_base before calling make_abs.
* daily updateAlan Modra2008-02-151-1/+1
|
* PR 5765Alan Modra2008-02-153-26/+32
| | | | | * section.c (SEC_LINK_DUPLICATES): Correct. Renumber following flags. * bfd-in2.h: Regenerate.