This is the mail archive of the binutils-cvs@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gdb and binutils branch master updated. c33205431ae179ed500f2840759a7624af1a23d4


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, master has been updated
       via  c33205431ae179ed500f2840759a7624af1a23d4 (commit)
      from  b13704181fe2e5d89f95342d9a173df8b9a1a34c (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=c33205431ae179ed500f2840759a7624af1a23d4

commit c33205431ae179ed500f2840759a7624af1a23d4
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Tue Nov 12 15:46:55 2013 -0800

    Add R_X86_64_PC32_BND and R_X86_64_PLT32_BND
    
    bfd/
    
    	* elf64-x86-64.c (x86_64_elf_howto_table): Add R_X86_64_PC32_BND
    	and R_X86_64_PLT32_BND.
    	(R_X86_64_standard): Replace R_X86_64_RELATIVE64 with
    	R_X86_64_PLT32_BND.
    	(IS_X86_64_PCREL_TYPE): Add R_X86_64_PLT32_BND.
    	(x86_64_reloc_map): Add BFD_RELOC_X86_64_PC32_BND and
    	BFD_RELOC_X86_64_PLT32_BND.
    	(elf_x86_64_check_relocs): Handle R_X86_64_PC32_BND and
    	R_X86_64_PLT32_BND.
    	(elf_x86_64_gc_sweep_hook): Likewise.
    	(elf_x86_64_relocate_section): Likewise.
    	* reloc.c (bfd_reloc_code_real): Add BFD_RELOC_X86_64_PC32_BND
    	and BFD_RELOC_X86_64_PLT32_BND.
    	* bfd-in2.h: Regenerated.
    	* libbfd.h: Likewise.
    
    gas/
    
    	* config/tc-i386.c (reloc): Add an argument, bnd_prefix, to
    	indicate if instruction has the BND prefix.  Return
    	BFD_RELOC_X86_64_PC32_BND instead of BFD_RELOC_32_PCREL if
    	bnd_prefix isn't zero.
    	(output_branch): Pass BFD_RELOC_X86_64_PC32_BND to frag_var
    	if needed.
    	(output_jump): Update reloc call.
    	(output_interseg_jump): Likewise.
    	(output_disp): Likewise.
    	(output_imm): Likewise.
    	(x86_cons_fix_new): Likewise.
    	(lex_got): Add an argument, bnd_prefix, to indicate if
    	instruction has the BND prefix.  Use BFD_RELOC_X86_64_PLT32_BND
    	if needed.
    	(x86_cons): Update lex_got call.
    	(i386_immediate): Likewise.
    	(i386_displacement): Likewise.
    	(md_apply_fix): Handle BFD_RELOC_X86_64_PC32_BND and
    	BFD_RELOC_X86_64_PLT32_BND.
    	(tc_gen_reloc): Likewise.
    	* config/tc-i386-intel.c (i386_operator): Update lex_got call.
    
    gas/testsuite/
    
    	* gas/i386/i386.exp: Run x86-64-mpx-branch-1 and
    	x86-64-mpx-branch-2 on 64-bit ELF targets.
    	* gas/i386/x86-64-mpx-branch-1.d: New file.
    	* gas/i386/x86-64-mpx-branch-1.s: Likewise.
    	* gas/i386/x86-64-mpx-branch-2.d: Likewise.
    	* gas/i386/x86-64-mpx-branch-2.s: Likewise.
    
    include/elf/
    
    	* x86-64.h: Add R_X86_64_PC32_BND and R_X86_64_PLT32_BND.
    
    ld/testsuite/
    
    	* ld-x86-64/mpx.exp: New file.
    	* ld-x86-64/mpx1.out: Likewise.
    	* ld-x86-64/mpx1a.c: Likewise.
    	* ld-x86-64/mpx1a.rd: Likewise.
    	* ld-x86-64/mpx1b.c: Likewise.
    	* ld-x86-64/mpx1c.c: Likewise.
    	* ld-x86-64/mpx1c.rd: Likewise.

-----------------------------------------------------------------------

Summary of changes:
 bfd/ChangeLog                                |   18 ++++++++
 bfd/bfd-in2.h                                |    2 +
 bfd/elf64-x86-64.c                           |   28 +++++++++++-
 bfd/libbfd.h                                 |    2 +
 bfd/reloc.c                                  |    4 ++
 gas/ChangeLog                                |   24 ++++++++++
 gas/config/tc-i386-intel.c                   |    4 +-
 gas/config/tc-i386.c                         |   55 ++++++++++++++++++------
 gas/testsuite/ChangeLog                      |    9 ++++
 gas/testsuite/gas/i386/i386.exp              |    2 +
 gas/testsuite/gas/i386/x86-64-mpx-branch-1.d |   28 ++++++++++++
 gas/testsuite/gas/i386/x86-64-mpx-branch-1.s |   18 ++++++++
 gas/testsuite/gas/i386/x86-64-mpx-branch-2.d |   28 ++++++++++++
 gas/testsuite/gas/i386/x86-64-mpx-branch-2.s |   18 ++++++++
 include/elf/ChangeLog                        |    4 ++
 include/elf/x86-64.h                         |    4 ++
 ld/testsuite/ChangeLog                       |   10 ++++
 ld/testsuite/ld-x86-64/mpx.exp               |   60 ++++++++++++++++++++++++++
 ld/testsuite/ld-x86-64/mpx1.out              |    2 +
 ld/testsuite/ld-x86-64/mpx1a.c               |    7 +++
 ld/testsuite/ld-x86-64/mpx1a.rd              |    3 +
 ld/testsuite/ld-x86-64/mpx1b.c               |    7 +++
 ld/testsuite/ld-x86-64/mpx1c.c               |   10 ++++
 ld/testsuite/ld-x86-64/mpx1c.rd              |    3 +
 24 files changed, 333 insertions(+), 17 deletions(-)
 create mode 100644 gas/testsuite/gas/i386/x86-64-mpx-branch-1.d
 create mode 100644 gas/testsuite/gas/i386/x86-64-mpx-branch-1.s
 create mode 100644 gas/testsuite/gas/i386/x86-64-mpx-branch-2.d
 create mode 100644 gas/testsuite/gas/i386/x86-64-mpx-branch-2.s
 create mode 100644 ld/testsuite/ld-x86-64/mpx.exp
 create mode 100644 ld/testsuite/ld-x86-64/mpx1.out
 create mode 100644 ld/testsuite/ld-x86-64/mpx1a.c
 create mode 100644 ld/testsuite/ld-x86-64/mpx1a.rd
 create mode 100644 ld/testsuite/ld-x86-64/mpx1b.c
 create mode 100644 ld/testsuite/ld-x86-64/mpx1c.c
 create mode 100644 ld/testsuite/ld-x86-64/mpx1c.rd


hooks/post-receive
-- 
gdb and binutils


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]