aboutsummaryrefslogtreecommitdiff
path: root/ld/ld.texinfo
diff options
context:
space:
mode:
authorKai Tietz <kai.tietz@onevision.com>2009-01-08 13:28:48 +0000
committerKai Tietz <kai.tietz@onevision.com>2009-01-08 13:28:48 +0000
commitce11ba6c9d65f4606431e5d73986ad87e3ee9583 (patch)
treec7999040c68c6e2e020088296ea0fe8526c67410 /ld/ld.texinfo
parentdde0281261f8a2b4e89ec28a3b602d52ba97e9fd (diff)
downloadgdb-ce11ba6c9d65f4606431e5d73986ad87e3ee9583.zip
gdb-ce11ba6c9d65f4606431e5d73986ad87e3ee9583.tar.gz
gdb-ce11ba6c9d65f4606431e5d73986ad87e3ee9583.tar.bz2
2009-01-08 Kai Tietz <kai.tietz@onevision.com>
* pe.em (OPTION_USE_NUL_PREFIXED_IMPORT_TABLES): New. (gld..._add_options): Add new option --use-nul-prefixed-import-tables. (gld..._handle_option): Likewise. * pep.em: Same as for pe.em. * ld.texinfo: Add new option documentation for --use-nul-prefixed-import-tables. * pe-dll.c (pe_use_nul_prefixed_import_tables): New. (make_head): Make prefix leading zero prefix element for idata$4 and idata$5 dependent to new flag. (make_import_fixup_entry): Remove idata4/5 prefix. * pe-dll.h (pe_use_nul_prefixed_import_tables): New. * pep-dll.c (pe_use_nul_prefixed_import_tables): New. * pep-dll.h (pep_use_nul_prefixed_import_tables): New. * NEWS: Add new option.
Diffstat (limited to 'ld/ld.texinfo')
-rw-r--r--ld/ld.texinfo7
1 files changed, 7 insertions, 0 deletions
diff --git a/ld/ld.texinfo b/ld/ld.texinfo
index 11bde29..3f16546 100644
--- a/ld/ld.texinfo
+++ b/ld/ld.texinfo
@@ -5619,6 +5619,13 @@ But it also sets the bottom bit of the address, so that it can be
branched to using a BX instruction, and the program will start
executing in Thumb mode straight away.
+@cindex PE import table prefixing
+@kindex --use-nul-prefixed-import-tables
+The @samp{--use-nul-prefixed-import-tables} switch is specifying, that
+the import tables idata4 and idata5 have to be generated with a zero
+elememt prefix for import libraries. This is the old style to generate
+import tables. By default this option is turned off.
+
@cindex BE8
@kindex --be8
The @samp{--be8} switch instructs @command{ld} to generate BE8 format