Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(129)

Side by Side Diff: binutils/bfd/elf64-x86-64.c

Issue 3505001: [binutils] fix x86-64 PLT entries (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/nacl-toolchain.git
Patch Set: final rebase for commit Created 10 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
None
OLDNEW
1 /* X86-64 specific support for 64-bit ELF 1 /* X86-64 specific support for 64-bit ELF
2 Copyright 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 2 Copyright 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
3 Free Software Foundation, Inc. 3 Free Software Foundation, Inc.
4 Contributed by Jan Hubicka <jh@suse.cz>. 4 Contributed by Jan Hubicka <jh@suse.cz>.
5 5
6 This file is part of BFD, the Binary File Descriptor library. 6 This file is part of BFD, the Binary File Descriptor library.
7 7
8 This program is free software; you can redistribute it and/or modify 8 This program is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by 9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 3 of the License, or 10 the Free Software Foundation; either version 3 of the License, or
(...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after
384 #define PLT_ENTRY_SIZE 16 384 #define PLT_ENTRY_SIZE 16
385 #endif 385 #endif
386 386
387 /* The first entry in a procedure linkage table looks like this. See the 387 /* The first entry in a procedure linkage table looks like this. See the
388 SVR4 ABI i386 supplement and the x86-64 ABI to see how this works. */ 388 SVR4 ABI i386 supplement and the x86-64 ABI to see how this works. */
389 389
390 #ifdef ELF64_NACL_C 390 #ifdef ELF64_NACL_C
391 static const bfd_byte elf64_x86_64_plt0_entry[PLT_ENTRY_SIZE] = 391 static const bfd_byte elf64_x86_64_plt0_entry[PLT_ENTRY_SIZE] =
392 { 392 {
393 0xff, 0x35, 8, 0, 0, 0, /* pushq GOT+8(%rip) */ 393 0xff, 0x35, 8, 0, 0, 0, /* pushq GOT+8(%rip) */

error: old chunk mismatch

OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698