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