Return to patch-mysys_my__context.c CVS log | Up to [cvs.NetBSD.org] / pkgsrc / databases / mariadb104-client / patches |
File: [cvs.NetBSD.org] / pkgsrc / databases / mariadb104-client / patches / patch-mysys_my__context.c (download)
Revision 1.1, Sat May 8 19:47:16 2021 UTC (2 years, 11 months ago) by jdolecek
Add client and server packages for MariaDB 10.4 Copy of the pkgsrc-wip packages by nia@. Consider experimental for now. |
$NetBSD: patch-mysys_my__context.c,v 1.1 2021/05/08 19:47:16 jdolecek Exp $ Don't insert DWARF directives on SunOS. --- mysys/my_context.c.orig 2020-03-25 10:28:39.248862779 +0000 +++ mysys/my_context.c @@ -207,7 +207,7 @@ my_context_spawn(struct my_context *c, v "movq %%rsp, (%[save])\n\t" "movq %[stack], %%rsp\n\t" #if (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4) || __clang__) && \ - !defined(__INTEL_COMPILER) + !defined(__INTEL_COMPILER) && !defined(__sun) /* This emits a DWARF DW_CFA_undefined directive to make the return address undefined. This indicates that this is the top of the stack frame, and @@ -455,7 +455,7 @@ my_context_spawn(struct my_context *c, v ( "movl %%esp, (%[save])\n\t" "movl %[stack], %%esp\n\t" -#if (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4)) && !defined(__INTEL_COMPILER) +#if (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4)) && !defined(__INTEL_COMPILER) && !defined(__sun) /* This emits a DWARF DW_CFA_undefined directive to make the return address undefined. This indicates that this is the top of the stack frame, and