summaryrefslogtreecommitdiff
path: root/gcc/config/elfos.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/elfos.h')
-rw-r--r--gcc/config/elfos.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/config/elfos.h b/gcc/config/elfos.h
index b01dcdb609e..3a04661ea33 100644
--- a/gcc/config/elfos.h
+++ b/gcc/config/elfos.h
@@ -21,6 +21,12 @@ along with GNU CC; see the file COPYING. If not, write to
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+#define TARGET_OBJFMT_CPP_BUILTINS() \
+ do \
+ { \
+ builtin_define ("__ELF__"); \
+ } \
+ while (0)
/* Define a symbol indicating that we are using elfos.h.
Some CPU specific configuration files use this. */