From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 583 invoked by alias); 21 Oct 2003 17:04:37 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 568 invoked by uid 48); 21 Oct 2003 17:04:37 -0000 Date: Tue, 21 Oct 2003 17:04:00 -0000 Message-ID: <20031021170437.567.qmail@sources.redhat.com> From: "berndtrog at yahoo dot com" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20030507200600.10670.berndtrog@yahoo.com> References: <20030507200600.10670.berndtrog@yahoo.com> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug ada/10670] gcc ignors 'pragma Machine_Attribute' directive X-Bugzilla-Reason: CC X-SW-Source: 2003-10/txt/msg01794.txt.bz2 List-Id: PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10670 berndtrog at yahoo dot com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |NEW ------- Additional Comments From berndtrog at yahoo dot com 2003-10-21 17:04 ------- That should be the C equivalent of my Ada code: void boot (void) __attribute__ ((section (".bootloader"))); void boot (void) { puts ("Boot\n"); } int main(void) { puts ("Test\n"); } >objdump -h bootloader.o bootloader.o: file format elf32-i386 Sections: Idx Name Size VMA LMA File off Algn [..] 12 .bootloader 00000014 08048400 08048400 00000400 2**0 CONTENTS, ALLOC, LOAD, READONLY, CODE [..] Release: gcc version 3.3 20030127 (prerelease)