This is the mail archive of the binutils@sources.redhat.com 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]

Handle R_X86_64_64...



We didn't handle all relocations for x86-64, I'm committing this patch
now.

Andreas

2001-05-29  Andreas Jaeger  <aj@suse.de>

	* elf64-x86-64.c (elf64_x86_64_check_relocs): Handle R_X86_64_64.
	(elf64_x86_64_relocate_section): Likewise.

============================================================
Index: bfd/elf64-x86-64.c
--- bfd/elf64-x86-64.c	2001/05/28 15:45:47	1.16
+++ bfd/elf64-x86-64.c	2001/05/30 18:42:38
@@ -501,6 +501,7 @@
 	    h->plt.refcount += 1;
 	  break;
 
+	case R_X86_64_64:
 	case R_X86_64_32:
 	case R_X86_64_32S:
 	case R_X86_64_PC32:
@@ -1435,6 +1436,7 @@
 	case R_X86_64_8:
 	case R_X86_64_16:
 	case R_X86_64_32:
+	case R_X86_64_64:
 	case R_X86_64_PC8:
 	case R_X86_64_PC16:
 	case R_X86_64_PC32:

-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj


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