URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 304 |
Rev 338 |
package Linker_Section is
|
package Linker_Section is
|
Data1 : constant String := "12345678901234567";
|
Data1 : constant String := "12345678901234567";
|
pragma Linker_Section (Entity => Data1,
|
pragma Linker_Section (Entity => Data1,
|
Section => ".eeprom");
|
Section => ".eeprom");
|
type EEPROM_String is new String;
|
type EEPROM_String is new String;
|
pragma Linker_Section (Entity => EEPROM_String, -- { dg-error "objects" }
|
pragma Linker_Section (Entity => EEPROM_String, -- { dg-error "objects" }
|
Section => ".eeprom");
|
Section => ".eeprom");
|
Data2 : constant EEPROM_String := "12345678901234567";
|
Data2 : constant EEPROM_String := "12345678901234567";
|
package Inner is end;
|
package Inner is end;
|
pragma Linker_Section (Entity => Inner, -- { dg-error "objects" }
|
pragma Linker_Section (Entity => Inner, -- { dg-error "objects" }
|
Section => ".eeprom");
|
Section => ".eeprom");
|
end Linker_Section;
|
end Linker_Section;
|
|
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.