[Odcctools-changes] [144] trunk
source_changes at macosforge.org
source_changes at macosforge.org
Tue Sep 12 13:42:21 PDT 2006
Revision: 144
Author: ssen at mit.edu
Date: 2006-09-12 13:42:19 -0700 (Tue, 12 Sep 2006)
Log Message:
-----------
add x86_64 diffs
Modified Paths:
--------------
trunk/patches/ld64/ld64-case-variables.diff
Added Paths:
-----------
trunk/files/as/x86_64/
trunk/files/as/x86_64/Makefile.in
Added: trunk/files/as/x86_64/Makefile.in
===================================================================
--- trunk/files/as/x86_64/Makefile.in (rev 0)
+++ trunk/files/as/x86_64/Makefile.in 2006-09-12 20:42:19 UTC (rev 144)
@@ -0,0 +1,6 @@
+ARCH = x86_64
+
+CFILES_x86_64 = i386.c
+MYDEFS_x86_64 = -DI386 -Di486 -Di586 -Di686 -DARCH64
+MYLIBS_x86_64 = -lstuff64
+
Modified: trunk/patches/ld64/ld64-case-variables.diff
===================================================================
--- trunk/patches/ld64/ld64-case-variables.diff 2006-09-12 04:17:11 UTC (rev 143)
+++ trunk/patches/ld64/ld64-case-variables.diff 2006-09-12 20:42:19 UTC (rev 144)
@@ -54,3 +54,21 @@
case N_LBRAC:
case N_RBRAC:
case N_SLINE:
+@@ -2777,7 +2777,7 @@
+ else
+ makeReferenceToSymbol(x86_64::kPCRel32GOTLoad, srcAddr, targetSymbol, addend);
+ break;
+- case X86_64_RELOC_SUBTRACTOR:
++ case X86_64_RELOC_SUBTRACTOR: {
+ if ( reloc->r_pcrel() )
+ throw "X86_64_RELOC_SUBTRACTOR cannot be pc-relative";
+ if ( reloc->r_length() < 2 )
+@@ -2839,7 +2839,7 @@
+ ref->setFromTargetOffset(-dstAddr);
+ else
+ ref->setToTargetOffset(dstAddr);
+- break;
++ } break;
+ default:
+ fprintf(stderr, "unknown relocation type %d\n", reloc->r_type());
+ }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/odcctools-changes/attachments/20060912/339ac1bb/attachment.html
More information about the Odcctools-changes
mailing list