search for: relexpr

Displaying 12 results from an estimated 12 matches for "relexpr".

Did you mean: regexpr
2017 Mar 23
6
[RFC] better link error messages
...ect::ELFType<(llvm::support::endianness)0, true> >::addSection(lld::elf::InputSectionBase*)' *Conflicting symbols* /ssd/clang/bin/ld.lld: error: /ssd/llvm-project/lld/ELF/Writer.cpp:38: duplicate symbol 'lld::elf::MipsGotSection::addEntry(lld::elf::SymbolBody&, long, lld::elf::RelExpr)' /ssd/clang/bin/ld.lld: error: /ssd/llvm-project/lld/ELF/SyntheticSections.cpp:673: previous definition was here For each error, we want to print out information about 1) symbol name, 2) source file name(s) and source location(s) if available and 3) source object file name(s) and archive fil...
2017 Mar 25
4
[RFC] better link error messages
...017 5:22 PM, "Reid Kleckner" <rnk at google.com> wrote: I figured you might consider moving the basenames of the filename earlier in the diagnostic, something like: bin/ld.lld: *error:* duplicate symbol: lld::elf::MipsGotSection::addEntry(lld::elf::SymbolBody&, long, lld::elf::RelExpr) *>>> defined at* Writer.cpp:38 in /home/buildslave/buildslave/clang-cmake- aarch64-39vma/llvm/tools/lld/ELF/ *>>>* Writer.cpp.o in archive lib/liblldELF.a *>>> defined at* SyntheticSections.cpp:673 in /home/buildslave/buildslave/ clang-cmake-aarch64-39vma/llvm...
2017 Mar 29
3
[RFC] better link error messages
...kner" <rnk at google.com> wrote: > > I figured you might consider moving the basenames of the filename earlier > in the diagnostic, something like: > > bin/ld.lld: *error:* duplicate symbol: lld::elf::MipsGotSection::addEntry(lld::elf::SymbolBody&, > long, lld::elf::RelExpr) > *>>> defined at* Writer.cpp:38 in /home/buildslave/buildslave/ > clang-cmake-aarch64-39vma/llvm/tools/lld/ELF/ > *>>>* Writer.cpp.o in archive lib/liblldELF.a > *>>> defined at* SyntheticSections.cpp:673 in /home/buildslave/buildslave/ > clang...
2017 Mar 24
4
[RFC] better link error messages
...se*) *>>> referenced by* /home/buildslave/buildslave/clang-cmake-aarch64-39vma/llvm/tools/lld/ELF/Writer.cpp:207 *>>>* lib/liblldELF.a(Writer.cpp.o) bin/ld.lld: *error:* duplicate symbol: lld::elf::MipsGotSection::addEntry(lld::elf::SymbolBody&, long, lld::elf::RelExpr) *>>> defined at* /home/buildslave/buildslave/clang-cmake-aarch64-39vma/llvm/tools/lld/ELF/Writer.cpp:38 *>>>* lib/liblldELF.a(Writer.cpp.o) *>>> defined at* /home/buildslave/buildslave/clang-cmake-aarch64-39vma/llvm/tools/lld/ELF/SyntheticSections.cpp:673 *&gt...
2017 Mar 29
2
[RFC] better link error messages
...ding of this one is mildly self contradictory. Undefined symbols aren't defined, they're... used? referenced? Jon > > > Duplicate symbol error: > > bin/ld.lld: error: duplicate symbol: > lld::elf::MipsGotSection::addEntry(lld::elf::SymbolBody&, long, > lld::elf::RelExpr) > *>>> defined at* Writer.cpp:38 > (/home/buildslave/buildslave/clang-cmake-aarch64-39vma/llvm/tools/lld/ELF/Writer.cpp:38) > *>>>* Writer.cpp.o in archive lib/liblldELF.a > *>>> defined at* SyntheticSections.cpp:673 > (/home/buildslave/buildsla...
2017 Mar 29
2
[RFC] better link error messages
...ter.cpp:207 (/ssd/llvm-project/lld/ELF/Writer.cpp:207) >>>> Writer.cpp.o in archive lib/liblldELF.a > > > Duplicate symbol error: > > bin/ld.lld: error: duplicate symbol: > lld::elf::MipsGotSection::addEntry(lld::elf::SymbolBody&, long, > lld::elf::RelExpr) >>>> defined at Writer.cpp:38 >>>> (/home/buildslave/buildslave/clang-cmake-aarch64-39vma/llvm/tools/lld/ELF/Writer.cpp:38) >>>> Writer.cpp.o in archive lib/liblldELF.a >>>> defined at SyntheticSections.cpp:673 >>>> (/home/buil...
2018 Aug 21
7
[lld] avoid emitting PLT entries for ifuncs
...( Args, "keep-text-section-prefix", "nokeep-text-section-prefix", false); diff --git a/ELF/Relocations.cpp b/ELF/Relocations.cpp index 8f60aa3d2..a54d87e43 100644 --- a/ELF/Relocations.cpp +++ b/ELF/Relocations.cpp @@ -361,6 +361,10 @@ static bool isStaticLinkTimeConstant(RelExpr E, RelType Type, const Symbol &Sym, R_TLSLD_HINT>(E)) return true; + // The computation involves output from the ifunc resolver. + if (Sym.isGnuIFunc() && Config->ZIfuncnoplt) + return false; + // These never do, except if the entire file is position depe...
2005 Aug 10
1
Issues with Canoo WebTest
...er.java:1115) [canoo] at org.mozilla.javascript.Parser.mulExpr(Parser.java: 1062) [canoo] at org.mozilla.javascript.Parser.addExpr(Parser.java: 1045) [canoo] at org.mozilla.javascript.Parser.shiftExpr (Parser.java:1032) [canoo] at org.mozilla.javascript.Parser.relExpr(Parser.java: 1015) [canoo] at org.mozilla.javascript.Parser.eqExpr(Parser.java: 1002) [canoo] at org.mozilla.javascript.Parser.bitAndExpr (Parser.java:991) [canoo] at org.mozilla.javascript.Parser.bitXorExpr (Parser.java:980) [canoo] at org.mozilla.javascript...
2018 Jul 26
3
Level of support for ARM LLD
On 26 July 2018 at 18:05, Ed Maste <emaste at freebsd.org> wrote: > On 26 July 2018 at 11:08, Peter Smith <peter.smith at linaro.org> wrote: >> On 26 July 2018 at 15:52, Ed Maste <emaste at freebsd.org> wrote: >>> On 27 February 2018 at 09:06, Ed Maste <emaste at freebsd.org> wrote: >>>> >>>> A number of companies are shipping
2017 Sep 19
1
Do I need to modify the AddrLoc of LLD for ARC target?
...to the assembler via arm-linux-gnu-gcc -Wa,-mthumb (I think). I'm not able to explain what you are seeing in your print out as it doesn't quite match the map file. Looking at your source diff I think I may have found a bug: uint64_t AddrLoc = getOutputSection()->Addr + Offset; RelExpr Expr = Rel.Expr; + if ((Expr == R_PC || Expr == R_GOT_PC) && + (Config->EMachine == EM_ARC_COMPACT || + Config->EMachine == EM_ARC_COMPACT2)) { + uint64_t M = 0; + if (Type == R_ARC_32_PCREL || Type == R_ARC_PC32 || + Type == R_ARC_GOTPC32 || Type...
2017 Sep 18
1
Do I need to modify the AddrLoc of LLD for ARC target?
...any processor >>>> specific modifications to generic ELF that you have to follow. >>> >>> I implemented the MOD P for ARC: >>> >>> static void modifyARCAddrLoc(uint64_t &AddrLoc, const uint16_t EMachine, >>> RelExpr Expr, uint32_t Type, uint64_t VMA, >>> uint64_t OutSecOff, uint64_t RelOff) { >>> if (EMachine != EM_ARC_COMPACT || EMachine != EM_ARC_COMPACT2 || >>> Expr != R_PC || Expr != R_GOT_PC) { >>> return; >>> } >>&...
2017 Sep 14
4
Do I need to modify the AddrLoc of LLD for ARC target?
Hello Leslie, I think we are going to need to know a bit more about the ELF ABI for what looks like the ArcCompact before we can help you. LLD's calculation of P (the place to be relocated) is as it is in the generic ELF specification. The Rel.Offset corresponds to the ELF r_offset field. This is covered by: "For a relocatable file, the value is the byte offset from the beginning of the