aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2002-08-27 11:12:53 +0000
committerNick Clifton <nickc@redhat.com>2002-08-27 11:12:53 +0000
commitad5211bec58c208be9512e73da9cb1b982e8d4fe (patch)
tree2bce7f745d3866de0ac04dd3b683b08fc71e3cec
parent7065849339c3e156a2a3176f91664e3fa87d549e (diff)
downloadgdb-ad5211bec58c208be9512e73da9cb1b982e8d4fe.zip
gdb-ad5211bec58c208be9512e73da9cb1b982e8d4fe.tar.gz
gdb-ad5211bec58c208be9512e73da9cb1b982e8d4fe.tar.bz2
Handle .rdata_runtime_pseudo_reloc sections.
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/scripttempl/pe.sc5
2 files changed, 10 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index e487f11..a8995e5 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,8 @@
+2002-08-27 Egor Duda <deo@logos-m.ru>
+
+ * scripttempl/pe.sc: Handle .rdata_runtime_pseudo_reloc sections.
+ Add symbols for application to access them.
+
2002-08-27 Nick Clifton <nickc@redhat.com>
* emultempl/armelf.em: Revert this patch, it is not needed.
diff --git a/ld/scripttempl/pe.sc b/ld/scripttempl/pe.sc
index 2f24757..0ca777f 100644
--- a/ld/scripttempl/pe.sc
+++ b/ld/scripttempl/pe.sc
@@ -85,6 +85,11 @@ SECTIONS
*(.rdata)
${R_RDATA}
*(.eh_frame)
+ ___RUNTIME_PSEUDO_RELOC_LIST__ = .;
+ __RUNTIME_PSEUDO_RELOC_LIST__ = .;
+ *(.rdata_runtime_pseudo_reloc)
+ ___RUNTIME_PSEUDO_RELOC_LIST_END__ = .;
+ __RUNTIME_PSEUDO_RELOC_LIST_END__ = .;
}
.pdata ${RELOCATING+BLOCK(__section_alignment__)} :