• N
    powerpc: Link warning for orphan sections · 83a092cf
    Nicholas Piggin 提交于
    Add --orphan-handling=warn to final link flags. This ensures we can
    handle all sections explicitly. This would have caught subtle breakage
    such as 7de3b27b at build-time.
    
    Also bring existing orphan sections into the fold:
    - .text.hot and .text.unlikely are compiler generated sections.
    - .sdata2, .dynsbss, .plt are used by PPC32
    - We previously did not specify DWARF_DEBUG or STABS_DEBUG
    - DWARF_DEBUG did not include all DWARF sections that can be emitted
    - A number of sections are unused and can be discarded.
    Signed-off-by: NNicholas Piggin <npiggin@gmail.com>
    Signed-off-by: NMichael Ellerman <mpe@ellerman.id.au>
    83a092cf
vmlinux.lds.h 27.4 KB