xref: /netbsd-src/external/gpl3/gcc.old/dist/libphobos/libdruntime/gcc/sections/package.d (revision 4c3eb207d36f67d31994830c0a694161fc1ca39b)
1627f7eb2Smrg // Run-time support for retrieving platform-specific sections.
2*4c3eb207Smrg // Copyright (C) 2019-2020 Free Software Foundation, Inc.
3627f7eb2Smrg 
4627f7eb2Smrg // GCC is free software; you can redistribute it and/or modify it under
5627f7eb2Smrg // the terms of the GNU General Public License as published by the Free
6627f7eb2Smrg // Software Foundation; either version 3, or (at your option) any later
7627f7eb2Smrg // version.
8627f7eb2Smrg 
9627f7eb2Smrg // GCC is distributed in the hope that it will be useful, but WITHOUT ANY
10627f7eb2Smrg // WARRANTY; without even the implied warranty of MERCHANTABILITY or
11627f7eb2Smrg // FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
12627f7eb2Smrg // for more details.
13627f7eb2Smrg 
14627f7eb2Smrg // Under Section 7 of GPL version 3, you are granted additional
15627f7eb2Smrg // permissions described in the GCC Runtime Library Exception, version
16627f7eb2Smrg // 3.1, as published by the Free Software Foundation.
17627f7eb2Smrg 
18627f7eb2Smrg // You should have received a copy of the GNU General Public License and
19627f7eb2Smrg // a copy of the GCC Runtime Library Exception along with this program;
20627f7eb2Smrg // see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
21627f7eb2Smrg // <http://www.gnu.org/licenses/>.
22627f7eb2Smrg 
23627f7eb2Smrg module gcc.sections;
24627f7eb2Smrg 
25627f7eb2Smrg version (CRuntime_Glibc)
26627f7eb2Smrg     public import gcc.sections.elf_shared;
27627f7eb2Smrg else version (CRuntime_Musl)
28627f7eb2Smrg     public import gcc.sections.elf_shared;
29627f7eb2Smrg else version (CRuntime_UClibc)
30627f7eb2Smrg     public import gcc.sections.elf_shared;
31627f7eb2Smrg else version (FreeBSD)
32627f7eb2Smrg     public import gcc.sections.elf_shared;
33627f7eb2Smrg else version (NetBSD)
34627f7eb2Smrg     public import gcc.sections.elf_shared;
35627f7eb2Smrg else version (DragonFlyBSD)
36627f7eb2Smrg     public import gcc.sections.elf_shared;
37627f7eb2Smrg else version (Solaris)
38627f7eb2Smrg     public import gcc.sections.elf_shared;
39627f7eb2Smrg else version (OSX)
40627f7eb2Smrg     public import gcc.sections.osx;
41627f7eb2Smrg else version (CRuntime_DigitalMars)
42627f7eb2Smrg     public import gcc.sections.win32;
43627f7eb2Smrg else version (CRuntime_Microsoft)
44627f7eb2Smrg     public import gcc.sections.win64;
45627f7eb2Smrg else version (CRuntime_Bionic)
46627f7eb2Smrg     public import gcc.sections.android;
47627f7eb2Smrg else
48627f7eb2Smrg     static assert(0, "unimplemented");
49