This is the mail archive of the ecos-discuss@sourceware.cygnus.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: i960 Compile does not support the alias attribute


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]