added eh_frame needed for gcc 4.4.1 or higher

This commit is contained in:
d18c7db 2009-09-07 09:53:45 +00:00
parent a8120704f7
commit 57fcd2d7d1
2 changed files with 3 additions and 1 deletions

View file

@ -10,6 +10,7 @@ SECTIONS
.text : {
*(.text)
*(.text.*)
*(.eh_frame)
*(.glue_7)
*(.glue_7t)
*(.version_information)

View file

@ -18,7 +18,7 @@ SECTIONS
_version_information_start = ABSOLUTE(.);
*(.version_information);
/* Why doesn't this work even though _bootphase1_version_pointer = 0x1001fc?
/* Why doesn't this work even though _bootphase1_version_pointer = 0x1001fc?
. = _bootphase1_version_pointer - ORIGIN(bootphase1); */
/* This works, apparently it fools the linker into accepting an absolute address */
. = _bootphase1_version_pointer - ORIGIN(bootphase1) + ORIGIN(bootphase1);
@ -30,6 +30,7 @@ SECTIONS
__bootphase2_start__ = .;
*(.startphase2)
*(.text)
*(.eh_frame)
*(.glue_7)
*(.glue_7t)
*(.rodata)