diff options
-rw-r--r-- | binutils/doc/binutils.texi | 4 | ||||
-rw-r--r-- | binutils/objcopy.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/binutils/doc/binutils.texi b/binutils/doc/binutils.texi index 0d46119..f946936 100644 --- a/binutils/doc/binutils.texi +++ b/binutils/doc/binutils.texi @@ -1330,10 +1330,10 @@ objcopy [@option{-F} @var{bfdname}|@option{--target=}@var{bfdname}] [@option{--pure}] [@option{--impure}] [@option{--file-alignment=}@var{num}] - [@option{--heap=}@var{size}] + [@option{--heap=}@var{reserve}[,@var{commit}]] [@option{--image-base=}@var{address}] [@option{--section-alignment=}@var{num}] - [@option{--stack=}@var{size}] + [@option{--stack=}@var{reserve}[,@var{commit}]] [@option{--subsystem=}@var{which}:@var{major}.@var{minor}] [@option{--compress-debug-sections}] [@option{--decompress-debug-sections}] diff --git a/binutils/objcopy.c b/binutils/objcopy.c index ba304c2..6bc84bd 100644 --- a/binutils/objcopy.c +++ b/binutils/objcopy.c @@ -5910,7 +5910,7 @@ copy_main (int argc, char *argv[]) char *end; pe_heap_reserve = strtoul (optarg, &end, 0); if (end == optarg - || (*end != '.' && *end != '\0')) + || (*end != ',' && *end != '\0')) non_fatal (_("%s: invalid reserve value for --heap"), optarg); else if (*end != '\0') @@ -5941,7 +5941,7 @@ copy_main (int argc, char *argv[]) char *end; pe_stack_reserve = strtoul (optarg, &end, 0); if (end == optarg - || (*end != '.' && *end != '\0')) + || (*end != ',' && *end != '\0')) non_fatal (_("%s: invalid reserve value for --stack"), optarg); else if (*end != '\0') |