• Mahesh Salgaonkar's avatar
    powerpc: Fix "attempt to move .org backwards" error · 4e243b79
    Mahesh Salgaonkar authored
    With recent machine check patch series changes, The exception vectors
    starting from 0x4300 are now overflowing with allyesconfig. Fix that by
    moving machine_check_common and machine_check_handle_early code out of
    that region to make enough room for exception vector area.
    
    Fixes this build error reportes by Stephen:
    
    arch/powerpc/kernel/exceptions-64s.S: Assembler messages:
    arch/powerpc/kernel/exceptions-64s.S:958: Error: attempt to move .org backwards
    arch/powerpc/kernel/exceptions-64s.S:959: Error: attempt to move .org backwards
    arch/powerpc/kernel/exceptions-64s.S:983: Error: attempt to move .org backwards
    arch/powerpc/kernel/exceptions-64s.S:984: Error: attempt to move .org backwards
    arch/powerpc/kernel/exceptions-64s.S:1003: Error: attempt to move .org backwards
    arch/powerpc/kernel/exceptions-64s.S:1013: Error: attempt to move .org backwards
    arch/powerpc/kernel/exceptions-64s.S:1014: Error: attempt to move .org backwards
    arch/powerpc/kernel/exceptions-64s.S:1015: Error: attempt to move .org backwards
    arch/powerpc/kernel/exceptions-64s.S:1016: Error: attempt to move .org backwards
    arch/powerpc/kernel/exceptions-64s.S:1017: Error: attempt to move .org backwards
    arch/powerpc/kernel/exceptions-64s.S:1018: Error: attempt to move .org backwards
    
    [Moved the code further down as it introduced link errors due to too long
     relative branches to the masked interrupts handlers from the exception
     prologs. Also removed the useless feature section --BenH
    ]
    Signed-off-by: default avatarMahesh Salgaonkar <mahesh@linux.vnet.ibm.com>
    Reported-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
    Tested-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
    Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
    4e243b79
exceptions-64s.S 46 KB