Skip to content
Snippets Groups Projects
  1. Apr 10, 2024
  2. Apr 23, 2021
  3. Mar 23, 2021
  4. Feb 01, 2021
  5. Mar 20, 2020
    • Lyude Paul's avatar
      assembler/gen4asm.h: Remove struct src_operand src_operand variable · 6944f651
      Lyude Paul authored and Petri Latvala's avatar Petri Latvala committed
      
      Another spot where we fail compilation with -fcommon, due to src_operand
      getting included in multiple translation units without being marked as
      extern:
      
      /usr/bin/ld:
      assembler/1ca89e8@@intel-gen4asm@exe/meson-generated_gram.c.o:assembler/gen4asm.h:119:
      multiple definition of `src_operand';
      assembler/1ca89e8@@intel-gen4asm@exe/meson-generated_lex.c.o:assembler/gen4asm.h:119:
      first defined here
      /usr/bin/ld:
      assembler/1ca89e8@@intel-gen4asm@exe/main.c.o:assembler/gen4asm.h:119:
      multiple definition of `src_operand';
      assembler/1ca89e8@@intel-gen4asm@exe/meson-generated_lex.c.o:assembler/gen4asm.h:119:
      first defined here
      
      However, we never actually refer to this variable - only its type
      definition. So, just remove the declaration entirely.
      
      Changes since v1:
      * Don't make src_operand extern - just remove the variable declaration
        entirely, we only ever use the typedef - Chris Wilson
      
      Signed-off-by: Lyude Paul's avatarLyude Paul <lyude@redhat.com>
      Reviewed-by: default avatarPetri Latvala <petri.latvala@intel.com>
      6944f651
  6. Jan 29, 2019
  7. Nov 05, 2018
  8. Apr 04, 2018
  9. Jan 17, 2018
  10. Jan 16, 2018
  11. Nov 29, 2017
  12. Oct 30, 2017
  13. Oct 02, 2017
  14. Sep 18, 2017
  15. Sep 08, 2017
  16. Mar 10, 2017
  17. Nov 30, 2016
  18. Sep 01, 2016
  19. Jun 23, 2016
  20. Aug 21, 2015
  21. Sep 30, 2014
  22. May 19, 2014
  23. Feb 13, 2014
  24. Feb 11, 2014
  25. Feb 06, 2014
  26. Dec 06, 2013
  27. Nov 06, 2013
Loading