mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-03 04:12:10 +08:00
06a6a421f2
bfd/ * elf32-i386.c (elf_i386_check_relocs): Count size relocation as PC-relative relocation. * elf64-x86-64.c (elf_x86_64_check_relocs): Count size relocation as PC-relative relocation. ld/testsuite/ * ld-size/size32-3-i386.d: New file. * ld-size/size32-3-x32.d: Likewise. * ld-size/size32-3-x86-64.d: Likewise. * ld-size/size32-3.s: Likewise.
277 lines
8.0 KiB
Plaintext
277 lines
8.0 KiB
Plaintext
2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
* elf32-i386.c (elf_i386_check_relocs): Count size relocation as
|
||
PC-relative relocation.
|
||
* elf64-x86-64.c (elf_x86_64_check_relocs): Count size relocation
|
||
as PC-relative relocation.
|
||
|
||
2013-01-16 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
* elf32-i386.c (elf_i386_check_relocs): Update R_386_SIZE32
|
||
check.
|
||
(elf_i386_relocate_section): Don't check TLS for R_386_SIZE32.
|
||
|
||
* elf64-x86-64.c (elf_x86_64_check_relocs): Update R_X86_64_SIZE32
|
||
and R_X86_64_SIZE64 check.
|
||
(elf_x86_64_relocate_section): Don't check TLS for R_X86_64_SIZE32
|
||
nor R_X86_64_SIZE64.
|
||
|
||
2013-01-16 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
* bfd-in2.h: Regenerated.
|
||
* libbfd.h: Likewise.
|
||
|
||
* elf32-i386.c (elf_howto_table): Fill R_386_SIZE32 entry.
|
||
(elf_i386_reloc_type_lookup): Support BFD_RELOC_SIZE32.
|
||
(elf_i386_check_relocs): Handle R_386_SIZE32.
|
||
(elf_i386_gc_sweep_hook): Likewise.
|
||
(elf_i386_relocate_section): Likewise.
|
||
|
||
* elf64-x86-64.c (x86_64_elf_howto_table): Fill R_X86_64_SIZE32
|
||
and R_X86_64_SIZE64 entries.
|
||
(x86_64_reloc_map): Add BFD_RELOC_SIZE32 and BFD_RELOC_SIZE64,
|
||
(elf_x86_64_rtype_to_howto): Handle R_X86_64_SIZE32 for x32.
|
||
(elf_x86_64_reloc_name_lookup): Likewise.
|
||
(elf_x86_64_check_relocs): Handle R_X86_64_SIZE32 and
|
||
R_X86_64_SIZE64.
|
||
(elf_x86_64_gc_sweep_hook): Likewise.
|
||
(elf_x86_64_relocate_section): Likewise.
|
||
|
||
* reloc.c (bfd_reloc_code_type): Add BFD_RELOC_SIZE32 and
|
||
BFD_RELOC_SIZE64.
|
||
|
||
2013-01-15 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
* elf64-x86-64.c (R_X86_64_standard): Replace R_X86_64_IRELATIVE
|
||
with R_X86_64_RELATIVE64.
|
||
|
||
2013-01-15 Nick Clifton <nickc@redhat.com>
|
||
|
||
* elf32-msp430.c: Fix spelling typo.
|
||
|
||
2013-01-15 Alan Modra <amodra@gmail.com>
|
||
|
||
* elf64-ppc.c (ppc64_elf_size_stubs): Default shared libs to
|
||
plt-thread-safe.
|
||
|
||
2013-01-14 Alan Modra <amodra@gmail.com>
|
||
|
||
PR binutils/14813
|
||
* bfdio.c (struct bfd_iovec <bclose>): Revert 2012-11-06.
|
||
(memory_bclose): Likewise. Return 0 on success.
|
||
* cache.c (cache_bclose): Likewise.
|
||
* opncls.c (opncls_bclose, bfd_close): Likewise.
|
||
* vms-lib.c (vms_lib_bclose): Likewise.
|
||
* libbfd.h: Regenerate.
|
||
|
||
2013-01-13 Alan Modra <amodra@gmail.com>
|
||
|
||
* elf-bfd.h (struct elf_link_hash_entry): Delete dynamic_weak.
|
||
Add ref_dynamic_nonweak.
|
||
* elflink.c (_bfd_elf_mark_dynamic_def_weak): Delete.
|
||
(_bfd_elf_merge_symbol): Don't call above function. Move
|
||
setting of ref_dynamic_nonweak and dynamic_def earlier. Don't
|
||
clear dynamic_def.
|
||
(elf_link_add_object_symbols): Delete redundant "override" test.
|
||
Don't set dynamic_def here.
|
||
(elf_link_output_extsym): Update.
|
||
|
||
2013-01-12 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
* elf32-i386.c (elf_i386_check_relocs): Set bfd errror for
|
||
normal and TLS symbol access.
|
||
* elf64-x86-64.c (elf_x86_64_check_relocs): Likewise.
|
||
|
||
2013-01-12 Alan Modra <amodra@gmail.com>
|
||
|
||
* elf-bfd.h (_bfd_elf_strtab_refcount): Declare.
|
||
* elf-strtab.c (_bfd_elf_strtab_refcount): New function.
|
||
* elflink.c (elf_add_dt_needed_tag): Use _bfd_elf_strtab_refcount.
|
||
|
||
2013-01-12 Alan Modra <amodra@gmail.com>
|
||
|
||
PR ld/12549
|
||
* elf-bfd.h (_bfd_elf_strtab_clear_refs): Declare.
|
||
(_bfd_elf_strtab_clear_all_refs): Define.
|
||
* elf-strtab.c (_bfd_elf_strtab_clear_refs): New function.
|
||
(_bfd_elf_strtab_clear_all_refs): Delete.
|
||
* elflink.c (elf_link_add_object_symbols): Clear out added
|
||
strtab refs. Correct handling of warning common symbols.
|
||
|
||
2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
* aout0.c: Remove trailing white spaces.
|
||
* archive.c: Likewise.
|
||
* archures.c: Likewise.
|
||
* bfd-in.h: Likewise.
|
||
* bfd-in2.h: Likewise.
|
||
* coff-alpha.c: Likewise.
|
||
* coff-i860.c: Likewise.
|
||
* coff-mips.c: Likewise.
|
||
* coff-ppc.c: Likewise.
|
||
* coff-tic80.c: Likewise.
|
||
* coff-x86_64.c: Likewise.
|
||
* coff-z80.c: Likewise.
|
||
* coffcode.h: Likewise.
|
||
* coffgen.c: Likewise.
|
||
* cofflink.c: Likewise.
|
||
* compress.c: Likewise.
|
||
* corefile.c: Likewise.
|
||
* cpu-arm.c: Likewise.
|
||
* cpu-avr.c: Likewise.
|
||
* cpu-bfin.c: Likewise.
|
||
* cpu-cr16.c: Likewise.
|
||
* cpu-cr16c.c: Likewise.
|
||
* cpu-crx.c: Likewise.
|
||
* cpu-h8300.c: Likewise.
|
||
* cpu-i386.c: Likewise.
|
||
* cpu-lm32.c: Likewise.
|
||
* cpu-m68k.c: Likewise.
|
||
* cpu-moxie.c: Likewise.
|
||
* cpu-msp430.c: Likewise.
|
||
* cpu-sh.c: Likewise.
|
||
* cpu-xc16x.c: Likewise.
|
||
* dwarf2.c: Likewise.
|
||
* ecofflink.c: Likewise.
|
||
* ecoffswap.h: Likewise.
|
||
* elf-ifunc.c: Likewise.
|
||
* elf-m10300.c: Likewise.
|
||
* elf-vxworks.c: Likewise.
|
||
* elf32-avr.c: Likewise.
|
||
* elf32-avr.h: Likewise.
|
||
* elf32-cr16.c: Likewise.
|
||
* elf32-cr16c.c: Likewise.
|
||
* elf32-cris.c: Likewise.
|
||
* elf32-crx.c: Likewise.
|
||
* elf32-frv.c: Likewise.
|
||
* elf32-hppa.c: Likewise.
|
||
* elf32-i860.c: Likewise.
|
||
* elf32-ip2k.c: Likewise.
|
||
* elf32-iq2000.c: Likewise.
|
||
* elf32-m32c.c: Likewise.
|
||
* elf32-m68hc1x.c: Likewise.
|
||
* elf32-msp430.c: Likewise.
|
||
* elf32-mt.c: Likewise.
|
||
* elf32-ppc.c: Likewise.
|
||
* elf32-rl78.c: Likewise.
|
||
* elf32-s390.c: Likewise.
|
||
* elf32-score.h: Likewise.
|
||
* elf32-sh-symbian.c: Likewise.
|
||
* elf32-sh.c: Likewise.
|
||
* elf32-spu.c: Likewise.
|
||
* elf32-tic6x.c: Likewise.
|
||
* elf32-v850.c: Likewise.
|
||
* elf32-xc16x.c: Likewise.
|
||
* elf32-xtensa.c: Likewise.
|
||
* elf64-alpha.c: Likewise.
|
||
* elf64-hppa.c: Likewise.
|
||
* elf64-ppc.c: Likewise.
|
||
* elf64-s390.c: Likewise.
|
||
* elfcore.h: Likewise.
|
||
* elflink.c: Likewise.
|
||
* elfxx-mips.c: Likewise.
|
||
* elfxx-sparc.c: Likewise.
|
||
* elfxx-tilegx.c: Likewise.
|
||
* ieee.c: Likewise.
|
||
* libcoff.h: Likewise.
|
||
* libpei.h: Likewise.
|
||
* libxcoff.h: Likewise.
|
||
* linker.c: Likewise.
|
||
* mach-o-i386.c: Likewise.
|
||
* mach-o-target.c: Likewise.
|
||
* mach-o.c: Likewise.
|
||
* mach-o.h: Likewise.
|
||
* mmo.c: Likewise.
|
||
* opncls.c: Likewise.
|
||
* pdp11.c: Likewise.
|
||
* pe-x86_64.c: Likewise.
|
||
* peXXigen.c: Likewise.
|
||
* pef-traceback.h: Likewise.
|
||
* pei-x86_64.c: Likewise.
|
||
* peicode.h: Likewise.
|
||
* plugin.c: Likewise.
|
||
* reloc.c: Likewise.
|
||
* riscix.c: Likewise.
|
||
* section.c: Likewise.
|
||
* som.c: Likewise.
|
||
* syms.c: Likewise.
|
||
* tekhex.c: Likewise.
|
||
* ticoff.h: Likewise.
|
||
* vaxbsd.c: Likewise.
|
||
* xcofflink.c: Likewise.
|
||
* xtensa-isa.c: Likewise.
|
||
|
||
2013-01-10 Will Newton <will.newton@imgtec.com>
|
||
|
||
* Makefile.am: Add Meta.
|
||
* Makefile.in: Regenerate.
|
||
* archures.c (bfd_mach_metag): New.
|
||
* bfd-in2.h: Regenerate.
|
||
* config.bfd: Add Meta.
|
||
* configure: Regenerate.
|
||
* configure.in: Add Meta.
|
||
* cpu-metag.c: New file.
|
||
* elf-bfd.h: Add Meta.
|
||
* elf32-metag.c: New file.
|
||
* elf32-metag.h: New file.
|
||
* libbfd.h: Regenerate.
|
||
* reloc.c: Add Meta relocations.
|
||
* targets.c: Add Meta.
|
||
|
||
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.
|
||
|
||
2013-01-07 Tom Tromey <tromey@redhat.com>
|
||
|
||
* section.c (_bfd_std_section): Rename from std_section.
|
||
(bfd_com_section_ptr, bfd_und_section_ptr, bfd_abs_section_ptr)
|
||
(STD_SECTION): Update.
|
||
* bfd-in2.h: Rebuild.
|
||
|
||
2013-01-04 Juergen Urban <JuergenUrban@gmx.de>
|
||
|
||
* archures.c (bfd_mach_mips5900): Define.
|
||
* bfd-in2.h: Regenerate.
|
||
* config.bfd: Add mips64-ps2-elf and mips-ps2-elf targets.
|
||
* cpu-mips.c: Add support for MIPS r5900.
|
||
* elfxx-mips.c: Add support for MIPS r5900 (extension of r4000).
|
||
|
||
2013-01-03 Nickolai Zeldovich <nickolai@csail.mit.edu>
|
||
Nick Clifton <nickc@redhat.com>
|
||
|
||
* elflink.c (get_value): Prevent the use of an undefined shift
|
||
operation. Add sanity checks.
|
||
|
||
2013-01-02 Kaushik Phatak <kaushik.phatak@kpitcummins.com>
|
||
|
||
* config.bfd (cr16*-*-uclinux*): New target support.
|
||
|
||
|
||
For older changes see ChangeLog-2012
|
||
|
||
Copyright (C) 2013 Free Software Foundation, Inc.
|
||
|
||
Copying and distribution of this file, with or without modification,
|
||
are permitted in any medium without royalty provided the copyright
|
||
notice and this notice are preserved.
|
||
|
||
Local Variables:
|
||
mode: change-log
|
||
left-margin: 8
|
||
fill-column: 74
|
||
version-control: never
|
||
End:
|