From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Mark E." To: gas2@cygnus.com Subject: Re: .eh_frame problem Date: Wed, 03 Mar 1999 21:15:00 -0000 Message-id: <199903040515.FAA105708@out2.ibm.net> References: <199903030556.FAA07970@out5.ibm.net> <199903040053.QAA03202@rtl.cygnus.com> X-SW-Source: 1999/msg00030.html > I doubt it, since I think that djgpp doesn't use BFD_ASSEMBLER. If > you look at gas/config/tc-i386.h at md_maybe_text, you will see how > gas guesses whether to pad with 0x90 or 0. > Here's the code: #ifdef BFD_ASSEMBLER #define md_maybe_text() \ ((bfd_get_section_flags (stdoutput, now_seg) & SEC_CODE) != 0) #else #define md_maybe_text() \ (now_seg != data_section && now_seg != bss_section) #endif It seems to me, to parallel the BFD_ASSEMBER version, that the !BFD_ASSEMBER version should be something like: #define md_maybe_text() (now_seg == text_section) Mark --- Mark Elbrecht snowball3@usa.net http://members.xoom.com/snowball3/