* subsegs.c (abs_seg_info, und_seg_info): Define if BFD_ASSEMBLER.
authorIan Lance Taylor <ian@airs.com>
Tue, 21 Jun 1994 16:45:09 +0000 (16:45 +0000)
committerIan Lance Taylor <ian@airs.com>
Tue, 21 Jun 1994 16:45:09 +0000 (16:45 +0000)
commitdff770c8d62a4e900c509ab23ea0bba0a1f11de0
tree088a1e6a5906c29eed13c78cd9ce058e80c225f1
parent55f3c2b411849e43a956eff316f6ff171ed8b14a
* subsegs.c (abs_seg_info, und_seg_info): Define if BFD_ASSEMBLER.
(subseg_change): Store seg_info for bfd_abs_section_ptr in
abs_seg_info, and store seg_info for bfd_und_section_ptr in
und_seg_info.
(subseg_get): Likewise.  Also, don't set output_section if it is
already set.
(seg_info): Define as function.
* subsegs.h (seg_info): Declare as function rather than defining
as macro.
* write.c (relax_and_size_seg): Call seg_info rather than
bfd_get_section_userdata.
gas/ChangeLog
gas/subsegs.c