gdb and binutils branch hjl/copyreloc created. 8efba8ea4ebe0d2cf34ee71f06f6b601a12004ee
Wed Dec 3 13:34:00 GMT 2014

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gdb and binutils".

The branch, hjl/copyreloc has been created
        at  8efba8ea4ebe0d2cf34ee71f06f6b601a12004ee (commit)

- Log -----------------------------------------------------------------;h=8efba8ea4ebe0d2cf34ee71f06f6b601a12004ee

commit 8efba8ea4ebe0d2cf34ee71f06f6b601a12004ee
Author: H.J. Lu <>
Date:   Tue Dec 2 15:14:28 2014 -0800

    X86-64: Allow copy relocs for building PIE
    This patch allows copy relocs for non-GOT pc-relative relocation in PIE.
    	* elf64-x86-64.c (elf_x86_64_create_dynamic_sections): Always
    	allow copy relocs for building executables.
    	(elf_x86_64_adjust_dynamic_symbol): Allocate copy relocs for
    	(elf_x86_64_allocate_dynrelocs): For PIE, discard space for
    	relocs against symbols which turn out to need copy relocs.
    	(elf_x86_64_relocate_section): Don't copy a pc-relative
    	relocation into the output file if the symbol needs copy reloc.
    	* ld-x86-64/copyreloc-lib.c: New file.
    	* ld-x86-64/copyreloc-main.c: Likewise.
    	* ld-x86-64/copyreloc-main.out: Likewise.
    	* ld-x86-64/copyreloc-main1.rd: Likewise.
    	* ld-x86-64/copyreloc-main2.rd: Likewise.
    	* ld-x86-64/x86-64.exp: Run copyreloc tests.


gdb and binutils

More information about the Src-cvs mailing list