This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [LD][Testsuite] Add --no-dynamic-linker option to dynamic-1 rdynamic-1 test case.


Hi

On 13/06/17 00:38, Alan Modra wrote:
On Mon, Jun 12, 2017 at 10:00:46AM -0700, H.J. Lu wrote:
On Mon, Jun 12, 2017 at 9:58 AM, Renlin Li <renlin.li@foss.arm.com> wrote:
Hi H.J.,

Thanks for your hint.

the check_shared_lib_support returns TRUE for arm-none-eabi target triple.
That's why those test gets executed.

However, my arm-none-eabi toolchain is configured to disable shared. So by
default the binary created by this toolchain is statically linked.

Please update check_shared_lib_support for your target.

No, at the moment arm-none-eabi-ld supports shared libraries.  If I
understand correctly, the problem is caused by not having any shared
libraries installed for the target, which is quite normal and an
entirely different issue (and that may occur on any target that
supports shared libraries).
Yes, I think that's the reason why arm-none-eabi is marked to support shared library.

As this test is not a executable test. It should be fine to add this option? I tested with arm-linux-gnueabi toolchain, with and without this option, it all pass.

Regards,
Renlin


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]