aboutsummaryrefslogtreecommitdiff
path: root/gdb/m-suninit.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/m-suninit.h')
-rw-r--r--gdb/m-suninit.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/m-suninit.h b/gdb/m-suninit.h
new file mode 100644
index 0000000..5f71ea1
--- /dev/null
+++ b/gdb/m-suninit.h
@@ -0,0 +1,5 @@
+
+/* This is how the size of an individual .o file's text segment
+ is rounded on a sun. */
+
+#define FILEADDR_ROUND(addr) ((addr + 3) & -4)