summaryrefslogtreecommitdiff
path: root/java/cacao/files/patch-boehm-gc-include-gc.h
diff options
context:
space:
mode:
Diffstat (limited to 'java/cacao/files/patch-boehm-gc-include-gc.h')
-rw-r--r--java/cacao/files/patch-boehm-gc-include-gc.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/java/cacao/files/patch-boehm-gc-include-gc.h b/java/cacao/files/patch-boehm-gc-include-gc.h
new file mode 100644
index 000000000000..af60c7729324
--- /dev/null
+++ b/java/cacao/files/patch-boehm-gc-include-gc.h
@@ -0,0 +1,10 @@
+--- src/boehm-gc/include/gc.h.orig Wed Jun 4 17:07:33 2003
++++ src/boehm-gc/include/gc.h Wed May 12 20:03:22 2004
+@@ -487,6 +487,7 @@
+ /* gcc knows how to retrieve return address, but we don't know */
+ /* how to generate call stacks. */
+ # define GC_RETURN_ADDR (GC_word)__builtin_return_address(0)
++# define GC_RETURN_ADDR_PARENT (GC_word)__builtin_return_address(1)
+ # else
+ /* Just pass 0 for gcc compatibility. */
+ # define GC_RETURN_ADDR 0