[Bug ada/10670] gcc ignors 'pragma Machine_Attribute' directive
berndtrog at yahoo dot com
gcc-bugzilla@gcc.gnu.org
Tue Oct 21 17:04:00 GMT 2003
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)
More information about the Gcc-bugs
mailing list