[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#132755: marked as done (nasm: breaks "arg" macro in c16.mac)

Your message dated Wed, 17 Apr 2002 07:32:10 -0400
with message-id <E16xnfW-0005ra-00@auric.debian.org>
and subject line Bug#132755: fixed in nasm 0.98.28bf-1
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

Received: (at submit) by bugs.debian.org; 7 Feb 2002 14:38:44 +0000
>From oohara@libra.interq.or.jp Thu Feb 07 08:38:44 2002
Return-path: <oohara@libra.interq.or.jp>
Received: from smtp02.mem.interq.net [] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 16YphC-0004GL-00; Thu, 07 Feb 2002 08:38:43 -0600
Received: from grain (kyoto-ppp-210-172-160-62.interq.or.jp [])
	by smtp02.mem.interq.net (8.9.3/8.9.1) with ESMTP id XAA24141
	for <submit@bugs.debian.org>; Thu, 7 Feb 2002 23:38:33 +0900 (JST)
Received: from localhost ([] ident=oohara)
	by grain with esmtp (Exim 3.33 #1 (Debian))
	id 16Ypi6-00062g-00; Thu, 07 Feb 2002 23:39:38 +0900
Date: Thu, 07 Feb 2002 23:04:24 +0900 (JST)
Message-Id: <20020207.230424.74736972.oohara@grain>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Cc: oohara@libra.interq.or.jp
Subject: nasm: breaks "arg" macro in c16.mac
X-Debbugs-CC: Oohara Yuuma <oohara@libra.interq.or.jp>
From: Oohara Yuuma <oohara@libra.interq.or.jp>
X-Mailer: Mew version 2.1.52 on Emacs 21.1 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Delivered-To: submit@bugs.debian.org

Package: nasm
Version: 0.98.08-1
Severity: normal

The macro "arg" in c16.mac (found in the source code tarball)
doesn't expand.  Try:
; c16.mac
; NASM macro set to make interfacing to 16-bit programs easier -*- nasm -*-

%imacro proc 1			; begin a procedure definition

%push proc

	  global %1

%1:	  push bp

	  mov bp,sp

%ifdef FARCODE PASCAL		; arguments may start at bp+4 or bp+6

%assign %$arg 6

%define %$firstarg 6


%assign %$arg 4

%define %$firstarg 4


%define %$procname %1


%imacro arg 0-1 2		; used with the argument name as a label

%00	  equ %$arg

				; we could possibly be adding some

				; debug information at this point...?

%assign %$arg %1+%$arg


%imacro endproc 0

%ifnctx proc

%error Mismatched `endproc'/`proc'


          mov sp,bp

          pop bp

%ifdef PASCAL

          retf %$arg - %$firstarg

%elifdef FARCODE





__end_%$procname:		; useful for calculating function size



; example from the NASM Manual, section 7.4.5
          proc _nearproc
%$i       arg
%$j       arg
          mov ax,[bp + %$i]
          mov bx,[bp + %$j]
          add ax,[bx]

$ nasm -e c16.nas | egrep arg
..@1.i       arg
..@1.j       arg

The potato version of nasm can treat this file properly.

-- System Information
Debian Release: 2.2
Kernel Version: Linux grain 2.4.16 #1 Thu Jan 10 00:18:21 JST 2002 i686 unknown

Versions of the packages nasm depends on:
hi  libc6          2.2.4-7        GNU C Library: Shared libraries and Timezone

Received: (at 132755-close) by bugs.debian.org; 17 Apr 2002 11:38:45 +0000
>From katie@auric.debian.org Wed Apr 17 06:38:45 2002
Return-path: <katie@auric.debian.org>
Received: from auric.debian.org [] (mail)
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 16xnls-0004A1-00; Wed, 17 Apr 2002 06:38:45 -0500
Received: from katie by auric.debian.org with local (Exim 3.12 1 (Debian))
	id 16xnfW-0005ra-00; Wed, 17 Apr 2002 07:32:10 -0400
From: Christian Kesselheim <ckesselh@debian.org>
To: 132755-close@bugs.debian.org
X-Katie: $Revision: 1.13 $
Subject: Bug#132755: fixed in nasm 0.98.28bf-1
Message-Id: <E16xnfW-0005ra-00@auric.debian.org>
Sender: Archive Administrator <katie@auric.debian.org>
Date: Wed, 17 Apr 2002 07:32:10 -0400
Delivered-To: 132755-close@bugs.debian.org

We believe that the bug you reported is fixed in the latest version of
nasm, which is due to be installed in the Debian FTP archive:

  to pool/main/n/nasm/nasm_0.98.28bf-1.diff.gz
  to pool/main/n/nasm/nasm_0.98.28bf-1.dsc
  to pool/main/n/nasm/nasm_0.98.28bf-1_i386.deb
  to pool/main/n/nasm/nasm_0.98.28bf.orig.tar.gz

A summary of the changes between this version and the previous one is

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 132755@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
Christian Kesselheim <ckesselh@debian.org> (supplier of updated nasm package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)

Hash: SHA1

Format: 1.7
Date: Wed, 17 Apr 2002 12:28:43 +0200
Source: nasm
Binary: nasm
Architecture: source i386
Version: 0.98.28bf-1
Distribution: unstable
Urgency: high
Maintainer: Christian Kesselheim <ckesselh@debian.org>
Changed-By: Christian Kesselheim <ckesselh@debian.org>
 nasm       - General-purpose x86 assembler
Closes: 122295 128498 132755 136263 136525
 nasm (0.98.28bf-1) unstable; urgency=high
   * New maintainer
   * New upstream release; switched back to the bugfixed ("bf") branch
     (closes: #136263)
   * ndisasm segfaults no longer on "damn near any file" (closes: #128498)
   * Broken macros fixed (closes: #132755)
   * The "org" directive is no longer case sensitive :-) (closes: #122295)
   * Nasm should not generate wrong addresses in some .text situations
     any more (closes: #136525)
 eec0a7d50e0498659dc6d9c63e1bb587 619 devel optional nasm_0.98.28bf-1.dsc
 4a16c59ff6bb7483d4e9a9244119043e 426548 devel optional nasm_0.98.28bf.orig.tar.gz
 8d0f0606f3e348d070dbf6abac543b56 60970 devel optional nasm_0.98.28bf-1.diff.gz
 9ef9fd2596b9fac1efb429edfb3fdcd3 561378 devel optional nasm_0.98.28bf-1_i386.deb

Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org


To UNSUBSCRIBE, email to debian-qa-packages-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Reply to: