This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug ada/10670] gcc ignors 'pragma Machine_Attribute' directive


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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]