This is an automated email from the git hooks/post-receive script.
unknown user pushed a commit to branch hjl/iamcu/gcc-5-branch in repository gcc.
commit 18ef5017c9017cfa782781d2dbea9fe2f59e2eb5 Author: H.J. Lu hjl.tools@gmail.com Date: Wed Jul 29 14:01:06 2015 -0700
Define DBX_REGISTER_NUMBER for IA MCU
Since IA MCU uses the same debug register map as Linux/x86, we copy DBX_REGISTER_NUMBER together with TARGET_ASM_FILE_START_FILE_DIRECTIVE and ASM_COMMENT_START from i386/gnu-user.h to i386/iamcu.h.
* config/i386/iamcu.h (TARGET_ASM_FILE_START_FILE_DIRECTIVE): New. Copied from config/i386/gnu-user.h. (ASM_COMMENT_START): Likewise. (DBX_REGISTER_NUMBER): Likewise. --- gcc/config/i386/iamcu.h | 11 +++++++++++ 1 file changed, 11 insertions(+)
diff --git a/gcc/config/i386/iamcu.h b/gcc/config/i386/iamcu.h index 1e2fbe4..c20c2db 100644 --- a/gcc/config/i386/iamcu.h +++ b/gcc/config/i386/iamcu.h @@ -26,6 +26,17 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see #undef TARGET_SUBTARGET_DEFAULT #define TARGET_SUBTARGET_DEFAULT MASK_IAMCU
+/* Output at beginning of assembler file. */ +/* The .file command should always begin the output. */ +#define TARGET_ASM_FILE_START_FILE_DIRECTIVE true + +#undef ASM_COMMENT_START +#define ASM_COMMENT_START "#" + +#undef DBX_REGISTER_NUMBER +#define DBX_REGISTER_NUMBER(n) \ + (TARGET_64BIT ? dbx64_register_map[n] : svr4_dbx_register_map[n]) + #undef ASM_SPEC #define ASM_SPEC "--32 -march=iamcu"