[PATCH] [ELF] Fix weak symbols order

Shankar Kalpathi Easwaran shankarke at gmail.com
Wed Mar 6 11:59:08 PST 2013


Hi Bigcheese,

This patch fixes weak symbol order in the executable. This is needed to fix helloworld working with glibc on x86_64 with layout pass. 

This makes helloworld pass on x86_64/hexagon with LayoutPass.

http://llvm-reviews.chandlerc.com/D501

Files:
  test/elf/X86_64/multi-weak-syms-order.test
  test/elf/X86_64/Inputs/multi-weak.c
  test/elf/X86_64/Inputs/multi-ovrd.c
  test/elf/X86_64/Inputs/weak.c
  test/elf/X86_64/Inputs/ovrd.c
  test/elf/X86_64/weak-override.test
  test/elf/X86_64/multi-weak-override.test
  test/elf/X86_64/weak-zero-sized.test
  lib/ReaderWriter/ELF/File.h
  lib/Passes/LayoutPass.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D501.1.patch
Type: text/x-patch
Size: 16730 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130306/2d8eb1b2/attachment.bin>


More information about the llvm-commits mailing list