ldlinux: Don't discard cmdline arguments when executing labels
commitab018ba3ce947f206bda2fc3c367a7eb4504b553
authorMatt Fleming <matt.fleming@intel.com>
Thu, 21 Feb 2013 14:24:57 +0000 (21 14:24 +0000)
committerMatt Fleming <matt.fleming@intel.com>
Thu, 21 Feb 2013 14:31:21 +0000 (21 14:31 +0000)
tree693fc004d2cb13911ce46cec1fa64e3fc6520044
parent07395d946e566263525f08f31692678422976a21
ldlinux: Don't discard cmdline arguments when executing labels

Don't throw away additional cmdline arguments when executing a
label. Append them instead. Gene Cumm reports,

  When using the CLI and calling a LABEL "mylabel", specifying
  "mylabel options" does not pass "options" through to the kernel's
  command line.

Reported-by: Gene Cumm <gene.cumm@gmail.com>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
com32/elflink/ldlinux/ldlinux.c