diff options
author | Kai Tietz <kai.tietz@onevision.com> | 2011-09-27 15:59:55 +0000 |
---|---|---|
committer | Kai Tietz <kai.tietz@onevision.com> | 2011-09-27 15:59:55 +0000 |
commit | ebe9c501ffc2363e7b5ab00ff42f7acaae9ded6b (patch) | |
tree | 0ed45513cd2508a19b95de928c4cf73ddaedcd0b /ld/scripttempl/pe.sc | |
parent | f00c55f83236fbdbae20f1556dc046bb90975755 (diff) | |
download | gdb-ebe9c501ffc2363e7b5ab00ff42f7acaae9ded6b.zip gdb-ebe9c501ffc2363e7b5ab00ff42f7acaae9ded6b.tar.gz gdb-ebe9c501ffc2363e7b5ab00ff42f7acaae9ded6b.tar.bz2 |
* scripttempl/pe.sc (.text): Add support for
.gnu.linkonce.t.* section.
(.debug_info): Only use .gnu.linkonce.wi.* for
relocating.
* scripttempl/pep.sc: Likewise.
Diffstat (limited to 'ld/scripttempl/pe.sc')
-rw-r--r-- | ld/scripttempl/pe.sc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ld/scripttempl/pe.sc b/ld/scripttempl/pe.sc index 3cb77ab..3a27952 100644 --- a/ld/scripttempl/pe.sc +++ b/ld/scripttempl/pe.sc @@ -73,6 +73,7 @@ SECTIONS *(.text) ${R_TEXT} ${RELOCATING+ *(.text.*)} + ${RELOCATING+ *(.gnu.linkonce.t.*)} *(.glue_7t) *(.glue_7) ${CONSTRUCTING+ ___CTOR_LIST__ = .; __CTOR_LIST__ = . ; @@ -238,7 +239,7 @@ SECTIONS /* DWARF 2. */ .debug_info ${RELOCATING+BLOCK(__section_alignment__)} ${RELOCATING+(NOLOAD)} : { - *(.debug_info) *(.gnu.linkonce.wi.*) + *(.debug_info${RELOCATING+ .gnu.linkonce.wi.*}) } .debug_abbrev ${RELOCATING+BLOCK(__section_alignment__)} ${RELOCATING+(NOLOAD)} : @@ -306,7 +307,7 @@ SECTIONS /* DWARF 4. */ .debug_types ${RELOCATING+BLOCK(__section_alignment__)} ${RELOCATING+(NOLOAD)} : { - *(.debug_types) *(.gnu.linkonce.wt.*) + *(.debug_types${RELOCATING+ .gnu.linkonce.wt.*}) } } EOF |