This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/30007] libgfortran doesn't build for sh-elf
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Jan 2007 17:52:35 -0000
- Subject: [Bug libfortran/30007] libgfortran doesn't build for sh-elf
- References: <bug-30007-5394@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from pinskia at gcc dot gnu dot org 2007-01-18 17:52 -------
__USER_LABEL_PREFIX__ should be a string already.
so you just need:
extern void bar (void);
extern __typeof(bar) bar __asm__(__USER_LABEL_PREFIX__ "foo");
void bar (void) { ; }
extern __typeof(bar) gee __attribute__((__alias__("foo")));
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30007