aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnatoly Sokolov <aesok@post.ru>2010-01-02 14:24:02 +0300
committerAnatoly Sokolov <aesok@gcc.gnu.org>2010-01-02 14:24:02 +0300
commit04176b913cb2aa24244d340afc3c793fff5c0c25 (patch)
tree0af0f084948ef00c65027f57ccab8f7078b58dc4
parent5a013dc42c21a12375e88c88a36a7d677570a409 (diff)
downloadgcc-04176b913cb2aa24244d340afc3c793fff5c0c25.zip
gcc-04176b913cb2aa24244d340afc3c793fff5c0c25.tar.gz
gcc-04176b913cb2aa24244d340afc3c793fff5c0c25.tar.bz2
avr.h (REG_OK_FOR_BASE_P, [...]): Remove.
* config/avr/avr.h (REG_OK_FOR_BASE_P, REG_OK_FOR_INDEX_P, XEXP_) : Remove. * config/avr/avr-protos.h (avr_init_once, avr_optimization_options, avr_change_section, avr_reg_class_from_letter) : Remove declaration. From-SVN: r155564
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/config/avr/avr-protos.h6
-rw-r--r--gcc/config/avr/avr.h13
3 files changed, 10 insertions, 16 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index f153d80..2898134 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,10 @@
+2010-01-02 Anatoly Sokolov <aesok@post.ru>
+
+ * config/avr/avr.h (REG_OK_FOR_BASE_P, REG_OK_FOR_INDEX_P,
+ XEXP_) : Remove.
+ * config/avr/avr-protos.h (avr_init_once, avr_optimization_options,
+ avr_change_section, avr_reg_class_from_letter) : Remove declaration.
+
2010-01-02 Richard Guenther <rguenther@suse.de>
PR lto/41597
diff --git a/gcc/config/avr/avr-protos.h b/gcc/config/avr/avr-protos.h
index e014085..ea4fe27 100644
--- a/gcc/config/avr/avr-protos.h
+++ b/gcc/config/avr/avr-protos.h
@@ -1,6 +1,6 @@
/* Prototypes for exported functions defined in avr.c
- Copyright (C) 2000, 2001, 2002, 2003, 2004, 2006, 2007, 2008, 2009
+ Copyright (C) 2000, 2001, 2002, 2003, 2004, 2006, 2007, 2008, 2009, 2010
Free Software Foundation, Inc.
Contributed by Denis Chertykov (chertykov@gmail.com)
@@ -22,15 +22,11 @@
extern int function_arg_regno_p (int r);
-extern void avr_init_once (void);
extern void avr_override_options (void);
extern void avr_cpu_cpp_builtins (struct cpp_reader * pfile);
-extern void avr_optimization_options (int level, int size);
-extern char *avr_change_section (char *sect_name);
extern int avr_ret_register (void);
extern bool class_likely_spilled_p (int c);
extern enum reg_class avr_regno_reg_class (int r);
-extern enum reg_class avr_reg_class_from_letter (int c);
extern void asm_globalize_label (FILE *file, const char *name);
extern void avr_asm_declare_function_name (FILE *, const char *, tree);
extern void order_regs_for_local_alloc (void);
diff --git a/gcc/config/avr/avr.h b/gcc/config/avr/avr.h
index 265c161..9bd955a 100644
--- a/gcc/config/avr/avr.h
+++ b/gcc/config/avr/avr.h
@@ -1,7 +1,8 @@
/* Definitions of target machine for GNU compiler,
for ATMEL AVR at90s8515, ATmega103/103L, ATmega603/603L microcontrollers.
Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
- 2008, 2009 Free Software Foundation, Inc.
+ 2008, 2009, 2010
+ Free Software Foundation, Inc.
Contributed by Denis Chertykov (chertykov@gmail.com)
This file is part of GCC.
@@ -414,16 +415,6 @@ extern int avr_reg_order[];
#define REG_OK_FOR_BASE_STRICT_P(X) REGNO_OK_FOR_BASE_P (REGNO (X))
-#ifdef REG_OK_STRICT
-# define REG_OK_FOR_BASE_P(X) REG_OK_FOR_BASE_STRICT_P (X)
-#else
-# define REG_OK_FOR_BASE_P(X) REG_OK_FOR_BASE_NOSTRICT_P (X)
-#endif
-
-#define REG_OK_FOR_INDEX_P(X) 0
-
-#define XEXP_(X,Y) (X)
-
/* LEGITIMIZE_RELOAD_ADDRESS will allow register R26/27 to be used, where it
is no worse than normal base pointers R28/29 and R30/31. For example:
If base offset is greater than 63 bytes or for R++ or --R addressing. */