Skip to content

Commit 57bf1b7

Browse files
komhH. Peter Anvin
authored andcommitted
doc: document that the obj output format GROUP directive is cumulative
The GROUP directive can now be specified more than once for a group, and the result is cumulative (the union of all specified groups.) Signed-off-by: KO Myung-Hun <komh78@gmail.com> Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
1 parent c7e17f5 commit 57bf1b7

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

doc/changes.src

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ It is the production version of NASM since 2025.
2727
\b The unofficial but obvious alternate form \c{TEST reg,mem} was not
2828
accepted by NASM 3.00; corrected.
2929

30+
\b For the \c{obj} output format, multiple \c{GROUP} directives can
31+
now be specified for the same group; the resulting group includes
32+
all sections specified in all \c{GROUP} directives for the group.
33+
3034

3135
\S{cl-3.00} Version 3.00
3236

doc/outfmt.src

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -327,6 +327,10 @@ A group does not have to contain any segments; you can still make
327327
you are referring to. OS/2, for example, defines the special group
328328
\c{FLAT} with no segments in it.
329329

330+
\c{GROUP} is cumulative. The above example can be done like this:
331+
332+
\c group dgroup data
333+
\c group dgroup bss
330334

331335
\S{uppercase} \i\c{UPPERCASE}: Disabling Case Sensitivity in Output
332336

0 commit comments

Comments
 (0)