Changeset 69a123b in rtems-tools for linkers/rtems-ld.cpp


Ignore:
Timestamp:
Mar 1, 2013, 2:58:56 AM (7 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
4.10, 4.11, master
Children:
26b46b1
Parents:
6c4218b
Message:

Support the gcc option '-Wl'.

Support and ignore the '-Wl,options' command line option to allow
build system that use this flag to call the RTEMS linker.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • linkers/rtems-ld.cpp

    r6c4218b r69a123b  
    110110            << " -a march  : machine architecture (also --march)" << std::endl
    111111            << " -c cpu    : machine architecture's CPU (also --mcpu)" << std::endl
     112            << " -Wl,opts  : link compatible flags, ignored" << std::endl
    112113            << "Output Formats:" << std::endl
    113114            << " rap     - RTEMS application (LZ77, single image)" << std::endl
     
    187188    while (true)
    188189    {
    189       int opt = ::getopt_long (argc, argv, "hvwVMnb:E:o:O:L:l:a:c:e:d:u:C:", rld_opts, NULL);
     190      int opt = ::getopt_long (argc, argv, "hvwVMnb:E:o:O:L:l:a:c:e:d:u:C:W:", rld_opts, NULL);
    190191      if (opt < 0)
    191192        break;
     
    272273        case 'b':
    273274          base_name = optarg;
     275          break;
     276
     277        case 'W':
     278          /* ignore linker compatiable flags */
    274279          break;
    275280
Note: See TracChangeset for help on using the changeset viewer.