Skip to content
Snippets Groups Projects
Forked from Reform / reform-boundary-uboot
Source project has a limited visibility.
  • Alexey Brodkin's avatar
    c7dea6e2
    arc: make global_data.h usable in assembly files · c7dea6e2
    Alexey Brodkin authored
    
    Currently on attempt to use global_data.h in an assembly file following
    will happen:
    -------------------->8-----------------
    ./arch/arc/include/asm/global_data.h: Assembler messages:
    ./arch/arc/include/asm/global_data.h:11: Error: bad instruction 'struct arch_global_data{'
    ./arch/arc/include/asm/global_data.h:12: Error: junk at end of line, first unrecognized character is `}'
    scripts/Makefile.build:316: recipe for target 'arch/arc/lib/start.o' failed
    -------------------->8-----------------
    
    In this change we disable struct arch_global_data in ASM which fixes
    the issue above.
    
    Signed-off-by: default avatarAlexey Brodkin <abrodkin@synopsys.com>
    c7dea6e2
    History
    arc: make global_data.h usable in assembly files
    Alexey Brodkin authored
    
    Currently on attempt to use global_data.h in an assembly file following
    will happen:
    -------------------->8-----------------
    ./arch/arc/include/asm/global_data.h: Assembler messages:
    ./arch/arc/include/asm/global_data.h:11: Error: bad instruction 'struct arch_global_data{'
    ./arch/arc/include/asm/global_data.h:12: Error: junk at end of line, first unrecognized character is `}'
    scripts/Makefile.build:316: recipe for target 'arch/arc/lib/start.o' failed
    -------------------->8-----------------
    
    In this change we disable struct arch_global_data in ASM which fixes
    the issue above.
    
    Signed-off-by: default avatarAlexey Brodkin <abrodkin@synopsys.com>