aboutsummaryrefslogtreecommitdiff
path: root/ld/ld.texinfo
diff options
context:
space:
mode:
authorBrian Ford <ford@vss.fsi.com>2004-05-07 15:17:58 +0000
committerBrian Ford <ford@vss.fsi.com>2004-05-07 15:17:58 +0000
commit26d2d8a262f6d6248ec4a76dbcca532a42af2130 (patch)
tree5c94f62404695c86b2b8d00713f11934e8101a00 /ld/ld.texinfo
parentd70270c5ec4289b4505c5b7e31bcbd5d25c9f7d4 (diff)
downloadgdb-26d2d8a262f6d6248ec4a76dbcca532a42af2130.zip
gdb-26d2d8a262f6d6248ec4a76dbcca532a42af2130.tar.gz
gdb-26d2d8a262f6d6248ec4a76dbcca532a42af2130.tar.bz2
* emultempl/pe.em (real_flags): New static.
(OPTION_LARGE_ADDRESS_AWARE): New define. (gld${EMULATION_NAME}_add_options): Add --large-address-aware option. (gld_${EMULATION_NAME}_list_options): Likewise. (gld${EMULATION_NAME}_handle_option): Likewise. (gld_${EMULATION_NAME}_after_open): Pass real_flags to PE private data. * ld.texinfo: Document it. * NEWS: Mention it.
Diffstat (limited to 'ld/ld.texinfo')
-rw-r--r--ld/ld.texinfo9
1 files changed, 9 insertions, 0 deletions
diff --git a/ld/ld.texinfo b/ld/ld.texinfo
index f50d79a..4127968 100644
--- a/ld/ld.texinfo
+++ b/ld/ld.texinfo
@@ -1872,6 +1872,15 @@ If given, the stdcall suffixes (@@@var{nn}) will be stripped from
symbols before they are exported.
[This option is specific to the i386 PE targeted port of the linker]
+@kindex --large-address-aware
+@item --large-address-aware
+If given, the appropriate bit in the ``Charateristics'' field of the COFF
+header is set to indicate that this executable supports virtual addresses
+greater than 2 gigabytes. This should be used in conjuction with the /3GB
+or /USERVA=@var{value} megabytes switch in the ``[operating systems]''
+section of the BOOT.INI. Otherwise, this bit has no effect.
+[This option is specific to PE targeted ports of the linker]
+
@kindex --major-image-version
@item --major-image-version @var{value}
Sets the major number of the ``image version''. Defaults to 1.