Age | Commit message (Collapse) | Author | Files | Lines |
|
even if SEC_ALLOC is not set.
* elf32-i386.c (elf_i386_check_relocs): Don't check SEC_ALLOC
when deciding whether to copy a reloc into a shared object.
(elf_i386_relocate_section): Likewise.
* elf32-sparc.c (elf32_sparc_check_relocs): Likewise.
(elf32_sparc_relocate_section): Likewise.
* elf32-i386.c (elf_i386_check_relocs): Don't set SEC_ALLOC in a
reloc section if it is not set in the source section.
* elf32-sparc.c (elf32_sparc_check_relocs): Likewise.
* elf.c (bfd_section_from_shdr): Mark a reloc section associated
with a SEC_DEBUGGING section as SEC_DEBUGGING.
PR 11174.
|
|
|
|
message for bfd_reloc_outofrange, rather than aborting. From
Philippe De Muyter <phdm@info.ucl.ac.be>.
|
|
a relocateable link, don't try to process them. From Heinz Wrobel
<wrobel@lpr.e-technik.tu-muenchen.de>.
|
|
mn10300-Info_howto_rel. Tweak reloc argument to be an
Elf32_Internal_Rela.
(USE_RELA): Define instead of USE_REL.
(elf_info_to_howto, elf_info_howto_rel): Corresponding changes.
|
|
* irix-core.c (irix_core_core_file_p): Accept CORE_MAGICN32
core files.
|
|
relocation against a symbol defined in a section with no output
section.
PR 11174.
|
|
* configure, config.in: Rebuild with autoconf 2.12.
|
|
* elf.c (_bfd_elf_link_hash_newfunc): Initialize other field.
(swap_out_syms): Set st_other from existing st_other field.
* elflink.h (elf_link_add_object_symbols): Store st_other in hash
table other field.
(elf_link_output_extsym): Set the other field from the global hash
table entry.
* elf32-mips.c (enum reloc_type): Add R_MIPS16_26.
(elf_mips16_jump_howto): New static variable.
(mips16_jump_reloc): New static function.
(bfd_elf32_bfd_reloc_type_lookup): Handle BFD_RELOC_MIPS16_JMP.
(mips_info_to_howto_rel): Handle R_MIPS16_26.
(mips_elf_relocate_section): Handle R_MIPS16_26. Handle R_MIPS_26
to a mips16 symbol.
* reloc.c (BFD_RELOC_MIPS16_JMP): Add to list of relocs.
* bfd-in2.h, libbfd.h: Rebuild.
* cpu-mips.c (arch_info_struct): Add mips:16 entry.
|
|
|
|
(enum reloc_type): Add more reloc types.
(elf32_mn10300_howto_table): Update for new reloc types.
(elf32_mn10300_reloc_map): Update for new reloc types.
* reloc.c: Add some new relocs for the mn10300 series.
* bfd-in2.h, libbfd.h: Rebuilt.
Last week's reloc work.
|
|
no data, but some symbols.
binutils/11140
|
|
(sunos_link_hash_table_create): Initialize got_needed.
(sunos_create_dynamic_sections): Only set .got section size if it
is not already set. Set got_needed.
(bfd_sunos_size_dynamic_sections): Check got_needed. Only set
sdynptr, and only handle dynamic sections, if dynamic sections are
needed.
(sunos_scan_std_relocs): Pass false to create_dynamic_sections.
Initialize .got section.
(sunos_scan_ext_relocs): Likewise.
(sunos_write_dynamic_symbol): Set up PLT entry even if this is not
a dynamic symbol.
(sunos_finish_dynamic_link): Check got_needed. Only set up
dynamic linking information if needed.
PR 11074.
|
|
|
|
|
|
* ihex.c: Add casts to eliminate compiler warnings.
* sunos.c: Add casts to eliminate compiler warnings.
|
|
|
|
complain_overflow_unsigned.
|
|
|
|
* elf32-d10v.c (elf_d10v_howto_table): Don't complain on
overflows for R_D10V_16 and R_D10V_18.
|
|
(do_with_relocs): Likewise.
(do_as_repeat): Likewise.
(copy_expression): Likewise.
PR 10946.
|
|
|
|
char, short & long sizes.
(elf32_v850_bfd_final_link_relocate): Fix sign extension
problems for several relocs.
Still fixing sda/tda/zda stuff.
|
|
Store import file index in ldindx.
(xcoff_build_ldsyms): Assume that ldsym was not previously
allocated. For an imported symbol, copy ldindx into l_ifile.
|
|
R_V850_ZDAOFFSET and R_V850_TDAOFFSET. Fix various
fields in R_V850_TDAOFFSET.
(elf32_v850_bfd_final_link_relocate): Tweak pc-relative
relocs to work more like other relocs. Handle R_V850_TDAOFF
relocations.
v850 tda, sda & zda stuff.
|
|
(bfd_elf32_v850_reloc): Return an error if we get a reloc
we can't handle.
(elf32_v850_bfd_final_link_relocate): New function.
(v850_elf_relocation_section): Likewise.
(elf_backend_relocate_section): Define.
New-style linker for the v850 (necessary to handle zda, sda & tda).
sda & tda relocs seem to be working. No tda reloc support yet.
|
|
don't have SEC_LOAD and SEC_ALLOC set.
PR 10914.
|
|
(mips32_64bit_reloc): New static function.
(mips_reloc_map): Add entry for BFD_RELOC_64.
(mips_elf_relocate_section): Handle R_MIPS_64.
|
|
symbols in the .bss section.
Something Stu noticed.
|
|
when attempting to do a relocateable link with different object
file formats, rather than calling abort.
|
|
* bfd-in2.h, libbfd.h: Regenerated.
* elf32-m32r.c: Update.
(m32r_elf_10_pcrel_reloc): New function.
(elf_m32r_howto_table, R_M32R_10_PCREL entry): Use it.
(elf_m32r_howto_table, R_M32R_24 entry): Fix {src,dst}_masks.
|
|
R_V850_TDA_OFFSET and R_V850_ZDA_OFFSET.
(elf_v850_howto_table): Corresponding changes.
(elf_v850_reloc_map): Corresponding changes.
* reloc.c: Add additional V850 relocations.
* bfd-in2.h, libbfd.h: Rebuilt.
|
|
all sections that will be included in the output file.
(_bfd_generic_link_output_symbols): Discard symbols in sections
which are being discarded.
Fixes 4 failures in the g++ testsuite on the v850.
|
|
no longer want in pc-relative relocs.
Fixing some g++ testsuite failures.
|
|
accept a reloc against an undefined sybmol!
jeez. I'm going to go sit in the corner and hide.
|
|
|
|
|
|
PAGE_SIZE, for recent versions of FreeBSD.
|
|
host, since both gcc and the SunPRO compilers support it.
|
|
* reloc.c: Create a new BFD_RELOC_ALPHA_ELF_LITERAL. It was a
mistake to have reused the ECOFF LITERAL for ELF since they have
different semantics.
* elf64-alpha.c (elf_reloc_map): Map from ELF_LITERAL.
* bfd-in2.h, libbfd.h: Rebuild.
* elf64-alpha.c (elf64_alpha_size_dynamic_sections): Trap .got
section overflow.
* elf64-alpha.c (elf64_alpha_relocate_section): Do not emit a
dynamic relocation for an undefweak symbol when we are building
a static executable.
|
|
point explicitly to srcdir.
(targmatch.h): Edit references to point explicitly to objdir.
|
|
linux-gnu.
|
|
definition in a dynamic object, add it to the dynamic symbol table
if any dynamic object mentions it. Reverts part of last patch.
PR 10827.
|
|
(sunos_link_hash_table_create): Initialize got_base.
(bfd_sunos_size_dynamic_sections): If the .got section is more
than 0x1000 bytes, set __GLOBAL_OFFSET_TABLE_ and got_base to
0x1000.
(sunos_check_dynamic_reloc): Subtract got_base from a base
relative relocation.
PR 10684.
|
|
under the Microsoft build environment).
|
|
(_bfd_mips_elf_merge_private_bfd_data): Don't warn about linking
-mips1 and -mips2 code together, or -mips3 and -mips4 code.
|
|
endian for i960 COFF.
|
|
by the change in size of the section when EXEC_P is not set.
|
|
(m68kcoff_rtype_to_howto): New static function.
* cf-m68klynx.c (coff_m68k_lynx_rtype_to_howto): Add the section
VMA to the addend for a PC relative reloc.
|
|
HP/UX 10.20.
* Makefile.in: Rebuild dependencies.
|