summaryrefslogtreecommitdiffstats
path: root/org.rtems.cdt.toolchain/src/org/rtems/cdt/toolchain/RtemsLinkCommandLineInfo.java
blob: a19fef141049bf15059d498cbb306e1f44956e80 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package org.rtems.cdt.toolchain;

import org.eclipse.cdt.managedbuilder.core.IManagedCommandLineInfo;
import org.eclipse.cdt.managedbuilder.internal.core.ManagedCommandLineInfo;

public class RtemsLinkCommandLineInfo extends ManagedCommandLineInfo 
                                   implements IManagedCommandLineInfo {

  public RtemsLinkCommandLineInfo(String commandLine,
      String commandLinePattern, String commandName, String flags,
      String outputFlag, String outputPrefix, String outputName,
      String inputResources) {
    super(commandLine, commandLinePattern, commandName, flags, outputFlag,
        outputPrefix, outputName, inputResources);
  }
  
  public String getCommandLine() {
    String defaultCmdLine = super.getCommandLine();
    String relObjs = RtemsManagerRelocationLinkHandler.getRelocationLinkObjs();
    return defaultCmdLine + relObjs; 
  }

}