Andrew Haley wrote: > > On 02/02/2010 10:01 AM, Prashant Purohit wrote: >> >> I am porting GCC to a new dummy architecture and I am successful >> to >> get the required assembly file from cc1 but that assembly file does not >> contain the ".file" section and filename as it was there in all other GCC >> ported targets. >> >> Please, tell me if there is any function or macro to do this as I >> was not able to find it in GCC Internals. > > If I wanted to know that, I'd just use gdb to step through until the > ".file" > was emitted. Why don't you do that? > > Andrew. > > Hi, Look into the macros TARGET_ASM_FILE_START, TARGET_ASM_FILE_START_FILE_DIRECTIVE, TARGET_ASM_FILE_START_APP_OFF. Rajiv -- View this message in context: http://old.nabble.com/How-to-get-the-%22.file-and-filename%22-section-in-assembly-file.-tp27417944p27418516.html Sent from the gcc - Help mailing list archive at Nabble.com.