[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gcl-devel] Patch for s390x support
From: |
Jerry James |
Subject: |
[Gcl-devel] Patch for s390x support |
Date: |
Wed, 23 Jan 2013 08:32:08 -0700 |
Hello Camm,
The Fedora team that is working on IBM System z support found that
they need support for a new reloc type, too. They suggest this patch
for s390:
diff -up gcl-2.6.8/h/elf32_s390_reloc.h.s390 gcl-2.6.8/h/elf32_s390_reloc.h
--- gcl-2.6.8/h/elf32_s390_reloc.h.s390 2013-01-23 07:50:36.000000000 -0500
+++ gcl-2.6.8/h/elf32_s390_reloc.h 2013-01-23 07:50:43.000000000 -0500
@@ -5,3 +5,7 @@
case R_390_PC32:
add_val(where,~0L,s+a-p);
break;
+
+ case R_390_PC32DBL:
+ add_val(where,~0L,(s+a-p)>>1);
+ break;
Regards,
--
Jerry James
http://www.jamezone.org/
- [Gcl-devel] Patch for s390x support,
Jerry James <=