-----Original Message----- From: Moore, Catherine [mailto:catherine_mo...@mentor.com] Sent: Friday, February 13, 2015 2:37 AM To: Petar Jovanovic; 'Matthew Fortune'; gcc-patches@gcc.gnu.org; 'Maciej W. Rozycki' Cc: Moore, Catherine Subject: RE: [PATCH v2][MIPS] fix CRT_CALL_STATIC_FUNCTION macro
> Hi Petar, > > There isn't any need to execute a large testcase. Instead, try adding a short version of your test to the directory gcc/testsuite/gcc.target/mips. > There are examples of other tests there they check for specific assembler sequences by using scan-assembler. See umips-swp-1.c (and others) for a specific example of how to do this. > Let me know if you need additional help. > Thanks, > Catherine Hi Catherine, Sorry for late response, I have missed to follow up on this. IIUC, scan-assembler will scan assembly file generated from a test file. This particular change will - on the other hand - modify crtend.o and thus init section. Is there a 'scan-assembler' functionality over a final linked executable, as that would actually test the change? Let me know. Thanks. Regards, Petar