Xref: news2.mv.net comp.os.msdos.djgpp:6832 From: alaric AT abwillms DOT demon DOT co DOT uk (Alaric B. Williams) Newsgroups: comp.os.msdos.djgpp Subject: Re: __attribute__((section)) Date: Tue, 30 Jul 1996 17:40:16 GMT Lines: 39 Message-ID: <838748305.18009.1@abwillms.demon.co.uk> References: NNTP-Posting-Host: abwillms.demon.co.uk To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp hk AT bercos DOT de (Helge Kruse) wrote: >If you like to look at a quick and dirty hack, here it is: >----- makefile ----- >----- end ----- I /think/ you can do that anyway with the linker... if you want the data section of a given file in a different output section: MYDATA 0x1234 : { _mydata = . ; specdata.c(.data) _emydata = . ; } >Regards, > Helge Why doesn't ((section)) work? DJ? Eli? Anybody? Does it work in other versions of gcc? Help! The whole point of the excercise for me is to create a simple "please lock this" marker to stick on a declaration! Regards, ABW -- I have become... Comfortably numb... Alaric B. Williams Internet : alaric AT abwillms DOT demon DOT co DOT uk http://www.hardcafe.co.uk/Alaric/