Displaying 3 results from an estimated 3 matches for "propertyreader".
2017 Mar 23
2
[LLD] Linking static library does not resolve symbols as gold/ld
...it, and the relocation type is R_X86_64_PC32, not
> > R_X86_64_PLT32.
>
> It seems to me R_X86_64_PLT32 is not so unusual in this case, e.g. -fPIC
> already produces this relocation:
>
> $ cat example.cpp
> #include <vector>
> #include <string>
>
> class PropertyReader
> {
> public:
> struct record
> {
> std::string a;
> std::string b;
> };
> PropertyReader();
> private:
> std::vector<record> records;
> };
>
> PropertyReader::PropertyReader() : records()
> {
> }
>
> $ g++ -fP...
2017 Mar 15
2
[LLD] Linking static library does not resolve symbols as gold/ld
On Wed, Mar 15, 2017 at 2:22 PM, Martin Richtarsky <s at martinien.de> wrote:
> Here is the relevant output:
>
> 0000000000013832 <func()>:
> 13832: 55 push %rbp
> 13833: 48 89 e5 mov %rsp,%rbp
> 13836: 53 push %rbx
> 13837: 48 83 ec 18 sub $0x18,%rsp
2017 Apr 25
1
[LLD] Linking static library does not resolve symbols as gold/ld
...>>
> >> It seems to me R_X86_64_PLT32 is not so unusual in this case, e.g. -fPIC
> >> already produces this relocation:
> >>
> >> $ cat example.cpp
> >> #include <vector>
> >> #include <string>
> >>
> >> class PropertyReader
> >> {
> >> public:
> >> struct record
> >> {
> >> std::string a;
> >> std::string b;
> >> };
> >> PropertyReader();
> >> private:
> >> std::vector<record> records;
> &...