summaryrefslogtreecommitdiff
path: root/bfd
Commit message (Collapse)AuthorAgeFilesLines
* 2007-08-22 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2007-08-223-6/+11
| | | | | * elf64-x86-64.c: Remove trailing whitespace. * elfxx-ia64.c: Likewise.
* daily updateAlan Modra2007-08-221-1/+1
|
* 2007-08-21 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2007-08-213-11/+26
| | | | | | | | | | | | | | | * elf32-i386.c (elf_i386_tls_transition): Accept a pointer to ELF hash entry instead of an integer for local test. (elf_i386_check_relocs): Updated. (elf_i386_gc_sweep_hook): Likewise. (elf_i386_relocate_section): Likewise. * elf64-x86-64.c (elf64_x86_64_tls_transition): Accept a pointer to ELF hash entry instead of an integer for local test. (elf64_x86_64_check_relocs): Updated. (elf64_x86_64_gc_sweep_hook): Likewise. (elf64_x86_64_relocate_section): Likewise.
* daily updateAlan Modra2007-08-211-1/+1
|
* 2007-08-20 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2007-08-203-2/+9
| | | | | * elf32-i386.c (elf_i386_tls_transition): Break long line. * elf64-x86-64.c (elf64_x86_64_tls_transition): Likewise.
* Revision of previous delta using bfd_vma cast instead of 1L.Nick Clifton2007-08-201-1/+1
|
* 2007-08-20 Jan Kratochvil <jan.kratochvil@redhat.com>Jan Kratochvil2007-08-202-4/+17
| | | | | | * elfxx-target.h [ELF_COMMONPAGESIZE && ELF_MAXPAGESIZE] (ELF_MINPAGESIZE): Fixed its size guess. Sanity checked its size. (ELF_COMMONPAGESIZE, ELF_MAXPAGESIZE): Sanity checked their size.
* * elflink.c (elf_fixup_link_order): Rewrite conversion of s->alignment_powerNick Clifton2007-08-202-1/+7
| | | | into an offset mask in order to avoid a gcc error message.
* daily updateAlan Modra2007-08-201-1/+1
|
* daily updateAlan Modra2007-08-191-1/+1
|
* daily updateAlan Modra2007-08-181-1/+1
|
* * config.bfd: Handle sparcv*-*-linux-* the same as sparc-*-linux-*.Jakub Jelinek2007-08-172-2/+7
| | | | | | | | | | | | | | Change sparc64-*-linux-* to sparc64*-*-linux-*. * configure.host: Handle sparcv*-*-linux-* the same as sparc-*-linux-*. Change sparc64-*-linux-* to sparc64*-*-linux-*. * ld-sparc/tlssunnopic32.dd: Fix up #target. * ld-sparc/tlssunnopic32.rd: Likewise. * ld-sparc/tlssunnopic32.sd: Likewise. * ld-sparc/tlssunnopic64.dd: Likewise. * ld-sparc/tlssunnopic64.rd: Likewise. * ld-sparc/tlssunnopic64.sd: Likewise.
* * po/Make-in: Add --msgid-bugs-address to xgettext invocation.Alan Modra2007-08-172-0/+6
|
* daily updateAlan Modra2007-08-171-1/+1
|
* bfd/H.J. Lu2007-08-162-66/+36
| | | | | | | | | | | | | | | | | | 2007-08-16 H.J. Lu <hongjiu.lu@intel.com> * elf.c: Revert last change. binutils/ 2007-08-16 H.J. Lu <hongjiu.lu@intel.com> * readelf.c: Revert last change. include/elf/ 2007-08-16 H.J. Lu <hongjiu.lu@intel.com> * common.h: Revert last change.
* bfd/H.J. Lu2007-08-162-32/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | 2007-08-16 H.J. Lu <hongjiu.lu@intel.com> * elf.c (get_segment_type): Change PT_GNU_STACK to PT_GNU_ATTR. (bfd_section_from_phdr): Likewise. (get_program_header_size): Likewise. Add a PT_GNU_ATTR segment if there is an attribute section. (_bfd_elf_map_sections_to_segments): Likewise. (IS_SECTION_IN_INPUT_SEGMENT): Likewise. binutils/ 2007-08-16 H.J. Lu <hongjiu.lu@intel.com> * readelf.c (get_segment_type): Change PT_GNU_STACK to PT_GNU_ATTR. include/elf/ 2007-08-16 H.J. Lu <hongjiu.lu@intel.com> * common.h (PT_GNU_STACK): Renamed to ... (PT_GNU_ATTR): This. (PT_GNU_STACK): New. Make an alias of PT_GNU_ATTR.
* daily updateAlan Modra2007-08-161-1/+1
|
* daily updateAlan Modra2007-08-151-1/+1
|
* bfd/H.J. Lu2007-08-143-10/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-08-14 H.J. Lu <hongjiu.lu@intel.com> PR ld/4918 * elf32-i386.c (elf_i386_relocate_section): Allow R_386_PC32 on ___tls_get_addr for GD->LE/LD->LE transitions when not building shared library. * elf64-x86-64.c (elf64_x86_64_relocate_section): Allow R_X86_64_PC32 on __tls_get_addr for GD->LE/LD->LE transitions when not building shared library. ld/testsuite/ 2007-08-14 H.J. Lu <hongjiu.lu@intel.com> PR ld/4918 * ld-i386/i386.exp (i386tests): Add tlsgd1 and tlsld1 tests. * ld-x86-64/x86-64.exp (x86_64tests): Likewise. * ld-i386/tlsgd1.dd: New file. * ld-i386/tlsgd1.s: Likewise. * ld-i386/tlsld1.dd: Likewise. * ld-i386/tlsld1.s: Likewise. * ld-x86-64/tlsgd1.dd: Likewise. * ld-x86-64/tlsgd1.s: Likewise. * ld-x86-64/tlsld1.dd: Likewise. * ld-x86-64/tlsld1.s: Likewise.
* 2007-08-14 Jan Kratochvil <jan.kratochvil@redhat.com>Jan Kratochvil2007-08-142-10/+19
| | | | | | | * elfcode.h (NAME(_bfd_elf,bfd_from_remote_memory)): LOADBASE is now initialized only on the first PT_LOAD. New variable LOADBASE_SET. Removed PF_R checking for IA-64 vDSOs as redundant now. Code advisory: Roland McGrath
* daily updateAlan Modra2007-08-141-1/+1
|
* bfd/Richard Sandiford2007-08-132-16/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * elfxx-mips.c (mips_elf_link_hash_table): Add computed_got_sizes. (mips_elf_record_global_got_symbol): Increment local_gotno for each forced-local symbol. (_bfd_mips_elf_check_relocs): Pass forced-local call symbols to mips_elf_record_global_got_symbol for VxWorks too. (_bfd_mips_elf_always_size_sections): Set computed_got_sizes to true after computing the GOT size. (_bfd_mips_elf_hide_symbol): Increase local_gotno whenever got.offset == 1. Only adjust global_gotno if computed_got_sizes. For VxWorks, add a local entry when hiding a symbol that needs a plt but has not been marked as needing a global got entry. (_bfd_mips_elf_link_hash_table_create): Set computed_got_sizes to false. ld/testsuite/ * ld-mips-elf/vxworks-forced-local-1.d, * ld-mips-elf/vxworks-forced-local-1.s, * ld-mips-elf/vxworks-forced-local-1.ver: New test. * ld-mips-elf/mips-elf.exp: Run it. * ld-mips-elf/tlsdyn-o32-2.d: Adjust for removal of unnecessary local GOT entry. * ld-mips-elf/tlsdyn-o32-2.got: Likewise. * ld-mips-elf/tlsdyn-o32-3.d: Likewise. * ld-mips-elf/tlsdyn-o32-3.got: Likewise. * ld-mips-elf/vxworks1-lib.dd: Likewise. * ld-mips-elf/vxworks1-lib.rd: Likewise.
* * coffgen.c (coff_get_normalized_symtab): Correct cast.Daniel Jacobowitz2007-08-132-1/+5
|
* * elf.c (elf_modify_segment_map): Add remove_empty_load param.Alan Modra2007-08-132-6/+18
| | | | | | | | Don't remove empty PT_LOAD header if false. (_bfd_elf_map_sections_to_segments): If user phdrs, pass false to elf_modify_segment_map. (assign_file_positions_for_load_sections): Pass false to elf_modify_segment_map.
* bfd/Alan Modra2007-08-132-41/+124
| | | | | | | | | | | | | | | | | | | | | | * elf64-ppc.c (ADDI_R12_R12, LD_R11_0R2, LD_R2_0R2): Define. Update stub comments. (build_plt_stub): Build two variants, one without "addis". (ppc_build_one_stub): Build stubs without "addis" if possible. (ppc_size_one_stub): Size new stubs. ld/testsuite/ * ld-powerpc/relbrlt.s (.text.pad2): Adjust space. * ld-powerpc/relbrlt.d: Update. * ld-powerpc/tlsexe.d: Update. * ld-powerpc/tlsexe.g: Update. * ld-powerpc/tlsexe.r: Update. * ld-powerpc/tlsexetoc.d: Update. * ld-powerpc/tlsexetoc.g: Update. * ld-powerpc/tlsexetoc.r: Update. * ld-powerpc/tlsso.d: Update. * ld-powerpc/tlsso.g: Update. * ld-powerpc/tlsso.r: Update. * ld-powerpc/tlstocso.d: Update. * ld-powerpc/tlstocso.g: Update.
* daily updateAlan Modra2007-08-131-1/+1
|
* daily updateAlan Modra2007-08-121-1/+1
|
* bfd/Richard Sandiford2007-08-112-0/+5
| | | | * config.bfd (sh-*-vxworks): Define targ_underscore to "yes".
* daily updateAlan Modra2007-08-111-1/+1
|
* daily updateAlan Modra2007-08-101-1/+1
|
* 2007-08-09 Michael Snyder <msnyder@access-company.com>Michael Snyder2007-08-092-1/+7
| | | | * aoutx.h (aout_get_external_symbols): Return if count is zero.
* 2007-08-09 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2007-08-092-0/+34
| | | | | | | PR ld/4909 * elf.c (print_segment_map): New function. (assign_file_positions_for_load_sections): Call print_segment_map when a section can't be allocated in segment.
* * opncls.c (bfd_openr_iovec): Fix the OPEN parameter macro expansion.Jan Kratochvil2007-08-092-1/+6
|
* daily updateAlan Modra2007-08-091-1/+1
|
* daily updateAlan Modra2007-08-081-1/+1
|
* * po/bfd.pot: Updated template.Nick Clifton2007-08-073-765/+788
| | | | * po/BLD-POTFILES.in: Regenerate.
* daily updateAlan Modra2007-08-071-1/+1
|
* * elf.c: (_bfd_elf_make_section_from_phdr): Properly handleAlan Modra2007-08-062-30/+54
| | | | bss segments.
* * Makefile.am (BUILD_HFILES): Clean bfd_stdint.h.Daniel Jacobowitz2007-08-063-2/+7
| | | | * Makefile.in: Regenerated.
* * configure.in: Update version to 2.18.50.Daniel Jacobowitz2007-08-063-2/+7
| | | | * configure: Regenerated.
* 2007-08-06 Paul Brook <paul@codesourcery.com>binutils-2_18-branchpointDaniel Jacobowitz2007-08-062-87/+90
| | | | | | | | | | | | | | | | | | | * elf32-arm.c (elf32_arm_link_hash_entry): Add plt_maybe_thumb_refcount. (elf32_arm_link_hash_newfunc): Set plt_maybe_thumb_refcount. (elf32_arm_copy_indirect_symbol): Ditto. (elf32_arm_adjust_dynamic_symbol): Ditto. (bfd_elf32_arm_process_before_allocation): Handle R_ARM_THM_JUMP24. (arm_add_to_rel): Ditto. (elf32_arm_final_link_relocate): Merge R_ARM_THM_JUMP24 with R_ARM_THM_CALL. Handle R_ARM_THM_JUMP19 against a PLT stub. (elf32_arm_gc_sweep_hook): Call check_use_blx. Update plt counts for R_ARM_THM_JUMP24 and R_ARM_THM_JUMP19. (elf32_arm_check_relocs): Update plt counts for R_ARM_THM_JUMP24 and R_ARM_THM_JUMP19. (allocate_dynrelocs): Use plt_maybe_thumb_refcount. (elf32_arm_finish_dynamic_symbol): Ditto. (elf32_arm_output_plt_map): Ditto.
* * elf.c (rewrite_elf_program_header): Handle sections not sortedDaniel Jacobowitz2007-08-062-3/+12
| | | | | by address. (copy_elf_program_header): Likewise.
* daily updateAlan Modra2007-08-061-1/+1
|
* daily updateAlan Modra2007-08-051-1/+1
|
* 2007-08-04 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2007-08-044-4/+11
| | | | | | | * elf-bfd.h (xvec_get_elf_backend_data): Add const. * elfcode.h (elf_object_p): Use xvec_get_elf_backend_data. * elfcore.h (elf_core_file_p): Likewise.
* daily updateAlan Modra2007-08-041-1/+1
|
* daily updateAlan Modra2007-08-031-1/+1
|
* bfd/H.J. Lu2007-08-022-20/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-08-02 H.J. Lu <hongjiu.lu@intel.com> * coffcode.h (ALIGN_SET): Removed. (ELIFALIGN_SET): Likewise. (coff_set_alignment_hook): Handle IMAGE_SCN_ALIGN_128BYTES, IMAGE_SCN_ALIGN_256BYTES, IMAGE_SCN_ALIGN_512BYTES, IMAGE_SCN_ALIGN_1024BYTES, IMAGE_SCN_ALIGN_2048BYTES, IMAGE_SCN_ALIGN_4096BYTES and IMAGE_SCN_ALIGN_8192BYTES. include/coff/ 2007-08-02 H.J. Lu <hongjiu.lu@intel.com> * pe.h (IMAGE_SCN_ALIGN_POWER_BIT_POS): New. (IMAGE_SCN_ALIGN_POWER_BIT_MASK): Likewise. (IMAGE_SCN_ALIGN_POWER_NUM): Likewise. (IMAGE_SCN_ALIGN_POWER_CONST): Likewise. (IMAGE_SCN_ALIGN_128BYTES): Likewise. (IMAGE_SCN_ALIGN_256BYTES): Likewise. (IMAGE_SCN_ALIGN_512BYTES): Likewise. (IMAGE_SCN_ALIGN_1024BYTES): Likewise. (IMAGE_SCN_ALIGN_2048BYTES): Likewise. (IMAGE_SCN_ALIGN_4096BYTES): Likewise. (IMAGE_SCN_ALIGN_8192BYTES): Likewise. (IMAGE_SCN_ALIGN_1BYTES): Redefined with IMAGE_SCN_ALIGN_POWER_CONST. (IMAGE_SCN_ALIGN_2BYTES): Likewise. (IMAGE_SCN_ALIGN_4BYTES): Likewise. (IMAGE_SCN_ALIGN_8BYTES): Likewise. (IMAGE_SCN_ALIGN_16BYTES): Likewise. (IMAGE_SCN_ALIGN_32BYTES): Likewise. (IMAGE_SCN_ALIGN_64BYTES): Likewise.
* daily updateAlan Modra2007-08-021-1/+1
|
* 2007-08-01 Michael Snyder <msnyder@access-company.com>Michael Snyder2007-08-012-1/+3
| | | | * vms-tir.c (new_section): Fix cut and paste error.