summaryrefslogtreecommitdiff
path: root/extra/scripts/none.lds
blob: d6bd05afc241a67db934ed673e40459884b2fd39 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* GNU ld script
 * Used by the build system to probe flags.
 * Discards all output to avoid error
 * "failed to merge target specific data of file %B". */
TARGET(binary)
INPUT(/dev/null)
/* We could as well omit the whole SECTIONS block.
 * This redundancy is just for clarity.  */
SECTIONS
{
  /DISCARD/ : { *(*) }
}