Message ID | 1395747879-5948-11-git-send-email-anton@samba.org (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
On Tue, Mar 25, 2014 at 10:44:16PM +1100, Anton Blanchard wrote: > The linker fixes up TOC. relocations, so prom_init_check.sh should > ignore them. Err, .TOC. you mean. Presumably something strips off the leading dot somewhere? > -btext_setup_display" > +btext_setup_display TOC."
Hi Alan, > > The linker fixes up TOC. relocations, so prom_init_check.sh should > > ignore them. > > Err, .TOC. you mean. Presumably something strips off the leading dot > somewhere? Yeah, the script strips them: # On 64-bit nm gives us the function descriptors, which have # a leading . on the name, so strip it off here. UNDEF="${UNDEF#.}" I'll modify the commit message to be less confusing. Anton
diff --git a/arch/powerpc/kernel/prom_init_check.sh b/arch/powerpc/kernel/prom_init_check.sh index b0c263d..77aa1e9 100644 --- a/arch/powerpc/kernel/prom_init_check.sh +++ b/arch/powerpc/kernel/prom_init_check.sh @@ -23,7 +23,7 @@ strcmp strcpy strlcpy strlen strncmp strstr logo_linux_clut224 reloc_got2 kernstart_addr memstart_addr linux_banner _stext opal_query_takeover opal_do_takeover opal_enter_rtas opal_secondary_entry boot_command_line __prom_init_toc_start __prom_init_toc_end -btext_setup_display" +btext_setup_display TOC." NM="$1" OBJ="$2"
The linker fixes up TOC. relocations, so prom_init_check.sh should ignore them. Signed-off-by: Anton Blanchard <anton@samba.org> --- arch/powerpc/kernel/prom_init_check.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)