From 66784b7122217c0f133a2e7e49cffbe88a374b0f Mon Sep 17 00:00:00 2001 From: ISSOtm Date: Sun, 20 Sep 2020 00:06:51 +0200 Subject: [PATCH] Fix documentation not mentioning `SECTION FRAGMENT`syntax --- src/asm/rgbasm.5 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/asm/rgbasm.5 b/src/asm/rgbasm.5 index 165cd087..872b0814 100644 --- a/src/asm/rgbasm.5 +++ b/src/asm/rgbasm.5 @@ -681,6 +681,11 @@ Similarly, the size of an unionized section is the largest of all its declaratio .Ss Section Fragments Section fragments are sections with a small twist: when several of the same name are encountered, they are concatenated instead of producing an error. This works within the same file (paralleling the behavior "plain" sections has in previous versions), but also across object files. +To declare an section fragment, add a +.Ic FRAGMENT +keyword after the +.Ic SECTION +one; the declaration is otherwise not different. However, similarly to .Sx Unionized Sections , some rules must be followed: