[PATCH] Subclass DynamicTable for each targets to factor out handling of target dependent part of a dynamic table

Shankar Kalpathi Easwaran shankarke at gmail.com
Thu Jan 30 10:23:00 PST 2014


  I think we need to design this properly. Specifically the DynamicTable class.

  This is one way that I want to go about :-

  DefaultDynamicTable
     - addTag
     - setTag

  GnuLDDynamicTable : DefaultDynamicTable
     - add tags that is needed to duplicate default GnuLD behavior for all architectures.
     - add mappings that translate from one tag to another (to permit architectures to override).

  MipsDynamicTable : GnuLDDynamicTable
      - override specific tags

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



More information about the llvm-commits mailing list