created arch-specific glibc sysdep.h
authorAndrew Waterman <waterman@parcad.millennium.berkeley.edu>
Thu, 25 Feb 2010 07:34:20 +0000 (23:34 -0800)
committerKevin Klues <klueska@cs.berkeley.edu>
Thu, 3 Nov 2011 00:35:36 +0000 (17:35 -0700)
tools/compilers/gcc-glibc/glibc-2.11.1-ros/sysdeps/ros/i386/sysdep.h [new file with mode: 0644]
tools/compilers/gcc-glibc/glibc-2.11.1-ros/sysdeps/ros/sparc/sparc32/sysdep.h [new file with mode: 0644]
tools/compilers/gcc-glibc/glibc-2.11.1-ros/sysdeps/ros/sysdep.h [deleted file]

diff --git a/tools/compilers/gcc-glibc/glibc-2.11.1-ros/sysdeps/ros/i386/sysdep.h b/tools/compilers/gcc-glibc/glibc-2.11.1-ros/sysdeps/ros/i386/sysdep.h
new file mode 100644 (file)
index 0000000..8ebfb22
--- /dev/null
@@ -0,0 +1,53 @@
+#ifndef _SYSDEP_H
+#define _SYSDEP_H
+
+#ifdef __ASSEMBLER__
+# define PTR_MANGLE(dst,src,tmp) movl src,dst
+# define PTR_DEMANGLE(dst,src,tmp) PTR_MANGLE(dst,src,tmp)
+# define PTR_MANGLE2(dst,src,tmp) PTR_MANGLE(dst,src,tmp)
+# define PTR_DEMANGLE2(dst,src,tmp) PTR_MANGLE2(dst,src,tmp)
+#else
+# define PTR_MANGLE(a) (a)
+# define PTR_DEMANGLE(a) (a)
+#endif
+
+#define INTERNAL_SYSCALL_DECL(err) do { } while (0)
+
+#define INTERNAL_SYSCALL(name, err, nr, args...) (0)
+
+#  define cfi_startproc                 .cfi_startproc
+#  define cfi_endproc                   .cfi_endproc
+#  define cfi_def_cfa(reg, off)         .cfi_def_cfa reg, off
+#  define cfi_def_cfa_register(reg)     .cfi_def_cfa_register reg
+#  define cfi_def_cfa_offset(off)       .cfi_def_cfa_offset off
+#  define cfi_adjust_cfa_offset(off)    .cfi_adjust_cfa_offset off
+#  define cfi_offset(reg, off)          .cfi_offset reg, off
+#  define cfi_rel_offset(reg, off)      .cfi_rel_offset reg, off
+#  define cfi_register(r1, r2)          .cfi_register r1, r2
+#  define cfi_return_column(reg)        .cfi_return_column reg
+#  define cfi_restore(reg)              .cfi_restore reg
+#  define cfi_same_value(reg)           .cfi_same_value reg
+#  define cfi_undefined(reg)            .cfi_undefined reg
+#  define cfi_remember_state            .cfi_remember_state
+#  define cfi_restore_state             .cfi_restore_state
+#  define cfi_window_save               .cfi_window_save
+#  define cfi_personality(enc, exp)     .cfi_personality enc, exp
+#  define cfi_lsda(enc, exp)            .cfi_lsda enc, exp
+
+#define C_SYMBOL_NAME(name) name
+#define C_LABEL(name) name ## :
+
+#define ENTRY(name)                     \
+       .align  4;                      \
+       .global C_SYMBOL_NAME(name);    \
+       .type   name, @function;        \
+C_LABEL(name)                           \
+       cfi_startproc;
+
+#define END(name)                       \
+       cfi_endproc;                    \
+       .size name, . - name
+
+#define LOC(name)  .L##name
+
+#endif
diff --git a/tools/compilers/gcc-glibc/glibc-2.11.1-ros/sysdeps/ros/sparc/sparc32/sysdep.h b/tools/compilers/gcc-glibc/glibc-2.11.1-ros/sysdeps/ros/sparc/sparc32/sysdep.h
new file mode 100644 (file)
index 0000000..d14b648
--- /dev/null
@@ -0,0 +1,53 @@
+#ifndef _SYSDEP_H
+#define _SYSDEP_H
+
+#ifdef __ASSEMBLER__
+# define PTR_MANGLE(dst,src,tmp) mov src,dst
+# define PTR_DEMANGLE(dst,src,tmp) PTR_MANGLE(dst,src,tmp)
+# define PTR_MANGLE2(dst,src,tmp) PTR_MANGLE(dst,src,tmp)
+# define PTR_DEMANGLE2(dst,src,tmp) PTR_MANGLE2(dst,src,tmp)
+#else
+# define PTR_MANGLE(a) (a)
+# define PTR_DEMANGLE(a) (a)
+#endif
+
+#define INTERNAL_SYSCALL_DECL(err) do { } while (0)
+
+#define INTERNAL_SYSCALL(name, err, nr, args...) (0)
+
+#  define cfi_startproc                 .cfi_startproc
+#  define cfi_endproc                   .cfi_endproc
+#  define cfi_def_cfa(reg, off)         .cfi_def_cfa reg, off
+#  define cfi_def_cfa_register(reg)     .cfi_def_cfa_register reg
+#  define cfi_def_cfa_offset(off)       .cfi_def_cfa_offset off
+#  define cfi_adjust_cfa_offset(off)    .cfi_adjust_cfa_offset off
+#  define cfi_offset(reg, off)          .cfi_offset reg, off
+#  define cfi_rel_offset(reg, off)      .cfi_rel_offset reg, off
+#  define cfi_register(r1, r2)          .cfi_register r1, r2
+#  define cfi_return_column(reg)        .cfi_return_column reg
+#  define cfi_restore(reg)              .cfi_restore reg
+#  define cfi_same_value(reg)           .cfi_same_value reg
+#  define cfi_undefined(reg)            .cfi_undefined reg
+#  define cfi_remember_state            .cfi_remember_state
+#  define cfi_restore_state             .cfi_restore_state
+#  define cfi_window_save               .cfi_window_save
+#  define cfi_personality(enc, exp)     .cfi_personality enc, exp
+#  define cfi_lsda(enc, exp)            .cfi_lsda enc, exp
+
+#define C_SYMBOL_NAME(name) name
+#define C_LABEL(name) name ## :
+
+#define ENTRY(name)                     \
+       .align  4;                      \
+       .global C_SYMBOL_NAME(name);    \
+       .type   name, @function;        \
+C_LABEL(name)                           \
+       cfi_startproc;
+
+#define END(name)                       \
+       cfi_endproc;                    \
+       .size name, . - name
+
+#define LOC(name)  .L##name
+
+#endif
diff --git a/tools/compilers/gcc-glibc/glibc-2.11.1-ros/sysdeps/ros/sysdep.h b/tools/compilers/gcc-glibc/glibc-2.11.1-ros/sysdeps/ros/sysdep.h
deleted file mode 100644 (file)
index d14b648..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-#ifndef _SYSDEP_H
-#define _SYSDEP_H
-
-#ifdef __ASSEMBLER__
-# define PTR_MANGLE(dst,src,tmp) mov src,dst
-# define PTR_DEMANGLE(dst,src,tmp) PTR_MANGLE(dst,src,tmp)
-# define PTR_MANGLE2(dst,src,tmp) PTR_MANGLE(dst,src,tmp)
-# define PTR_DEMANGLE2(dst,src,tmp) PTR_MANGLE2(dst,src,tmp)
-#else
-# define PTR_MANGLE(a) (a)
-# define PTR_DEMANGLE(a) (a)
-#endif
-
-#define INTERNAL_SYSCALL_DECL(err) do { } while (0)
-
-#define INTERNAL_SYSCALL(name, err, nr, args...) (0)
-
-#  define cfi_startproc                 .cfi_startproc
-#  define cfi_endproc                   .cfi_endproc
-#  define cfi_def_cfa(reg, off)         .cfi_def_cfa reg, off
-#  define cfi_def_cfa_register(reg)     .cfi_def_cfa_register reg
-#  define cfi_def_cfa_offset(off)       .cfi_def_cfa_offset off
-#  define cfi_adjust_cfa_offset(off)    .cfi_adjust_cfa_offset off
-#  define cfi_offset(reg, off)          .cfi_offset reg, off
-#  define cfi_rel_offset(reg, off)      .cfi_rel_offset reg, off
-#  define cfi_register(r1, r2)          .cfi_register r1, r2
-#  define cfi_return_column(reg)        .cfi_return_column reg
-#  define cfi_restore(reg)              .cfi_restore reg
-#  define cfi_same_value(reg)           .cfi_same_value reg
-#  define cfi_undefined(reg)            .cfi_undefined reg
-#  define cfi_remember_state            .cfi_remember_state
-#  define cfi_restore_state             .cfi_restore_state
-#  define cfi_window_save               .cfi_window_save
-#  define cfi_personality(enc, exp)     .cfi_personality enc, exp
-#  define cfi_lsda(enc, exp)            .cfi_lsda enc, exp
-
-#define C_SYMBOL_NAME(name) name
-#define C_LABEL(name) name ## :
-
-#define ENTRY(name)                     \
-       .align  4;                      \
-       .global C_SYMBOL_NAME(name);    \
-       .type   name, @function;        \
-C_LABEL(name)                           \
-       cfi_startproc;
-
-#define END(name)                       \
-       cfi_endproc;                    \
-       .size name, . - name
-
-#define LOC(name)  .L##name
-
-#endif