From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Serge Nikulin" To: , Subject: Re: How to embed path info into assembler sources? Date: Thu, 13 Jul 2000 14:38:00 -0000 Message-id: <001301bfed12$62bcd540$35758798@mis.amat.com> References: <009301bfecef$ca393970$35758798@mis.amat.com> <396E02D0.AAC4D516@mvista.com> <002a01bfecf6$674d6aa0$35758798@mis.amat.com> <396E156C.A427B893@mvista.com> X-SW-Source: 2000-q3/msg00066.html Cal, > This is an interesting problem. By default the m68k assembler produces iee695 > files as output. These files would have the path information in them for debug. > If you are running a very old m68k assembler that produces coff output I do not use MRI's assembler. my assembler is a standard GNU binutils-2.9.1 as assembler (aka GAS). It was targeted as --target=m68k-coff The resulting executable is m68k-coff-as.exe My sources ARE MRI-compatible. As a matter of fact, I have to maintain this MRI compatibility because other folks over here still use MRI tools to build the project. So the problem is with GAS. GAS does not incorporate path info into objects. In comparison, gcc incorporates path info into intermediate *.s sources. But it does it in native GAS format (.stabs). Apparently GAS in MRI mode does not understand these stabs. The question is how to incorporate pathinfo into the object file or into the final abs file.