* subsegs.h (segment_info_type): If MANY_SEGMENTS and not
authorIan Lance Taylor <ian@airs.com>
Thu, 2 May 1996 02:32:52 +0000 (02:32 +0000)
committerIan Lance Taylor <ian@airs.com>
Thu, 2 May 1996 02:32:52 +0000 (02:32 +0000)
commit7681eb9df7f4c5e9b057c9c2e168a973b728536b
tree5a7eeb05fa2e9773af1987c0080b6c0f3e6d0ff4
parente8f3bb64b57920133a43a8ed5dea4369bf356667
* subsegs.h (segment_info_type): If MANY_SEGMENTS and not
BFD_ASSEMBLER, add name field.
* config/obj-coff.c (coff_header_append): Handle long section
names.
(crawl_symbols): Just use the name field for the symbol name,
without worrying about null byte termination.
(w_strings): Handle long section names.
(write_object_file): Likewise.  Also, use the name field, rather
than scnhdr.s_name.
(obj_coff_add_segment): Permit long section names.
(obj_coff_init_stab_section): Use the name field, rather than
scnhdr.s_name.
(adjust_stab_section): Likewise.
* config/te-pe.h (COFF_LONG_SECTION_NAMES): Define.
gas/ChangeLog
gas/config/obj-coff.c
gas/subsegs.h