delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/08/03/11:16:32

From: Robert Hoehne <Robert DOT Hoehne AT Mathematik DOT TU-Chemnitz DOT DE>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: .section
Date: Thu, 31 Jul 1997 12:19:33 +0200
Organization: TU Chemnitz-Zwickau
Lines: 26
Message-ID: <33E066B5.BA44679@Mathematik.TU-Chemnitz.DE>
References: <33DC6F7B DOT 399A AT israel DOT sun DOT com>
NNTP-Posting-Host: pandora.hrz.tu-chemnitz.de
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Aharon Beyo Eng. wrote:
> 
> Does anyone know why the directive ".section" for the "as" compiler does
> not work in dos? Is there anyway to get around this

Can explain a little bit what you mean (or expect) exactly?
For me the following does compile without getting
an error in a C source file:

asm(".section .text");

I'm using of course gas from binutils 2.8.1 but I can't
imagine that this doesn't work in 2.7.

I think, you should post here at least what you want
to do with that .section directives and what did not
work for you.

Robert
---
*****************************************************************
* Robert Hoehne, Fakultaet fuer Mathematik, TU-Chemnitz-Zwickau *
* Post:    Am Berg 3, D-09573 Dittmannsdorf                     *
* e-Mail:  Robert DOT Hoehne AT Mathematik DOT TU-Chemnitz DOT DE              *
* WWW:     http://www.tu-chemnitz.de/~rho                       *
*****************************************************************

- Raw text -


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