• Helge Deller's avatar
    parisc: Merge millicode routines via linker script · 6cd819e8
    Helge Deller authored
    When compiling the 4.13-rc kernel I got those linker errors:
    libgcc2.c:(.text+0x110): relocation truncated to fit: R_PARISC_PCREL22F against symbol `$$divU'
    	defined in .text.div section in /usr/lib/gcc/hppa64-linux-gnu/4.9.2/libgcc.a(_divU.o)
    hppa64-linux-gnu-ld: /usr/lib/gcc/hppa64-linux-gnu/4.9.2/libgcc.a(_moddi3.o)(.text+0x174): cannot reach $$divU
    
    Avoid such errors by bundling the millicode routines in the linker script.
    Signed-off-by: default avatarHelge Deller <deller@gmx.de>
    6cd819e8
vmlinux.lds.S 3.39 KB