MCLinker - the final toolchain frontier

Jörg Sonnenberger

joerg@NetBSD.org

Naples, April 06, 2013

BSD Day 2013

Overview

  • Introduction
  • Architecture
  • Performance
  • Implementation status
  • Future work

Introduction

  • Machine Code Linker complements the MC layer of LLVM
  • Created by Luba Tang from MediaTek in 2011
  • Uses same BSD-license as LLVM

Architecture: High-level view

  • Build input tree
  • Build fragment reference graph
  • Layout sections, relocate and write output
  • GNU ld: three steps mixed up
  • gold: merge first two phases

See also

Corporate supporters

  • MediaTek
  • Google
  • Intel
  • MIPS
  • Qualcomm

Q&A

Questions?