Announcement

Collapse
No announcement yet.

GNU Binutils 2.26: Linker Gets Experimental Garbage Collection, LLVM Plugin Support

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • GNU Binutils 2.26: Linker Gets Experimental Garbage Collection, LLVM Plugin Support

    Phoronix: GNU Binutils 2.26: Linker Gets Experimental Garbage Collection, LLVM Plugin Support

    GNU Binutils 2.26 has been released as the first major release in more than one year since Binutils 2.25...

    Phoronix, Linux Hardware Reviews, Linux hardware benchmarks, Linux server benchmarks, Linux benchmarking, Desktop Linux, Linux performance, Open Source graphics, Linux How To, Ubuntu benchmarks, Ubuntu hardware, Phoronix Test Suite

  • #2
    Garbage connection --> Garbage collection

    Comment


    • #3
      Garbage in --> Garbage out

      Seriously though. The article means to explain that --gc-sections that has been available for ELF binaries (for quite some time), now is available for COFF and PE too?

      Comment


      • #4
        Why does linker need garbage collection ?

        Comment


        • #5
          Originally posted by Brane215 View Post
          Why does linker need garbage collection ?
          Symbols unreachable from main() and from initializations and public somelib.so functions can be removed. Unused private recursive functions/variables form loops that can be removed by garbage collection.

          Comment


          • #6
            Originally posted by Brane215 View Post
            Why does linker need garbage collection ?
            Dead-code removal. A compiler often can't tell if a function is used outside of the object-file, so they can only do dead-code removal inside functions, not on entire functions, but the linker can.

            Comment

            Working...
            X