Hi Tim,

> $ readelf -d /usr/local/gcc-arm-none-eabi-4_9-2015q2/bin/arm-none-eabi-gcc
> 
> Dynamic section at offset 0xb20a4 contains 26 entries:
>    Tag        Type                         Name/Value
>   0x00000001 (NEEDED)                     Shared library: [libm.so.6]
>   0x00000001 (NEEDED)                     Shared library: [libc.so.6]
>   0x00000001 (NEEDED)                     Shared library: [ld-linux.so.2]

BTW, there's also ldd(1) which shows how the file's needs are met.

    $ ldd /bin/ls
            linux-vdso.so.1 =>  (0x00007fff873ff000)
            libselinux.so.1 => /lib/libselinux.so.1 (0x00007fbcd78be000)
            librt.so.1 => /lib/librt.so.1 (0x00007fbcd76b6000)
            libacl.so.1 => /lib/libacl.so.1 (0x00007fbcd74ad000)
            libc.so.6 => /lib/libc.so.6 (0x00007fbcd7129000)
            libdl.so.2 => /lib/libdl.so.2 (0x00007fbcd6f25000)
            /lib64/ld-linux-x86-64.so.2 (0x00007fbcd7af8000)
            libpthread.so.0 => /lib/libpthread.so.0 (0x00007fbcd6d07000)
            libattr.so.1 => /lib/libattr.so.1 (0x00007fbcd6b02000)
    $

Cheers, Ralph.

--
Next meeting:  Bournemouth, Tuesday, 2015-07-07 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread:  mailto:dorset@mailman.lug.org.uk / CHECK IF YOU'RE REPLYING
Reporting bugs well:  http://goo.gl/4Xue     / TO THE LIST OR THE AUTHOR

Reply via email to