From b3fed43584e5a94acdb193e654986e6818602795 Mon Sep 17 00:00:00 2001 From: Peter Veenstra Date: Tue, 30 Oct 2012 11:14:44 +0000 Subject: [PATCH] use local labels in defines so that -lto works with gcc Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3799 --- src/fpu/fpu_instructions_x86.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/fpu/fpu_instructions_x86.h b/src/fpu/fpu_instructions_x86.h index 7a7402ae..489d8509 100644 --- a/src/fpu/fpu_instructions_x86.h +++ b/src/fpu/fpu_instructions_x86.h @@ -660,9 +660,9 @@ "fstpt (%2, %%eax) \n" \ "movw %0, %%ax \n" \ "sahf \n" \ - "jp argument_too_large1 \n" \ + "jp 1f \n" \ "fstpt (%2, %1) \n" \ - "argument_too_large1: " \ + "1: " \ : "=m" (new_sw) \ : "r" (TOP), "r" (fpu.p_regs) \ : "eax", "cc", "memory" \ @@ -686,9 +686,9 @@ "fstpt (%2, %%eax) \n" \ "movw %0, %%ax \n" \ "sahf \n" \ - "jp argument_too_large2 \n" \ + "jp 1f \n" \ "fstpt (%2, %1) \n" \ - "argument_too_large2: " \ + "1: " \ : "=m" (new_sw) \ : "r" (TOP), "r" (fpu.p_regs) \ : "eax", "cc", "memory" \