• Yonghong Song's avatar
    usdt: ignore location with incorrect probe virtual address · bf2a8111
    Yonghong Song authored
    The patch fixed issue #1528. The linker ld.gold may generate
    a probe with invalid virtual address if the section which the probe
    relocates against is discarded.
    
    Instead of failing, a simple checking is added such that
    if the probe virtual address is less than the address of the first
    instruction, print out a warning and ignore this probe.
    Signed-off-by: default avatarYonghong Song <yhs@fb.com>
    bf2a8111
bcc_elf.c 18.1 KB