bss_data.c 309 B

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