internal compiler error at dwarf2out.c:8362
James E Wilson
wilson@specifixinc.com
Mon Apr 18 23:26:00 GMT 2005
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
More information about the Gcc
mailing list