This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: internal compiler error at dwarf2out.c:8362
- From: James E Wilson <wilson at specifixinc dot com>
- To: Björn Haase <bjoern dot m dot haase at web dot de>
- Cc: gcc at gcc dot gnu dot org
- Date: Mon, 18 Apr 2005 15:30:24 -0700
- Subject: Re: internal compiler error at dwarf2out.c:8362
- References: <200504171753.32022.bjoern.m.haase@web.de>
Björn Haase wrote:
In case that one should not use machine specific atttributes, *is* there a
standard way for GCC how to implement different address spaces?
Use section attributes to force functions/variables into different
sections, and then use linker scripts to place different sections into
different address spaces. You can define machine dependent attributes
as short-hand for a section attribute, and presumably the eeprom
attribute is an example of that.
The only thing wrong with the eeprom attribute is that it is trying to
create its own types. It is not necessary to create new types in order
to get variables placed into special sections. There is nothing wrong
with the concept of having an eeprom attribute.
--
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com