This is the mail archive of the
ecos-discuss@sourceware.cygnus.com
mailing list for the eCos project.
Re: i960 Compile does not support the alias attribute
- To: Bill Marcotte <bill at pentek dot com>
- Subject: Re: [ECOS] i960 Compile does not support the alias attribute
- From: Jonathan Larmour <jlarmour at redhat dot co dot uk>
- Date: Fri, 23 Jun 2000 17:25:33 +0100
- CC: ecos-discuss at sourceware dot cygnus dot com
- Organization: Red Hat UK Ltd.
- References: <200006231558.IAA29577@cygnus.com>
Bill Marcotte wrote:
>
> Currently the i960 compiler doesn't support the alias attribute which is
> required by LIBC. Does anybody have any good suggestions on how I might be
> able to work-around this problem without modifying any sources in LibC?
Is it ELF? If so alias attributes are actually generally easy to implement
in gcc. This is generally done with ASM_OUTPUT_DEF. Implementations can be
as easy as, e.g.:
#define ASM_OUTPUT_DEF(FILE,NAME1,NAME2) \
do { assemble_name(FILE, NAME1); \
fputs(" = ", FILE); \
assemble_name(FILE, NAME2); \
fputc('\n', FILE); } while
(0)
It depends on the syntax of the i960 assembler.
Ask on the gcc@gcc.gnu.org list ( see http://gcc.gnu.org/ ).
Jifl
--
Red Hat, 35 Cambridge Place, Cambridge, UK. CB2 1NS Tel: +44 (1223) 728762
"Plan to be spontaneous tomorrow." || These opinions are all my own fault