linux/arch/h8300/kernel
Geert Uytterhoeven db5ede6f5e h8300: Hardcode symbol prefixes in asm sources
Commit e1b5bb6d12 ("consolidate cond_syscall
and SYSCALL_ALIAS declarations") broke the h8300 build because it removed
the duplicate SYMBOL_NAME() macro from arch/h8300/include/asm/linkage.h,
and all the h8300 asm files include <asm/linkage.h> instead of
<linux/linkage.h>:

    arch/h8300/kernel/entry.S: Assembler messages:
    arch/h8300/kernel/entry.S:158: Error: junk at end of line, first unrecognized character is `('
    ...
    arch/h8300/kernel/syscalls.S: Assembler messages:
    arch/h8300/kernel/syscalls.S:6: Error: junk at end of line, first unrecognized character is `('
    ...
    arch/h8300/lib/abs.S: Assembler messages:
    arch/h8300/lib/abs.S:12: Error: junk at end of line, first unrecognized character is `('
    ...
    arch/h8300/lib/memcpy.S: Assembler messages:
    arch/h8300/lib/memcpy.S:13: Error: junk at end of line, first unrecognized character is `('
    ...
    arch/h8300/lib/memset.S: Assembler messages:
    arch/h8300/lib/memset.S:13: Error: junk at end of line, first unrecognized character is `('
    ...

Commit 126de6b20b ("linkage.h: fix build
breakage due to symbol prefix handling") broke it even more, by removing
SYMBOL_NAME() and replacing it by __SYMBOL_NAME().

Commit f8ce1faf55 ("Merge tag
'modules-next-for-linus' of
git://git.kernel.org/pub/scm/linuxkernel/git/rusty/linux")
also removed __SYMBOL_NAME(), hidden in a merge conflict resolution.

Hence, replace the use of SYMBOL_NAME() and SYMBOL_NAME_LABEL() in h8300
assembler sources by hardcoding the underscore symbol prefix, like other
architectures (blackfin/metag) do.

This allows to kill SYMBOL_NAME_LABEL(). Now <asm/linkage.h> becomes empty,
and h8300 can be switched to asm-generic/linkage.h.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
2013-06-23 15:54:56 +02:00
..
timer sections: fix section conflicts in arch/h8300 2012-10-06 03:04:38 +09:00
asm-offsets.c ptrace: remove PT_DTRACE from arch/h8300 2009-06-18 13:03:48 -07:00
entry.S h8300: Hardcode symbol prefixes in asm sources 2013-06-23 15:54:56 +02:00
gpio.c h8300: single_open() leaks 2013-05-05 00:08:26 -04:00
h8300_ksyms.c h8300: generic kernel_thread() 2012-10-14 19:37:40 -04:00
irq.c Disintegrate asm/system.h for H8300 2012-03-28 18:30:02 +01:00
Makefile h8300-use-generic-init_task 2012-05-05 13:00:23 +02:00
module.c modules: make arch's use default loader hooks 2011-07-24 22:06:04 +09:30
process.c dump_stack: unify debug information printed by show_regs() 2013-04-30 17:04:02 -07:00
ptrace.c Disintegrate asm/system.h for H8300 2012-03-28 18:30:02 +01:00
setup.c h8300: use the declarations provided by <asm/sections.h> 2012-06-20 14:39:35 -07:00
signal.c h8300: switch to generic old sigaction() 2013-02-03 18:15:57 -05:00
sys_h8300.c h8300: generic kernel_execve() 2012-10-14 19:37:44 -04:00
syscalls.S h8300: Hardcode symbol prefixes in asm sources 2013-06-23 15:54:56 +02:00
time.c h8300/time: add missing #include <asm/irq_regs.h> 2012-07-11 16:04:45 -07:00
traps.c dump_stack: consolidate dump_stack() implementations and unify their behaviors 2013-04-30 17:04:02 -07:00
vmlinux.lds.S module: make MODULE_SYMBOL_PREFIX into a CONFIG option 2009-12-15 16:28:26 +10:30