This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/14115] New: 'pragma Linker_Section' stop working with gcc-3.2.1 or earlier
- From: "berndtrog at yahoo dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Feb 2004 20:45:04 -0000
- Subject: [Bug ada/14115] New: 'pragma Linker_Section' stop working with gcc-3.2.1 or earlier
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
-- test.ads
package test is
procedure test_1;
pragma Linker_Section (
Entity => test_1,
Section => ".my_section");
end;
-- test.adb
package body test is
procedure test_1
is
begin
null;
end;
end;
$ gcc -v
Reading specs from /usr/gnat/lib/gcc-lib/i686-pc-linux-gnu/2.8.1/specs
gcc version 2.8.1
(=> aka gnat-3.15p)
$ gcc -S test.adb
$ cat test.s
[..]
.section .my_section,"ax",@progbits
[..]
Now with gcc version 3.4.0 20040210
$ gcc -S test.adb
test.ads:5:24: warning: section attributes are not supported for this target
Note:
Looks like ASM_OUTPUT_SECTION_NAME is no longer supported by the targets!
--
Summary: 'pragma Linker_Section' stop working with gcc-3.2.1 or
earlier
Product: gcc
Version: 3.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: ada
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: berndtrog at yahoo dot com
CC: gcc-bugs at gcc dot gnu dot org
GCC host triplet: i686-pc-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14115