Skip to content
  1. Jul 26, 2013
  2. Jul 24, 2013
  3. Jul 22, 2013
  4. Jul 19, 2013
  5. Jul 18, 2013
  6. Jul 17, 2013
  7. Jul 16, 2013
  8. Jul 14, 2013
  9. Jul 13, 2013
  10. Jul 12, 2013
  11. Jul 10, 2013
  12. Jul 04, 2013
  13. Jul 03, 2013
  14. Jul 02, 2013
  15. Jul 01, 2013
  16. Jun 27, 2013
  17. Jun 26, 2013
  18. Jun 24, 2013
  19. Jun 22, 2013
  20. Jun 20, 2013
  21. Jun 19, 2013
  22. Jun 18, 2013
    • Jack Carter's avatar
      Mips ELF: Mark object file as ABI compliant · f9f753c2
      Jack Carter authored
      When producing objects that are abi compliant we are 
      marking neither the object file nor the assembly file
      correctly and thus generate warnings. 
      
      We need to set the EF_CPIC flag in the ELF header when
      generating direct object.
      
      Note that the warning is only generated when compiling without PIC.
      
      When compiling with clang the warning will be suppressed by supplying:
      
       -Wa,-mno-shared -Wa,-call_nonpic
      
      Also the following directive should also be added:
      
      	.option	pic0
      
      when compiling without PIC,  This eliminates the need for supplying:
      
        -mno-shared -call_nonpic
      
      on the assembler command line.
      
      Patch by Douglas Gilmore
      
      llvm-svn: 184220
      f9f753c2
Loading