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: References: 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 ===========================================================================