aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2001-09-24 18:35:08 +0000
committerNick Clifton <nickc@redhat.com>2001-09-24 18:35:08 +0000
commitc406afafb1db0bc5b0bcb4cf844e1632121a4c68 (patch)
tree515780b280abc0e07759e3235f25a4425ed239e7
parentaa3d9aba51be7011ea787c38f891c16910d2ed50 (diff)
downloadgdb-c406afafb1db0bc5b0bcb4cf844e1632121a4c68.zip
gdb-c406afafb1db0bc5b0bcb4cf844e1632121a4c68.tar.gz
gdb-c406afafb1db0bc5b0bcb4cf844e1632121a4c68.tar.bz2
oops - frag omitted from previous patch application
-rw-r--r--ld/ld.texinfo8
1 files changed, 8 insertions, 0 deletions
diff --git a/ld/ld.texinfo b/ld/ld.texinfo
index fd03bc3..2d04a57 100644
--- a/ld/ld.texinfo
+++ b/ld/ld.texinfo
@@ -1775,6 +1775,14 @@ extern_struct.field -->
@{ volatile struct s *t=&extern_struct; t->field @}
@end example
+or
+
+@example
+extern long long extern_ll;
+extern_ll -->
+ @{ volatile long long * local_ll=&extern_ll; *local_ll @}
+@end example
+
A second method of dealing with this difficulty is to abandon
'auto-import' for the offending symbol and mark it with
@code{__declspec(dllimport)}. However, in practice that