summaryrefslogtreecommitdiff
path: root/absl/flags/flag_benchmark.lds
blob: af115dfc0090387e620affe8f7bc571d7ae26483 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* This linker script forces the flags used by flags_benchmark
 * into a separate page-aligned section. This isn't necessary for
 * correctness but ensures that the benchmark results are more
 * reproducible across unrelated code changes.
 */
SECTIONS {
  .benchmark_flags : {
    . = ALIGN(0x1000);
    * (.benchmark_flags);
  }
}

INSERT AFTER .data