public inbox for libffi-discuss@sourceware.org
 help / color / mirror / Atom feed
* darwin/ppc patch for OSX snow leopard
@ 2011-03-27 13:00 Timothy Wall
  2011-03-30 17:32 ` Anthony Green
  0 siblings, 1 reply; 2+ messages in thread
From: Timothy Wall @ 2011-03-27 13:00 UTC (permalink / raw)
  To: libffi-discuss

[-- Attachment #1: Type: text/plain, Size: 87 bytes --]

this fixes the "unknown FDE encoding" error compiling on darwin/PPC under OSX 10.6.


[-- Attachment #2: diff.txt --]
[-- Type: text/plain, Size: 994 bytes --]

diff --git a/src/powerpc/darwin.S b/src/powerpc/darwin.S
index 3b425da..4f987dc 100644
--- a/src/powerpc/darwin.S
+++ b/src/powerpc/darwin.S
@@ -335,7 +335,7 @@ LSCIE1:
 	.byte	EH_DATA_ALIGN_FACT ; sleb128 -4; CIE Data Alignment Factor
 	.byte	0x41	; CIE RA Column
 	.byte	0x1	; uleb128 0x1; Augmentation size
-	.byte	0x90	; FDE Encoding (indirect pcrel)
+	.byte	0x10	; FDE Encoding (indirect pcrel)
 	.byte	0xc	; DW_CFA_def_cfa
 	.byte	0x1	; uleb128 0x1
 	.byte	0x0	; uleb128 0x0
diff --git a/src/powerpc/darwin_closure.S b/src/powerpc/darwin_closure.S
index 8c0e11a..db20cf6 100644
--- a/src/powerpc/darwin_closure.S
+++ b/src/powerpc/darwin_closure.S
@@ -484,7 +484,7 @@ LSCIE1:
 	.byte	EH_DATA_ALIGN_FACT ; sleb128 -4; CIE Data Alignment Factor
 	.byte	0x41	; CIE RA Column
 	.byte	0x1	; uleb128 0x1; Augmentation size
-	.byte	0x90	; FDE Encoding (indirect pcrel)
+	.byte	0x10	; FDE Encoding (indirect pcrel)
 	.byte	0xc	; DW_CFA_def_cfa
 	.byte	0x1	; uleb128 0x1
 	.byte	0x0	; uleb128 0x0

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: darwin/ppc patch for OSX snow leopard
  2011-03-27 13:00 darwin/ppc patch for OSX snow leopard Timothy Wall
@ 2011-03-30 17:32 ` Anthony Green
  0 siblings, 0 replies; 2+ messages in thread
From: Anthony Green @ 2011-03-30 17:32 UTC (permalink / raw)
  To: Timothy Wall; +Cc: libffi-discuss

Timothy Wall <twall@users.sf.net> writes:

> this fixes the "unknown FDE encoding" error compiling on darwin/PPC under OSX 10.6.

Thanks - applied.

AG

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-03-30 17:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-27 13:00 darwin/ppc patch for OSX snow leopard Timothy Wall
2011-03-30 17:32 ` Anthony Green

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).