Fix generation of memory descriptors with newer binutils. Thanks to

Norman Feske.
This commit is contained in:
Jan Stoess 2011-07-19 01:55:32 -07:00
parent 803532cbc9
commit 7f2c039f07
1 changed files with 4 additions and 4 deletions

View File

@ -43,9 +43,9 @@
*(.data.KIP_SECTION.mdesc)
#if defined(CONFIG_IS_32BIT)
_memory_descriptors_raw = (_memory_descriptors_offset << 16)
+ _memory_descriptors_size;
_memory_descriptors_raw = ABSOLUTE((_memory_descriptors_offset << 16)
+ _memory_descriptors_size);
#elif defined(CONFIG_IS_64BIT)
_memory_descriptors_raw = (_memory_descriptors_offset << 32)
+ _memory_descriptors_size;
_memory_descriptors_raw = ABSOLUTE((_memory_descriptors_offset << 32)
+ _memory_descriptors_size);
#endif