ld: Correct --dependency-file order
authorH.J. Lu <hjl.tools@gmail.com>
Wed, 24 Jun 2020 13:39:03 +0000 (06:39 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 24 Jun 2020 13:39:03 +0000 (06:39 -0700)
commit4bf05d4a900ae2c6c59e173340cc087584e46c81
tree41153f11e11aebb2beef4bc73d9abf264e6fe5d5
parent2c8e370829c7e4ed73d64a9d7be4991521620b3a
ld: Correct --dependency-file order

Change ld --help output to

  -d, -dc, -dp                Force common symbols to be defined
  --dependency-file FILE      Write dependency file

instead of

  -d, -dc                     Force common symbols to be defined
  --dependency-file FILE, -dp Write dependency file

PR ld/26165
* lexsup.c (ld_options): Correct --dependency-file order.
ld/ChangeLog
ld/lexsup.c