Commit 9715a2e8 authored by Alexander Graf's avatar Alexander Graf

PPC: Add _GLOBAL_TOC for 32bit

Commit ac5a8ee8 started using _GLOBAL_TOC on ppc32 code. Unfortunately it's only
defined for 64bit targets though. Define it for ppc32 as well, fixing the build
breakage that commit introduced.
Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
parent 341acbb3
...@@ -277,6 +277,8 @@ GLUE(.,name): ...@@ -277,6 +277,8 @@ GLUE(.,name):
.globl n; \ .globl n; \
n: n:
#define _GLOBAL_TOC(name) _GLOBAL(name)
#define _KPROBE(n) \ #define _KPROBE(n) \
.section ".kprobes.text","a"; \ .section ".kprobes.text","a"; \
.globl n; \ .globl n; \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment