Simon Atanasyan
7a400d9af4
[Mips] Implement definition of the DT_MIPS_RLD_MAP_REL dynamic tag
...
llvm-svn: 243835
2015-08-01 14:53:49 +00:00
Simon Atanasyan
98a857140b
[Mips] Implement definition of DT_MIPS_RLD_MAP dynamic tag, .rld_map section, and __RLD_MAP symbol
...
llvm-svn: 243626
2015-07-30 07:45:55 +00:00
Davide Italiano
339191fcfa
[ELF] Simplify dynamic table entry creation.
...
Differential Revision: http://reviews.llvm.org/D9921
Reviewed by: atanasyan
llvm-svn: 237973
2015-05-21 23:44:19 +00:00
Simon Atanasyan
84adf3ff15
[Mips] Write DT_MIPS_OPTIONS tag to .dynamic section
...
If .MIPS.options section exists the DT_MIPS_OPTIONS tag should hold
an address of this section.
llvm-svn: 235290
2015-04-20 07:36:27 +00:00
Simon Atanasyan
09129d957c
[Mips] clang-format the code
...
llvm-svn: 235033
2015-04-15 18:32:05 +00:00
Simon Atanasyan
f4a87333ff
[Mips] Remove redundant .got section lookup
...
No functional changes.
llvm-svn: 235032
2015-04-15 18:31:59 +00:00
Simon Atanasyan
1649aea9c6
[Hexagon][Mips] Rename template arguments <arch>ELFType to ELFT
...
In all other ELF related classes we use `ELFT` abbreviation.
llvm-svn: 234088
2015-04-04 05:19:51 +00:00
Simon Atanasyan
2181c10b5b
[ELF] Delete empty TargetLayout class and rename DefaultLayout to TargetLayout
...
No functional changes.
llvm-svn: 234052
2015-04-03 21:01:07 +00:00
Simon Atanasyan
2948dfe89f
[Mips] Remove 'mips' prefix from class member fields names
...
No functional changes.
llvm-svn: 233812
2015-04-01 15:30:53 +00:00
Simon Atanasyan
c46de4ba3b
[Mips] Use ELFLinkingContext class instead of MipsLinkingContext where possible
...
No functional changes.
llvm-svn: 226256
2015-01-16 08:57:33 +00:00
Simon Atanasyan
375f07a919
[Mips] Use OR operation to set the microMIPS bit
...
llvm-svn: 224813
2014-12-24 12:19:18 +00:00
Simon Atanasyan
87a559212b
[ELF] Allow target to adjust a symbol's value for using in a dynamic tag
...
Some targets like microMIPS and ARM Thumb use the last bit of a symbol's
value to mark 'compressed' code. This patch adds new virtual function
`DynamicTable::getAtomVirtualAddress` which allows to adjust a symbol's
value before using it in a dynamic table tags like DT_INIT / DT_FINI.
llvm-svn: 223963
2014-12-10 20:09:12 +00:00
Shankar Easwaran
14fc1c0240
Revert "[ELF][AllArchs] Fix includes"
...
This reverts commit e137dd93e1291a2d2fa7f41c8f8bcdb59c8b3225.
llvm-svn: 219313
2014-10-08 15:23:22 +00:00
Shankar Easwaran
47d5818452
[ELF][AllArchs] Fix includes
...
llvm-svn: 219278
2014-10-08 04:12:08 +00:00
Simon Atanasyan
c2d8d6d489
[Mips] s/context/ctx/ for consistency and reduce lines lengths.
...
No functional changes.
llvm-svn: 213310
2014-07-17 20:57:54 +00:00
Simon Atanasyan
54f6f7bd77
[Mips] Replace "virtual" by "override" in member function declarations
...
where it is appropriate.
llvm-svn: 203102
2014-03-06 10:29:45 +00:00
Simon Atanasyan
0912fe06dc
[Mips] Unify #include guard names.
...
llvm-svn: 200715
2014-02-03 20:10:30 +00:00
Simon Atanasyan
e6f6f06c91
[ELF] Customize dynamic table tag used for .got.plt section referencing.
...
The patch reviewed by Shankar Easwaran and Rui Ueyama.
llvm-svn: 200630
2014-02-02 12:19:29 +00:00
Simon Atanasyan
7aa9061ead
[Mips] Declare MipsDynamicTable class in a separate header file.
...
llvm-svn: 200328
2014-01-28 18:52:41 +00:00