summaryrefslogtreecommitdiff
path: root/bfd
Commit message (Collapse)AuthorAgeFilesLines
* daily updateAlan Modra2013-01-081-1/+1
|
* include/elf/Yufeng Zhang2013-01-083-2/+106
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2013-01-08 Yufeng Zhang <yufeng.zhang@arm.com> * common.h (NT_ARM_TLS, NT_ARM_HW_BREAK, NT_ARM_HW_WATCH): New macro definitions. bfd/ 2013-01-08 Yufeng Zhang <yufeng.zhang@arm.com> * elf-bfd.h (elfcore_write_aarch_tls): Add prototype. (elfcore_write_aarch_hw_break): Likewise. (elfcore_write_aarch_hw_watch): Likewise. * elf.c (elfcore_grok_aarch_tls): New function. (elfcore_grok_aarch_hw_break): Likewise. (elfcore_grok_aarch_hw_watch): Likewise. (elfcore_grok_note): Call the new functions to handle the corresponding notes. (elfcore_write_aarch_tls): New function. (elfcore_write_aarch_hw_break): Likewise. (elfcore_write_aarch_hw_watch): Likewise. (elfcore_write_register_note): Call the new functions to handle the corresponding pseudo sections. binutils/ 2013-01-08 Yufeng Zhang <yufeng.zhang@arm.com> * readelf.c (get_note_type): Handle NT_ARM_TLS, NT_ARM_HW_BREAK and NT_ARM_HW_WATCH.
* daily updateAlan Modra2013-01-071-1/+1
|
* * section.c (_bfd_std_section): Rename from std_section.Tom Tromey2013-01-073-13/+20
| | | | | | (bfd_com_section_ptr, bfd_und_section_ptr, bfd_abs_section_ptr) (STD_SECTION): Update. * bfd-in2.h: Rebuild.
* * ld.texinfo: Replace @ with @@ when it is part of the text.Nick Clifton2013-01-072-5/+11
| | | | | | | | | Correct ordering of M68HC11 entry. * doc/binutils.texi: Fix ordering of top level nodes. Replace erroneous uses of @itemx with @item. * bfd.texinfo: Replace @ with @@ when it is part of the text.
* daily updateAlan Modra2013-01-061-1/+1
|
* daily updateAlan Modra2013-01-051-1/+1
|
* daily updateAlan Modra2013-01-041-1/+1
|
* * archures.c: Add support for MIPS r5900Nick Clifton2013-01-046-3/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * bfd-in2.h: Add support for MIPS r5900 * config.bfd: Add support for Sony Playstation 2 * cpu-mips.c: Add support for MIPS r5900 * elfxx-mips.c: Add support for MIPS r5900 (extension of r4000) * config/tc-mips.c: Add support for MIPS r5900 Add M_LQ_AB and M_SQ_AB to support large values for instructions lq and sq. * config/tc-mips.c (can_swap_branch_p, get_append_method): Detect some conditional short loops to fix a bug on the r5900 by NOP in the branch delay slot. * config/tc-mips.c (M_MUL): Support 3 operands in multu on r5900. * config/tc-mips.c (M_TRUNCWS): Support trunc.w.s on r5900 in MIPS ISA I. * config/tc-mips.c (s_mipsset): Force 32 bit floating point on r5900. * configure.in: Detect CPU type when target string contains r5900 (e.g. mips64r5900el-linux-gnu). * config/tc-mips.c (mips_ip): Check parameter range of instructions mfps and mtps on r5900. * elf/mips.h: Add MIPS machine variant number for r5900 which is compatible with old Playstation 2 software. * opcode/mips.h: Add support for r5900 instructions including lq and sq. * configure.tgt: Support ELF files for Sony Playstation 2 (for ps2dev and ps2sdk). * emulparams/elf32lr5900n32.sh: Create linker script for Sony Playstation 2 ELF files using MIPS ABI n32. * emulparams/elf32lr5900.sh: Create linker script for Sony Playstation 2 ELF files using MIPS ABI o32. * Makefile.am: Add linker scripts for Sony Playstation 2 ELF files. * opcodes/mips-dis.c: Add names for CP0 registers of r5900. * opcodes/mips-opc.c: Add M_SQ_AB and M_LQ_AB to support larger range for instructions sq and lq. * opcodes/mips-opc.c: Add support for MIPS r5900 CPU. Add support for 128 bit MMI (Multimedia Instructions). Add support for EE instructions (Emotion Engine). Disable unsupported floating point instructions (64 bit and undefined compare operations). Enable instructions of MIPS ISA IV which are supported by r5900. Disable 64 bit co processor instructions. Disable 64 bit multiplication and division instructions. Disable instructions for co-processor 2 and 3, because these are not supported (preparation for later VU0 support (Vector Unit)). Disable cvt.w.s because this behaves like trunc.w.s and the correct execution can't be ensured on r5900. Add trunc.w.s using the opcode encoding of cvt.w.s on r5900. This will confuse less developers and compilers.
* daily updateAlan Modra2013-01-031-1/+1
|
* * elflink.c (get_value): Prevent the use of an undefined shiftNick Clifton2013-01-032-12/+36
| | | | operation. Add sanity checks.
* daily updateAlan Modra2013-01-021-1/+1
|
* opcodes/ChangeLogNick Clifton2013-01-023-3286/+3305
| | | | | | | | | | | | | | * cr16-dis.c (match_opcode,make_instruction: Remove static declaration. (dwordU,wordU): Moved typedefs to opcode/cr16.h (cr16_words,cr16_allWords,cr16_currInsn): Added prefix 'cr16_' bfd/Changelog * config.bfd (cr16*-*-uclinux*): New target support. include/opcode/ChangeLog * cr16.h (dwordU,wordU): Moved typedefs from cr16-dis.c (make_instruction,match_opcode): Added function prototypes. (cr16_words,cr16_allWords,cr16_currInsn): Declare as extern.
* daily updateAlan Modra2013-01-011-1/+1
|
* daily updateAlan Modra2012-12-311-1/+1
|
* daily updateAlan Modra2012-12-301-1/+1
|
* daily updateAlan Modra2012-12-291-1/+1
|
* daily updateAlan Modra2012-12-281-1/+1
|
* daily updateAlan Modra2012-12-271-1/+1
|
* daily updateAlan Modra2012-12-261-1/+1
|
* daily updateAlan Modra2012-12-251-1/+1
|
* daily updateAlan Modra2012-12-241-1/+1
|
* bfd: also enable x86_64pei_vec for 64bit i386-linux targetsMike Frysinger2012-12-242-1/+6
| | | | | | | | We enable x86_64pei_vec for x86_64-linux targets, so we should list this in the 64bit i386-linux vec section. This is useful for when we want to build 64bit EFI code on an i386 system. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* daily updateAlan Modra2012-12-231-1/+1
|
* daily updateAlan Modra2012-12-221-1/+1
|
* daily updateAlan Modra2012-12-211-1/+1
|
* Check R_X86_64_standard for unrecognized relocationH.J. Lu2012-12-212-1/+10
| | | | | | * elf64-x86-64.c (elf_x86_64_relocate_section): Check R_X86_64_standard instead of R_X86_64_max for unrecognized relocation.
* Properly adjust h->plt.refcountH.J. Lu2012-12-213-2/+15
| | | | | | | | | | | | | | | | | | bfd/ PR ld/14980 * elf32-i386.c (elf_i386_adjust_dynamic_symbol): Properly adjust h->plt.refcount. * elf64-x86-64.c (elf_x86_64_adjust_dynamic_symbol): Likewise. ld/testsuite/ PR ld/14980 * ld-ifunc/ifunc-14c.s: New file. * ld-ifunc/ifunc-14e-i386.d: Likewise. * ld-ifunc/ifunc-14e-x86-64.d: Likewise. * ld-ifunc/ifunc-14f-i386.d: Likewise. * ld-ifunc/ifunc-14f-x86-64.d: Likewise.
* daily updateAlan Modra2012-12-201-1/+1
|
* daily updateAlan Modra2012-12-191-1/+1
|
* Fix indentation in the last checkinH.J. Lu2012-12-191-1/+1
|
* Fix and use elf_append_relH.J. Lu2012-12-193-50/+23
| | | | | | | | | * elf32-i386.c (elf_i386_relocate_section): Replace bfd_elf32_swap_reloc_out with elf_append_rel. (elf_i386_finish_dynamic_symbol): Likewise. * elflink.c (elf_append_rel): Call swap_reloc_out instead of swap_reloca_out.
* Reindent elf_i386_finish_dynamic_symbolH.J. Lu2012-12-192-1/+5
| | | | * elf32-i386.c (elf_i386_finish_dynamic_symbol): Reindent.
* daily updateAlan Modra2012-12-181-1/+1
|
* PR ld/14736Michael Eager2012-12-182-23/+37
| | | | | | | | | | | | bfd: * elf32-microblaze.c (calc_fixup): Add end range. gas/testsuite: * gas/microblaze/relax_size.exp: New file - test object size after linker relaxation * gas/microblaze/relax_size.s: Likewise * gas/microblaze/relax_size.elf: Likewise * gas/microblaze/relax_size2.s: Likewise * gas/microblaze/relax_size2.elf: Likewise
* * elf.c (swap_out_syms): Set shndx to SHN_ABS when not one ofAlan Modra2012-12-182-0/+6
| | | | the special MAP_* values.
* daily updateAlan Modra2012-12-171-1/+1
|
* bfd/Roland McGrath2012-12-172-0/+9
| | | | | * elf32-arm.c (elf32_arm_size_stubs): Skip input BFDs that are not ARM ELF.
* Add copyright noticesNick Clifton2012-12-1721-7/+274
|
* Don't check IFUNC relocations in elf_*_check_relocsH.J. Lu2012-12-163-143/+10
| | | | | | * elf32-i386.c (elf_i386_check_relocs): Don't check IFUNC relocations here. * elf64-x86-64.c (elf_x86_64_check_relocs): Likewise.
* daily updateAlan Modra2012-12-161-1/+1
|
* Also check local IFUNC referencesH.J. Lu2012-12-163-7/+18
| | | | | | | | | | | | | | | | | | | | | | | | | bfd/ PR ld/14968 * elf32-i386.c (elf_i386_adjust_dynamic_symbol): Also check local IFUNC references. * elf64-x86-64.c (elf_x86_64_adjust_dynamic_symbol): Likewise. ld/testsuite/ PR ld/14968 * ld-ifunc/ifunc-18a-i386.d: New file. * ld-ifunc/ifunc-18a-x86-64.d: Likewise. * ld-ifunc/ifunc-18a.s: Likewise. * ld-ifunc/ifunc-18b-i386.d: Likewise. * ld-ifunc/ifunc-18b-x86-64.d: Likewise. * ld-ifunc/ifunc-18b.s: Likewise. * ld-ifunc/ifunc-19a-i386.d: Likewise. * ld-ifunc/ifunc-19a-x86-64.d: Likewise. * ld-ifunc/ifunc-19a.s: Likewise. * ld-ifunc/ifunc-19b-i386.d: Likewise. * ld-ifunc/ifunc-19b-x86-64.d: Likewise. * ld-ifunc/ifunc-19b.s: Likewise.
* daily updateAlan Modra2012-12-151-1/+1
|
* daily updateAlan Modra2012-12-141-1/+1
|
* gdbTom Tromey2012-12-142-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * NEWS: Mention "info proc" and core files. * corelow.c (core_info_proc): New function. (init_core_ops): Set to_info_proc. * gdbarch.c, gdbarch.h: Rebuild. * gdbarch.sh (core_info_proc): New method. * infcmd.c (info_proc_cmd_1): Invoke target_info_proc first. * linux-tdep.c (linux_core_info_proc_mappings) (linux_core_info_proc): New functions. (linux_find_memory_region_ftype): New typedef. (linux_find_memory_regions_full): New function, from linux_find_memory_regions. (struct linux_find_memory_regions_data): New. (linux_find_memory_regions_thunk): New function. (linux_find_memory_regions): Rewrite. (struct linux_make_mappings_data): New. (linux_make_mappings_callback) (linux_make_mappings_corefile_notes): New functions. (linux_make_corefile_notes): Call linux_make_mappings_corefile_notes. (linux_init_abi): Call set_gdbarch_core_info_proc. * target.c (target_info_proc): Return 'int'. * target.h (target_info_proc): Update. gdb/doc * gdb.texinfo (SVR4 Process Information): Mention core files. gdb/testsuite * gdb.base/info-proc.exp: Add core file tests. bfd * elf.c (elfcore_grok_note) <NT_FILE>: New case.
* daily updateAlan Modra2012-12-141-1/+1
|
* Check local IFUNC callsH.J. Lu2012-12-133-6/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | bfd/ 2012-12-13 H.J. Lu <hongjiu.lu@intel.com> PR ld/14956 * elf32-i386.c (elf_i386_adjust_dynamic_symbol): Check local IFUNC calls. * elf64-x86-64.c (elf_x86_64_adjust_dynamic_symbol): Likewise. ld/testsuite/ 2012-12-13 H.J. Lu <hongjiu.lu@intel.com> PR ld/14956 * ld-ifunc/ifunc-14-i386.d: Renamed to ... * ld-ifunc/ifunc-14a-i386.d: This. * ld-ifunc/ifunc-14-x86-64.d: Renamed to ... * ld-ifunc/ifunc-14a-x86-64.d: This. * ld-ifunc/ifunc-14b-i386.d: New file. * ld-ifunc/ifunc-14b-x86-64.d: Likewise. * ld-ifunc/ifunc-14c-i386.d: Likewise. * ld-ifunc/ifunc-14c-x86-64.d: Likewise. * ld-ifunc/ifunc-14d-i386.d: Likewise. * ld-ifunc/ifunc-14d-x86-64.d: Likewise.
* daily updateAlan Modra2012-12-121-1/+1
|
* daily updateAlan Modra2012-12-111-1/+1
|
* Microblaze: Add support for handling TLS symbol suffixes and generatingMichael Eager2012-12-115-121/+608
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TLS relocs for General Dynamic and Local Dynamic models. bfd/Changelog * reloc.c: Add new relocations * bfd-in2.h: Regenerated * libbfd.h: Regenerated * elf32-microblaze.c (microblaze_elf_howto_raw): Add TLS relocations (microblaze_elf_reloc_type_lookup): Likewise (elf32_mb_link_hash_entry): define TLS reference types (elf32_mb_link_hash_table): add TLS Local dynamic GOT entry #define has_tls_reloc if section has TLS relocs (dtprel_base), (check_unique_offset): New (microblaze_elf_output_dynamic_relocation): output simple dynamic relocation into SRELOC. (microblaze_elf_relocate_section): Accommodate TLS relocations. (microblaze_elf_check_relocs): Likewise (update_local_sym_info): New (microblaze_elf_copy_indirect_symbol): Add tls_mask. (allocate_dynrelocs): Handle TLS symbol (microblaze_elf_size_dynamic_sections): Set size and offset (microblaze_elf_finish_dynamic_symbol): Use microblaze_elf_output_dynamic_relocation gas/Changelog * config/tc-microblaze.c: Define TLS offsets (md_relax_table): Add TLS offsets (imm_types), (match_imm), (get_imm_otype): New to support TLS offsets. (tc_microblaze_fix_adjustable): Add TLS relocs. (md_convert_frag): Support TLS offsets. (md_apply_fix), (md_estimate_size_before_relax), (tc_gen_reloc): Add TLS relocs include/Changelog * elf/microblaze.h: Add TLS relocs to START_RELOC_NUMBERS