diff options
author | Tristan Gingold <gingold@adacore.com> | 2009-07-03 10:44:57 +0000 |
---|---|---|
committer | Tristan Gingold <gingold@adacore.com> | 2009-07-03 10:44:57 +0000 |
commit | 27505b5d0fc279055b9d27c5f45b199192422f16 (patch) | |
tree | 36bf522f6cf145b2ea71962e355c5b62e099066d /ld | |
parent | 3244e8f5d67de04911b76c9df98bdcb7e15c03fb (diff) | |
download | gdb-27505b5d0fc279055b9d27c5f45b199192422f16.zip gdb-27505b5d0fc279055b9d27c5f45b199192422f16.tar.gz gdb-27505b5d0fc279055b9d27c5f45b199192422f16.tar.bz2 |
2009-07-03 Tristan Gingold <gingold@adacore.com>
* scripttempl/pep.sc: Put .eh_frame in its own section.
* scripttempl/pe.sc: Ditto.
Diffstat (limited to 'ld')
-rw-r--r-- | ld/ChangeLog | 5 | ||||
-rw-r--r-- | ld/scripttempl/pe.sc | 6 | ||||
-rw-r--r-- | ld/scripttempl/pep.sc | 6 |
3 files changed, 15 insertions, 2 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index a966e37..951439f 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2009-07-03 Tristan Gingold <gingold@adacore.com> + + * scripttempl/pep.sc: Put .eh_frame in its own section. + * scripttempl/pe.sc: Ditto. + 2009-06-26 Kai Tietz <kai.tietz@onevision.com> * scripttempl/pe.sc (.debug_pubtypes): Added section rule. diff --git a/ld/scripttempl/pe.sc b/ld/scripttempl/pe.sc index d49d2a0..687efb0 100644 --- a/ld/scripttempl/pe.sc +++ b/ld/scripttempl/pe.sc @@ -102,7 +102,6 @@ SECTIONS .rdata ${RELOCATING+BLOCK(__section_alignment__)} : { ${R_RDATA} - ${RELOCATING+ *(.eh_frame)} ${RELOCATING+___RUNTIME_PSEUDO_RELOC_LIST__ = .;} ${RELOCATING+__RUNTIME_PSEUDO_RELOC_LIST__ = .;} *(.rdata_runtime_pseudo_reloc) @@ -110,6 +109,11 @@ SECTIONS ${RELOCATING+__RUNTIME_PSEUDO_RELOC_LIST_END__ = .;} } + .eh_frame ${RELOCATING+BLOCK(__section_alignment__)} : + { + *(.eh_frame) + } + .pdata ${RELOCATING+BLOCK(__section_alignment__)} : { *(.pdata) diff --git a/ld/scripttempl/pep.sc b/ld/scripttempl/pep.sc index 47d644a..b39469d 100644 --- a/ld/scripttempl/pep.sc +++ b/ld/scripttempl/pep.sc @@ -103,7 +103,6 @@ SECTIONS .rdata ${RELOCATING+BLOCK(__section_alignment__)} : { ${R_RDATA} - ${RELOCATING+ *(.eh_frame)} ${RELOCATING+___RUNTIME_PSEUDO_RELOC_LIST__ = .;} ${RELOCATING+__RUNTIME_PSEUDO_RELOC_LIST__ = .;} *(.rdata_runtime_pseudo_reloc) @@ -111,6 +110,11 @@ SECTIONS ${RELOCATING+__RUNTIME_PSEUDO_RELOC_LIST_END__ = .;} } + .eh_frame ${RELOCATING+BLOCK(__section_alignment__)} : + { + *(.eh_frame) + } + .pdata ${RELOCATING+BLOCK(__section_alignment__)} : { *(.pdata) |