mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-26 05:47:26 +08:00
[LD][Testsuite] Add --no-dynamic-linker option to dynamic-1 rdynamic-1 test case.
arm-none-eabi-ld supports shared libraries. However, the toolchain may be configured to generate statically linked executable by default. It is required to have --no-dynamic-linker option before adding dynamic symbol to static executable. For dynamically linked executable, the behavior won't change. ld/ChangeLog 2017-06-13 Renlin Li <renlin.li@arm.com> * testsuite/ld-elf/shared.exp (build_tests): Add --no-dynamic-linker option to rdynamic-1 and dynamic-1 tests.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2017-06-13 Renlin Li <renlin.li@arm.com>
|
||||||
|
|
||||||
|
* testsuite/ld-elf/shared.exp (build_tests): Add --no-dynamic-linker
|
||||||
|
option to rdynamic-1 and dynamic-1 tests.
|
||||||
|
|
||||||
2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
|
2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
* testsuite/ld-x86-64/property-x86-3-x32.d: New file.
|
* testsuite/ld-x86-64/property-x86-3-x32.d: New file.
|
||||||
|
@ -382,10 +382,10 @@ set build_tests {
|
|||||||
"" ""
|
"" ""
|
||||||
{pr2404b.c} {} "libpr2404b.a"}
|
{pr2404b.c} {} "libpr2404b.a"}
|
||||||
{"Build rdynamic-1"
|
{"Build rdynamic-1"
|
||||||
"-Wl,-export-dynamic,--gc-sections" "-ffunction-sections"
|
"-Wl,--no-dynamic-linker,-export-dynamic,--gc-sections" "-ffunction-sections"
|
||||||
{rdynamic-1.c} {{readelf {-s} rdynamic-1.rd}} "rdynamic-1"}
|
{rdynamic-1.c} {{readelf {-s} rdynamic-1.rd}} "rdynamic-1"}
|
||||||
{"Build dynamic-1"
|
{"Build dynamic-1"
|
||||||
"-Wl,--dynamic-list,dynamic-1.syms -Wl,--gc-sections" "-ffunction-sections"
|
"-Wl,--no-dynamic-linker,--dynamic-list,dynamic-1.syms -Wl,--gc-sections" "-ffunction-sections"
|
||||||
{dynamic-1.c} {{readelf {-s} dynamic-1.rd}} "dynamic-1"}
|
{dynamic-1.c} {{readelf {-s} dynamic-1.rd}} "dynamic-1"}
|
||||||
{"Build libpr16496a.so"
|
{"Build libpr16496a.so"
|
||||||
"-shared -Wl,--version-script=pr16496a.map" "-fPIC"
|
"-shared -Wl,--version-script=pr16496a.map" "-fPIC"
|
||||||
|
Reference in New Issue
Block a user