aboutsummaryrefslogtreecommitdiff
path: root/gdb/m-nplinit.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/m-nplinit.h')
-rw-r--r--gdb/m-nplinit.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/m-nplinit.h b/gdb/m-nplinit.h
new file mode 100644
index 0000000..840c2c7
--- /dev/null
+++ b/gdb/m-nplinit.h
@@ -0,0 +1,4 @@
+/* This is how the size of an individual .o file's text segment
+ is rounded on a NP1. See np1-pinsn.c for rounding function. */
+
+#define FILEADDR_ROUND(addr) (((int)(addr) + 31) & ~0xf)