dejagnu
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

heads-up: libgloss scripts in board files and "-Wl,"-stripping bad


From: Hans-Peter Nilsson
Subject: heads-up: libgloss scripts in board files and "-Wl,"-stripping bad
Date: Thu, 9 Apr 2015 03:01:28 +0200

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]