This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: internal compiler error at dwarf2out.c:8362


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



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