Skip to content

asm reference not recoqnized when compiling i386 #6

@Tryan18

Description

@Tryan18

--- ofsoftswitch13-open_wrt/lib/backtrace.c.orig 2014-04-15 13:17:29.672090075 +0200
+++ ofsoftswitch13-open_wrt/lib/backtrace.c 2014-04-15 13:14:00.420100446 +0200
@@ -88,7 +88,7 @@
{
#ifdef i386
uintptr_t low;

  • asm("movl %%esp,%0" : "=g" (low));
  • asm ("movl %%esp,%0" : "=g" (low));
    return low;
    #else
    /* This causes a warning in GCC that cannot be disabled, so use it only on

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions