To summarize what I wrote in
<http://sourceware.org/ml/gdb-patches/2015-04/msg00176.html>,
the use in board files of scripts which are installed as part of
libgloss, is problematic when testing the simulator, where most
tests just require an assembler and linker.  Not sure how to fix
that other than locally eliminating the "ldscript" board_info
thingy as in that patch.  Maybe you guys have a better idea.

Related to that, I wonder where sim-valid.x comes from,
mentioned in baseboards/m68hc11-sim.exp (part of it since the
beginning), because AFAICT, libgloss/m68hc11 only installs
sim-valid.ld.  Also related to that, the
set_board_info ldscript "-Wl,--script,sim-valid.x"
there, won't work with lib/target.exp:default_link, as the ","
isn't translated to " " which must happen together with the
"-Wl,"-stripping to translate the GCC option into a GNU ld
option.  Maybe just change that to "-Tsim-valid.ld".  (Sorry, I
don't have a full toolchain to test that.)

brgds, H-P

_______________________________________________
DejaGnu mailing list
DejaGnu@gnu.org
https://lists.gnu.org/mailman/listinfo/dejagnu

Reply via email to