Fixes for new ARC toolchain
Compilation issues detected with gcc 4.8.5 + uclibc 1.0.16.
arch/arc/Makefile:
from upstream Linux 4.7
- disable -fasynchronous-unwind-tables
- force -gdwarf-2
arch/arc/boot/Makefile:
from upstream Linux 4.7
- add -R .note.gnu.build-id to objcopy flags
- without this, objcopy creates non-working 2GB Image
arch/arc/include/asm/bitops.h:
from upstream Linux 4.7
- fix {set,clear,change}_bit and test_and_{set,clear,change}_bit
- new assembler is not happy about the old asm code
arch/arc/include/asm/irqflags.h:
- old assembler had built-in constant 'auxienable'
- new assembler has built-in constant 'aux_ienable'
- use the actual value 0x40c here, so this works on both
arch/arc/proc/arc700/entry.S:
- fix off-by-one error with the number of syscalls
- NR_syscalls == 354
- (__syscall_end - __syscall_start) / 4 == 355
- new assembler is not happy about it
arch/arc/proc/arc700/head.S:
- fix syntax errors in mov instructions
- new assembler is not happy about them
drivers/ruby/iputil.c:
- remove unused but set variable 'donez'
drivers/topaz/hbm.c:
- fix unused but set variable 'rc'
NOTE:
These changes are valid and working for the old toolchain as well.
Change-Id: I9b9d99178880e14047119be33dcc7a596ed8efc5
8 files changed