From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, HK_RANDOM_FROM,WEIRD_QUOTING autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,52b1fbc02aefcd3 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-05-05 06:52:20 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: berndtrog@yahoo.com (Bernd Trog) Newsgroups: comp.lang.ada Subject: Re: pragma Machine_Attribute Date: 5 May 2003 06:52:20 -0700 Organization: http://groups.google.com/ Message-ID: References: NNTP-Posting-Host: 212.185.252.193 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1052142740 2777 127.0.0.1 (5 May 2003 13:52:20 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 5 May 2003 13:52:20 GMT Xref: archiver1.google.com comp.lang.ada:36972 Date: 2003-05-05T13:52:20+00:00 List-Id: Sergey Koshcheyev wrote in message > > and got this waring: > > > > bootloader.adb:12: warning: `section (.bootloader)' attribute directive ignored > > > > > > And 'objdump -h' doesn't print a .bootloader section :-( > > You probably have to include the quotes around .bootloader also in the > pragma in the Ada source, like this: > > pragma Machine_Attribute (Entity => Boot, > Attribute_Name => "section ("".bootloader"")" > ); bootloader.adb:12: warning: `section (".bootloader")' attribute directive ignored Is this supposed to work at all?