summaryrefslogtreecommitdiffstats
path: root/asm/real_map.S
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2014-11-18 19:33:51 +1100
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2014-11-18 19:33:51 +1100
commitc38c2e8d08e03e905b72334747a9f8795f3526c2 (patch)
tree94a7e5ec6124998eee1d1a27577370b03304c4e6 /asm/real_map.S
parent94796c825b0708c8c86e7135d60c435fc3fd00a5 (diff)
downloadblackbird-skiboot-c38c2e8d08e03e905b72334747a9f8795f3526c2.tar.gz
blackbird-skiboot-c38c2e8d08e03e905b72334747a9f8795f3526c2.zip
Add symbolic backtraces and expose skiboot map to Linux
We use a double link technique, doing a first pass with a .o containing a dummy symbol map, then re-linking with a new .o Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'asm/real_map.S')
-rw-r--r--asm/real_map.S20
1 files changed, 20 insertions, 0 deletions
diff --git a/asm/real_map.S b/asm/real_map.S
new file mode 100644
index 00000000..fbbf2ccf
--- /dev/null
+++ b/asm/real_map.S
@@ -0,0 +1,20 @@
+/* Copyright 2013-2014 IBM Corp.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ * implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+
+ .section ".sym_map","a"
+ .incbin "skiboot.tmp.map"
+
OpenPOWER on IntegriCloud