This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[AVR] Add support of the __attribute__((alias(...)))
- From: "Anatoly Sokolov" <aesok at post dot ru>
- To: <gcc-patches at gcc dot gnu dot org>
- Cc: <denisc at overta dot ru>
- Date: Tue, 30 May 2006 00:13:35 +0400
- Subject: [AVR] Add support of the __attribute__((alias(...)))
Hi.
This patch adds support of the __attribute__((alias(...))) in AVR-GCC. No new
regresion in GCC testsuite.
2006-05-30 Anatoly Sokolov <aesok@post.ru>
ChangeLog:
* config/avr/avr.h (SET_ASM_OP): Define.
Index: gcc/config/avr/avr.h
===================================================================
--- gcc/config/avr/avr.h (revision 114212)
+++ gcc/config/avr/avr.h (working copy)
@@ -591,6 +591,8 @@
/* Globalizing directive for a label. */
#define GLOBAL_ASM_OP ".global\t"
+#define SET_ASM_OP "\t.set\t"
+
#define ASM_WEAKEN_LABEL(FILE, NAME) \
do \
{ \
Anatoly.