• Zong Li's avatar
    RISC-V: Support MODULE_SECTIONS mechanism on RV32 · 2cffc956
    Zong Li authored
    This patch supports dynamic generate got and plt sections mechanism on
    rv32. It contains the modification as follows:
     - Always enable MODULE_SECTIONS (both rv64 and rv32)
     - Change the fixed size type.
    
    This patch had been tested by following modules:
    
    btrfs 6795991 0 - Live 0xa544b000
    test_static_keys 17304 0 - Live 0xa28be000
    zstd_compress 1198986 1 btrfs, Live 0xa2a25000
    zstd_decompress 608112 1 btrfs, Live 0xa24e7000
    lzo 8787 0 - Live 0xa2049000
    xor 27461 1 btrfs, Live 0xa2041000
    zram 78849 0 - Live 0xa2276000
    netdevsim 55909 0 - Live 0xa202d000
    tun 211534 0 - Live 0xa21b5000
    fuse 566049 0 - Live 0xa25fb000
    nfs_layout_flexfiles 192597 0 - Live 0xa229b000
    ramoops 74895 0 - Live 0xa2019000
    xfs 3973221 0 - Live 0xa507f000
    libcrc32c 3053 2 btrfs,xfs, Live 0xa34af000
    lzo_compress 17302 2 btrfs,lzo, Live 0xa347d000
    lzo_decompress 7178 2 btrfs,lzo, Live 0xa3451000
    raid6_pq 142086 1 btrfs, Live 0xa33a4000
    reed_solomon 31022 1 ramoops, Live 0xa31eb000
    test_bit...
    2cffc956
module-sections.c 4.43 KB