bss_data.c 302 B

1234567891011121314151617
  1. // SPDX-License-Identifier: GPL-2.0+
  2. /*
  3. * Copyright (c) 2016 Google, Inc
  4. *
  5. * Simple program to create a _dt_ucode_base_size symbol which can be read
  6. * by binutils. This is used by binman tests.
  7. */
  8. int bss_data[10];
  9. int __bss_size = sizeof(bss_data);
  10. int main()
  11. {
  12. bss_data[2] = 2;
  13. return 0;
  14. }