summaryrefslogtreecommitdiffstats
path: root/cf-code
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2018-06-11 12:02:52 +1000
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2018-06-11 12:02:52 +1000
commit0cd6fcb3d6622eed323ed73891ea3a47d0d595ab (patch)
tree11fecc29055fd4604d28a25ca38ef88dd3cbc37c /cf-code
parent78bf83de4af9136bce6bfc93fa9e1c8ccbad2e10 (diff)
downloadcf-fsi-0cd6fcb3d6622eed323ed73891ea3a47d0d595ab.tar.gz
cf-fsi-0cd6fcb3d6622eed323ed73891ea3a47d0d595ab.zip
Make sure we are fully PC relative
With of course the notable exception of the exception vectors, but this will make it easier should we want to relocate the code. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'cf-code')
-rw-r--r--cf-code/cf-fsi-fw.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/cf-code/cf-fsi-fw.S b/cf-code/cf-fsi-fw.S
index 3d70efc..6089448 100644
--- a/cf-code/cf-fsi-fw.S
+++ b/cf-code/cf-fsi-fw.S
@@ -228,7 +228,7 @@ _start:
move.l %d0,%a1@(INT_CNT)
/* Install external interrupt vector */
- lea _int,%a0
+ lea %pc@(_int),%a0
move.l %a0,(0x46*4)
/* Mask interrupts */
OpenPOWER on IntegriCloud