From 6406bb8a8f92357aa26a300fd2ab5ed47ec649c5 Mon Sep 17 00:00:00 2001 From: Ivan Maidanski Date: Tue, 24 Oct 2017 00:10:12 +0300 Subject: [PATCH] Fix typos in documentation (for extend_size_map and ews4800) * doc/README.ews4800: Fix typos ("32-bit", "64-bit"). * misc.c (GC_extend_size_map): Fix typo ("16-byte") in a comment. --- doc/README.ews4800 | 13 +++++++------ misc.c | 2 +- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/doc/README.ews4800 b/doc/README.ews4800 index 20ecbaab..da4cff39 100644 --- a/doc/README.ews4800 +++ b/doc/README.ews4800 @@ -2,7 +2,8 @@ GC on EWS4800 ------------- 1. About EWS4800 - EWS4800 is 32bit/64bit workstation. + + EWS4800 is a 32/64-bit workstation. Vendor: NEC Corporation OS: UX/4800 R9.* - R13.* (SystemV R4.2) @@ -10,19 +11,19 @@ GC on EWS4800 2. Compiler - 32bit: + 32-bit: Use ANSI C compiler. CC = /usr/abiccs/bin/cc - 64bit: - Use 64bit ANSI C compiler. + 64-bit: + Use the 64-bit ANSI C compiler. CC = /usr/ccs64/bin/cc AR = /usr/ccs64/bin/ar 3. ELF file format *** Caution: The following information is empirical. *** - 32bit: + 32-bit: ELF file has an unique format. (See a.out(4) and end(3C).) &_start @@ -57,7 +58,7 @@ GC on EWS4800 &edata and DATASTART2. The global symbol &_DYNAMIC_LINKING is used for the detection. - 64bit: + 64-bit: ELF file has a simple format. (See end(3C).) _ftext diff --git a/misc.c b/misc.c index 312d2c55..00a29478 100644 --- a/misc.c +++ b/misc.c @@ -274,7 +274,7 @@ GC_INNER void GC_extend_size_map(size_t i) if (granule_sz < orig_granule_sz) granule_sz = orig_granule_sz; } /* For these larger sizes, we use an even number of granules. */ - /* This makes it easier to, for example, construct a 16byte-aligned */ + /* This makes it easier to, e.g., construct a 16-byte-aligned */ /* allocator even if GRANULE_BYTES is 8. */ granule_sz += 1; granule_sz &= ~1; -- 2.40.0