aboutsummaryrefslogtreecommitdiff
path: root/gdb/symfile-mem.c
diff options
context:
space:
mode:
authorCary Coutant <ccoutant@gmail.com>2015-11-05 12:59:02 -0800
committerCary Coutant <ccoutant@gmail.com>2015-11-05 12:59:19 -0800
commit96f9814df23564e16909bb5ba00de4a202c63417 (patch)
treef53d2b10048697e57b7698c948f81e9ebc7017e9 /gdb/symfile-mem.c
parent0eccf19f96d6218dd7c2f8d13f0546c2b942cc08 (diff)
downloadgdb-96f9814df23564e16909bb5ba00de4a202c63417.zip
gdb-96f9814df23564e16909bb5ba00de4a202c63417.tar.gz
gdb-96f9814df23564e16909bb5ba00de4a202c63417.tar.bz2
Revert patch for PR 19119, which led to PR 19172 and 19197.
Gold does not support all the emulations that Gnu ld does, and supports only one spelling per target. The -m option is used only in the rare case where there are no ELF input files, and we produce an empty output file. In those cases, users are expected to supply a -m option naming one of the supported emulations. In the many cases where a build script provides an unnecessary -m option naming an emulation that gold does not support, we will simply ignore the option, as we did before the reverted patch. gold/ PR gold/19119 PR gold/19172 PR gold/19197 Revert commit 6457197210144f50a696097c0d308d81d46d5510: 2015-10-16 H.J. Lu <hongjiu.lu@intel.com> * options.h (General_options): Remove "obsolete" from -m. * parameters.cc (set_parameters_target): Check if input target is compatible with output emulation set by "-m emulation".
Diffstat (limited to 'gdb/symfile-mem.c')
0 files changed, 0 insertions, 0 deletions