kit

kit
git clone https://git.ryansepassi.com/git/kit.git
Log | Files | Refs | README

link_arch.c (264B)


      1 /* Per-arch link descriptor dispatcher. */
      2 
      3 #include "link/link_arch.h"
      4 
      5 #include "arch/arch.h"
      6 #include "core/core.h"
      7 
      8 const LinkArchDesc* link_arch_desc_for(const Compiler* c) {
      9   const ArchImpl* arch = arch_for_compiler(c);
     10   return arch ? arch->link : NULL;
     11 }