summaryrefslogtreecommitdiff
path: root/bfd
Commit message (Collapse)AuthorAgeFilesLines
* Automatic date update in version.inGDB Administrator2018-11-261-1/+1
|
* Automatic date update in version.inGDB Administrator2018-11-251-1/+1
|
* Automatic date update in version.inGDB Administrator2018-11-241-1/+1
|
* Automatic date update in version.inGDB Administrator2018-11-231-1/+1
|
* Automatic date update in version.inGDB Administrator2018-11-221-1/+1
|
* Fix linking MSP430 files created by gcc's LTO optimizer.Jozef Lawrynowicz2018-11-212-0/+12
| | | | | | | | | | | | | | | | | | | | | | When invoking GCC with "-g -flto", the compiler will create LTO objects with debug information. The objects created are "simple ELF" objects (see libiberty/simple-object-elf.c) and do not have target-specific sections. When the MSP430 linker sees one of these objects without a .MSP430.attributes section it errors: > error: /tmp/cc4LhbEI.ltrans0.ltrans.o uses MSP430X instructions but /tmp/ccynqIwudebugobj uses unknown > error: /tmp/cc4LhbEI.ltrans0.ltrans.o uses the small code model whereas /tmp/ccynqIwudebugobj uses the unknown code model > error: /tmp/cc4LhbEI.ltrans0.ltrans.o uses the small data model whereas /tmp/ccynqIwudebugobj uses the unknown data model > error: /tmp/cc4LhbEI.ltrans0.ltrans.o uses the small code model but /tmp/ccynqIwudebugobj uses the unknown data model > failed to merge target specific data of file /tmp/cc4LhbEI.ltrans0.ltrans.o The following patch allows these debug LTO objects to be linked with other MSP430 objects even if they do not have a .MSP430.attributes section. bfd * elf32-msp430.c (elf32_msp430_merge_mspabi_attributes): Do not error when .MSP430.attributes section is missing from objects created by LTO.
* Automatic date update in version.inGDB Administrator2018-11-211-1/+1
|
* Automatic date update in version.inGDB Administrator2018-11-201-1/+1
|
* Automatic date update in version.inGDB Administrator2018-11-191-1/+1
|
* Automatic date update in version.inGDB Administrator2018-11-181-1/+1
|
* Automatic date update in version.inGDB Administrator2018-11-171-1/+1
|
* Automatic date update in version.inGDB Administrator2018-11-161-1/+1
|
* Automatic date update in version.inGDB Administrator2018-11-151-1/+1
|
* Automatic date update in version.inGDB Administrator2018-11-141-1/+1
|
* RISC-V: Improve linker error for FP mismatch.Jim Wilson2018-11-132-1/+33
| | | | | | bfd/ * elfnn-riscv.c (riscv_float_abi_string): New. (_bfd_riscv_elf_merge_private_bfd_data): Use it for error message.
* Automatic date update in version.inGDB Administrator2018-11-131-1/+1
|
* Automatic date update in version.inGDB Administrator2018-11-121-1/+1
|
* Automatic date update in version.inGDB Administrator2018-11-111-1/+1
|
* Automatic date update in version.inGDB Administrator2018-11-101-1/+1
|
* Correct comment concerning PE timestamp insertion.Bernhard M. Wiedemann2018-11-092-9/+15
| | | | | * peXXigen.c (_bfd_XXi_only_swap_filehdr_out): Correct comment concerning timestamp insertion.
* Fixed warning from previous patch. Added Changelog.Cupertino Miranda2018-11-092-1/+15
|
* [ARC] More fixes for TLS.Cupertino Miranda2018-11-092-44/+105
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Added warning for static TLS reloc. Fixed issue related to TLS and partial static linking of libraries: This issue was detected when throwing exceptions in C++ while linking with -static-libstdc++. TLS relocation from the libstdc++ wasn't being patched as local now that it was static linked with the executable. Fix for TLS with static and pie. Problem introduced by earlier patch: Fixes the following glibc tests: - elf/tst-tls1-static bfd/ xxxx-xx-xx Cupertino Miranda <cmiranda@synopsys.com> * arc-got.h (arc_got_entry_type_for_reloc): Changed to correct static TLS relocs. * elf32-arc.c (elf_arc_check_relocs): Introduced warning to TLS relocs which require -fPIC. (arc_create_forced_local_got_entries_for_tls): Created. Traverses list of GOT entries to be resolved statically when needed. (elf_arc_finish_dynamic_sections): Changed. Calls arc_create_forced_local_got_entries_for_tls for each known possibly GOT symbol.
* Stop corruption of ihex output shen addresses are sign extended.rhn2018-11-092-0/+24
| | | | | | PR 23699 * ihex.c (ihex_write_object_contents): Check for sign extended addresses that cannot be supported in the ihex format.
* [ARC] Fix local got entry list.Claudiu Zissulescu2018-11-093-19/+24
| | | | | | | | | | | | | Fix a memory leak appearing when the local got entry list was constructed. bfd/ xxxx-xx-xx Claudiu Zissulescu <claziss@synopsys.com> * arc-got.h (arc_get_local_got_ents): Revamp it; use elf_local_got_ents to store the local got list. (get_got_entry_list_for_symbo): Restructure it. * elf32-arc.c (elf_arc_relocate_section): Correct the call to get_got_entry_list_for_symbol.
* Automatic date update in version.inGDB Administrator2018-11-091-1/+1
|
* Automatic date update in version.inGDB Administrator2018-11-081-1/+1
|
* Add updated French and Portuguese translations.Nick Clifton2018-11-073-3990/+4075
| | | | | | | gas * po/fr.po: Updated French translation. bfd * po/fr.po: Updated French translation. * po/pt.po: Updated Portuguese translation. binutils* po/pt.po: Updated Portuguese translation.
* Add support for new load commands added by Apple to the MACH-O file format.Roman Bolshakov2018-11-073-12/+102
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bfd * mach-o.h: Add new enums for BFD_MACH_O_PLATFORM_MACOS, BFD_MACH_O_PLATFORM_IOS, BFD_MACH_O_PLATFORM_TVOS, BFD_MACH_O_PLATFORM_WATCHOS, BFD_MACH_O_PLATFORM_BRIDGEOS, BFD_MACH_O_TOOL_CLANG, BFD_MACH_O_TOOL_SWIFT, BFD_MACH_O_TOOL_LD. (struct bfd_mach_o_note_command): New. (struct bfd_mach_o_build_version_tool): New. (struct bfd_mach_o_build_version_command): New. (bfd_mach_o_read_version_min): Don't split version into a few fields. Rename reserved to sdk. * mach-o.c (bfd_mach_o_read_version_min): Don't split version into a few fields. Rename reserved to sdk. (bfd_mach_o_read_command): Handle LC_VERSION_MIN_TVOS, LC_NOTE, LC_BUILD_VERSION. (bfd_mach_o_read_note): New. (bfd_mach_o_read_build_version): New. PR 23728 binutils* od-macho.c (printf_version): New. (dump_load_command): Use it to print version. Print sdk version. Print version info for watchOS and tvOS. Print LC_NOTE, LC_BUILD_VERSION. (dump_buld_version): New. (bfd_mach_o_platform_name): New (bfd_mach_o_tool_name): New * mach-o/external.h (mach_o_nversion_min_command_external): Rename reserved to sdk. (mach_o_note_command_external): New. (mach_o_build_version_command_external): New. * mach-o/loader.h (BFD_MACH_O_LC_VERSION_MIN_TVOS): Define. (BFD_MACH_O_LC_NOTE): Define.
* Regen bfd/configureAlan Modra2018-11-072-0/+2
| | | | * configure: Regenerate.
* rx: Add target rx-*-linux.Yoshinori Sato2018-11-075-0/+38
|
* Automatic date update in version.inGDB Administrator2018-11-071-1/+1
|
* Add support for a couple of new Mach-O commands.Nick Clifton2018-11-062-0/+10
| | | | | | | | | PR 23742 * mach-o.c (bfd_mach_o_read_command): Accept and ignore BFD_MACH_O_LC_LINKER_OPTIONS and BFD_MACH_O_LC_BUILD_VERSION commands. * mach-o/loader.h: Add BFD_MACH_O_LC_BUILD_VERSION.
* Automatic date update in version.inGDB Administrator2018-11-061-1/+1
|
* Automatic date update in version.inGDB Administrator2018-11-051-1/+1
|
* Automatic date update in version.inGDB Administrator2018-11-041-1/+1
|
* Automatic date update in version.inGDB Administrator2018-11-031-1/+1
|
* PR23850, strip should not discard/move .rela.plt in executableAlan Modra2018-11-022-8/+17
| | | | | | | | | | | strip/objcopy can't deal with alloc reloc sections, not .rela.dyn or .rela.plt in a dynamic executable, or .rela.plt/.rela.iplt in a static executable. So, don't have BFD treat them as side-channel data associated with the section they are relocating. PR 23850 * elf.c (bfd_section_from_shdr): Treat SHF_ALLOC SHT_REL* sections in an executable or shared library as normal sections.
* Automatic date update in version.inGDB Administrator2018-11-021-1/+1
|
* Automatic date update in version.inGDB Administrator2018-11-011-1/+1
|
* Don't create got section while processing TLS Local Exec relocations.Renlin Li2018-10-312-3/+5
| | | | | | | | | | | | | | | | For Local Exec TLS model, the offset of the variable from the thread pointer can be computed at static link time. This doesn't require GOT indirection. The initial change is a bad fix for a problem during TLS GD -> LE relaxation. The proper fix is to check whether _GLOBAL_OFFSET_TABLE_ is referenced, create got section if yes. And the fix is already in the repository. bfd/ 2018-10-31 Renlin Li <renlin.li@arm.com> * elfnn-aarch64.c (elfNN_aarch64_check_relocs): Don't create got section for Local Exec TLS model.
* Automatic date update in version.inGDB Administrator2018-10-311-1/+1
|
* Automatic date update in version.inGDB Administrator2018-10-301-1/+1
|
* Automatic date update in version.inGDB Administrator2018-10-291-1/+1
|
* Automatic date update in version.inGDB Administrator2018-10-281-1/+1
|
* Automatic date update in version.inGDB Administrator2018-10-271-1/+1
|
* Automatic date update in version.inGDB Administrator2018-10-261-1/+1
|
* ELF: Hide symbols defined in discarded input sectionsH.J. Lu2018-10-242-2/+16
| | | | | | | | | | | | | | | | | | | | When assigning symbol version, we should hide debug symbols defined in discarded sections from IR objects so that they can be removed later. bfd/ PR ld/23818 * elflink.c (_bfd_elf_link_assign_sym_version): Hide symbols defined in discarded input sections. ld/ PR ld/23818 * testsuite/ld-plugin/lto.exp: Run PR ld/23818 test. * testsuite/ld-plugin/pr23818.d: New file. * testsuite/ld-plugin/pr23818.t: Likewise. * testsuite/ld-plugin/pr23818a.c: Likewise. * testsuite/ld-plugin/pr23818b.c: Likewise.
* Automatic date update in version.inGDB Administrator2018-10-251-1/+1
|
* cmse_scan segfaultAlan Modra2018-10-242-1/+7
| | | | | | | | | elf_sym_hashes for as-needed libs will be zeroed if the library is found to be not needed. More than that, the local symbols for such a library should not be considered by cmse_scan. * elf32-arm.c (elf32_arm_size_stubs): Ignore as-needed libs that were not needed.
* Automatic date update in version.inGDB Administrator2018-10-241-1/+1
|