[PATCH] LLD: ELF: Define mergeHeaderFlags to ELFLinkingContext.

Rui Ueyama ruiu at google.com
Fri Apr 3 15:32:22 PDT 2015


Hi atanasyan,

Only MIPS defined the member function, but this feature is not actually
MIPS-specific. Also, the dependency to the MIPS-only member function
prevented us from merging <Arch>ELF{Object,DSO}Reader.

This patch moves the feature from MipsLinkingContext to LinkingContext.

REPOSITORY
  rL LLVM

http://reviews.llvm.org/D8824

Files:
  include/lld/ReaderWriter/ELFLinkingContext.h
  lib/ReaderWriter/ELF/ELFReader.h
  lib/ReaderWriter/ELF/Mips/MipsELFReader.h
  lib/ReaderWriter/ELF/Mips/MipsLinkingContext.cpp
  lib/ReaderWriter/ELF/Mips/MipsLinkingContext.h
  lib/ReaderWriter/ELF/Mips/MipsTargetHandler.h

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D8824.23237.patch
Type: text/x-patch
Size: 6976 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150403/b227b417/attachment.bin>


More information about the llvm-commits mailing list