diff options
Diffstat (limited to 'src/third_party/abseil-cpp-master/abseil-cpp/absl/flags/flag_benchmark.lds')
-rw-r--r-- | src/third_party/abseil-cpp-master/abseil-cpp/absl/flags/flag_benchmark.lds | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/third_party/abseil-cpp-master/abseil-cpp/absl/flags/flag_benchmark.lds b/src/third_party/abseil-cpp-master/abseil-cpp/absl/flags/flag_benchmark.lds new file mode 100644 index 00000000000..af115dfc009 --- /dev/null +++ b/src/third_party/abseil-cpp-master/abseil-cpp/absl/flags/flag_benchmark.lds @@ -0,0 +1,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 |