Basic constructor macro for output-section structures.
(make-output-section [:item <item>])
This is the usual way to construct output-section structures. It simply conses together a structure with the specified fields.
This macro generates a new output-section structure from scratch. See also change-output-section, which can "change" an existing structure, instead.
This is an ordinary
Macro:
(defmacro make-output-section (&rest args) (std::make-aggregate 'output-section args '((:item)) 'make-output-section nil))
Function:
(defun output-section (item) (declare (xargs :guard (output-itemp item))) (declare (xargs :guard t)) (let ((__function__ 'output-section)) (declare (ignorable __function__)) (b* ((item (mbe :logic (output-item-fix item) :exec item))) (cons :output-section (list (cons 'item item))))))