aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2006-06-22 13:48:30 +0000
committerNick Clifton <nickc@redhat.com>2006-06-22 13:48:30 +0000
commitcf8456db9fd96f85c0fccefd0b00b9a0ae8c5f89 (patch)
treee3a37445ab30de085ba4c16999c836042ad3e18a
parent45e948fe97db49546f4712992daae024fb822ec4 (diff)
downloadgdb-cf8456db9fd96f85c0fccefd0b00b9a0ae8c5f89.zip
gdb-cf8456db9fd96f85c0fccefd0b00b9a0ae8c5f89.tar.gz
gdb-cf8456db9fd96f85c0fccefd0b00b9a0ae8c5f89.tar.bz2
Correct comment.
-rw-r--r--ld/emultempl/pe.em6
1 files changed, 4 insertions, 2 deletions
diff --git a/ld/emultempl/pe.em b/ld/emultempl/pe.em
index 646be98..4c4a186 100644
--- a/ld/emultempl/pe.em
+++ b/ld/emultempl/pe.em
@@ -1738,8 +1738,10 @@ gld_${EMULATION_NAME}_open_dynamic_archive
full_string = xmalloc (strlen (search->name)
+ strlen (filename)
/* Allow space for the characters in the format
- string. We actually allow 2 more bytes than
- necessary, but this will not hurt. */
+ string. Also allow for the path separator that
+ is appended after the search name. We actually
+ allow 1 more byte than is strictly necessary,
+ but this will not hurt. */
+ sizeof libname_fmt[0].format
#ifdef DLL_SUPPORT
+ (pe_dll_search_prefix