* ld-plugin/plugin.exp: Define printf and puts as main.
This commit is contained in:
parent
271a463e7a
commit
283c0b82c3
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
2010-11-17 Alan Modra <amodra@gmail.com>
|
||||
|
||||
* ld-plugin/plugin.exp: Define printf and puts as main.
|
||||
|
||||
2010-11-08 Thomas Schwinge <thomas@schwinge.name>
|
||||
|
||||
* lib/ld-lib.exp (is_elf_format): Consider for *-*-gnu*, too.
|
||||
|
|
|
@ -87,7 +87,7 @@ set testobjfiles "tmpdir/main.o tmpdir/func.o tmpdir/text.o"
|
|||
set testobjfiles_notext "tmpdir/main.o tmpdir/func.o"
|
||||
# Rather than having libs we just define dummy values for anything
|
||||
# we may need to link a target exe; we aren't going to run it anyway.
|
||||
set libs "[ld_simple_link_defsyms] --defsym ${_}printf=0 --defsym ${_}puts=0"
|
||||
set libs "[ld_simple_link_defsyms] --defsym ${_}printf=${_}main --defsym ${_}puts=${_}main"
|
||||
|
||||
set plugin_tests [list \
|
||||
[list "load plugin" "-plugin $plugin_path \
|
||||
|
|
Loading…
Reference in a new issue