www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/07/28/07:31:40

Xref: news2.mv.net comp.os.msdos.djgpp:6479
Newsgroups: comp.os.msdos.djgpp
From: rhk AT farpoint DOT newimage DOT com (Ray Kelm)
Subject: Re: __attribute__((section))
Organization: New Image Software, Inc.
Message-ID: <Dv8JpK.rn@farpoint.newimage.com>
References: <Pine DOT NEB DOT 3 DOT 93 DOT 960726171833 DOT 18376B-100000 AT ananke DOT amu DOT edu DOT pl>
Date: Sun, 28 Jul 1996 04:12:56 GMT
Lines: 21
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Mark Habersack (grendel AT ananke DOT amu DOT edu DOT pl) wrote:

: Messing up with sections of COFF images produced by djgpp I tried to put some
: data into the separate section using the (section) attribute. Unfortunately
: gcc aborts saying that "current target doesn't support sections" (not the
: exact message but the meaning is the same). So how it is? Object files output
: by gcc are COFF, right? They support many sections and put no restriction on

This is something I am also interested in, since I want to use DJGPP to
create windows 95 device drivers, which use COFF format. The key to doing
this is to have a compiler that can put code and data into a few different
sections. 

I traced this problem for a ways into the code, and it seemed that the
problem was actually in binutils (libbfd). Beyond that I didn't have enough
time to really dig into it.
-- 
===========================================================================
Raymond H Kelm II                                   New Image Software, Inc
rhk AT farpoint DOT newimage DOT com                               Makers of Image BBS
===========================================================================

- Raw text -


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