projects
/
linux-2.6-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c787fed
)
powerpc/64/build: merge .got and .toc input sections
author
Nicholas Piggin
<npiggin@gmail.com>
Fri, 16 Sep 2022 04:07:54 +0000
(14:07 +1000)
committer
Michael Ellerman
<mpe@ellerman.id.au>
Mon, 26 Sep 2022 10:58:17 +0000
(20:58 +1000)
Follow the binutils ld internal linker script and merge .got and .toc
input sections in the .got output section.
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link:
https://lore.kernel.org/r/20220916040755.2398112-7-npiggin@gmail.com
arch/powerpc/kernel/vmlinux.lds.S
patch
|
blob
|
blame
|
history
diff --git
a/arch/powerpc/kernel/vmlinux.lds.S
b/arch/powerpc/kernel/vmlinux.lds.S
index 4c38406384a94699eff245150e654fe68169ef9e..e68eb93810660021a9b2489975e9a257b1654941 100644
(file)
--- a/
arch/powerpc/kernel/vmlinux.lds.S
+++ b/
arch/powerpc/kernel/vmlinux.lds.S
@@
-173,8
+173,7
@@
SECTIONS
}
.got : AT(ADDR(.got) - LOAD_OFFSET) ALIGN(256) {
- *(.got)
- *(.toc)
+ *(.got .toc)
}
SOFT_MASK_TABLE(8)