1
0
mirror of https://github.com/cc65/cc65.git synced 2024-09-27 04:54:54 +00:00

Describe new align_load attribute

git-svn-id: svn://svn.cc65.org/cc65/trunk@3354 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz 2005-01-08 13:52:07 +00:00
parent 7774e57eae
commit 1596692501

View File

@ -707,6 +707,15 @@ or (for the segment definitions from above)
}
</verb></tscreen>
The "<tt/align/", "<tt/start/" and "<tt/offset/" attributes change placement
of the segment in the run memory area, because this is what is usually
desired. If load and run memory areas are equal (which is the case if only the
load memory area has been specified), the attributes will also work. There is
also a "<tt/align_load/" attribute that may be used to align the start of the
segment in the load memory area, in case different load and run areas have
been specified. There are no special attributes to set start or offset for
just the load memory area.
To suppress the warning, the linker issues if it encounters a segment that is
not found in any of the input files, use "<tt/optional=yes/" as additional
segment attribute. Be careful when using this attribute, because a missing