delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/12/09/09:32:53

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
From: "Timo Inki" <triq AT mbnet DOT fi>
Newsgroups: comp.os.msdos.djgpp
Subject: Handler call with inline asm
Lines: 12
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2615.200
x-mimeole: Produced By Microsoft MimeOLE V5.00.2615.200
Message-ID: <nuKQ7.80$XP6.7525@read2.inet.fi>
Date: Sun, 09 Dec 2001 14:24:19 GMT
NNTP-Posting-Host: 62.71.171.242
X-Trace: read2.inet.fi 1007907859 62.71.171.242 (Sun, 09 Dec 2001 16:24:19 EET)
NNTP-Posting-Date: Sun, 09 Dec 2001 16:24:19 EET
Organization: Sonera corp Internet services
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

asm volatile("pushfl \n lcall %0"
      :
      : "g" (Oldhandler));

The as complains about wrong operands with lcall.
It should call Oldhandler by lcall.
I'm using Gcc 3.0.2 and binutils 2.11.2, but with 2.7.x it worked fine.
What is wrong?

Timo Inki


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019