search for: easwaram

Displaying 13 results from an estimated 13 matches for "easwaram".

Did you mean: easwaran
2015 Jun 03
3
[LLVMdev] [lld] TBSS wrong size
...sideration. In fact if you check the resulting tbss for the test: [15] .tbss NOBITS 0000000000401000 00001000 0000000000000010 0000000000000000 WAT 0 0 4 Its size is just 0x10 (4 int), where it should be 0x20 (8 ints). On 02-06-2015 21:14, Shankar Easwaram wrote: > Are you saying it generates wrong section size? Tbss is very special and I checked the behavior on X86_64 to model it. It does not account for virtual address increase as libc allocates it. > > >> On Jun 2, 2015, at 17:20, Adhemerval Zanella <adhemerval.zanella at lina...
2015 Apr 20
2
[LLVMdev] [lld] Linker cannot handle sections with non-unique names
...ry measure if the temporary measure is reasonable (besides the discussion if checking in binary files is desirable). Even if you plan to add a test written in YAML, it's better to check in a binary at least for now than checking it in without any tests. On Mon, Apr 20, 2015 at 7:59 AM, Shankar Easwaram <shankarke at gmail.com> wrote: > I plan to add a test case but couldn't add because of yaml2obj support. I > am adding that support to yaml2obj and obj2yaml and push this patch later. > I don't like the idea of adding binary files to the test repo as we need to > keep cl...
2015 Apr 20
4
[LLVMdev] [lld] Linker cannot handle sections with non-unique names
On Mon, Apr 20, 2015 at 1:44 AM, Shankar Easwaran <shankarke at gmail.com> wrote: > Attached patch fixes the issue. Thanks for the quick fix. The patch LGTM if you add a test case. Unfortunately yaml2obj does not support duplicated section names but we can use a binary input file. -- Simon Atanasyan
2015 Feb 07
2
[LLVMdev] [lld] Representation of lld::Reference with a fake target
...>>> The problem here is that why we need to force all developers to write >>>> code to serialize intermediate data in the middle of link, which no one >>>> except the round-trip passes needs. >>>> >>>> On Fri, Feb 6, 2015 at 6:41 PM, Shankar Easwaram <shankarke at gmail.com> >>>> wrote: >>>>> >>>>> Doing it for every input file is not useful as some of the input files >>>>> are not represent able in YAML form. Examples are shared libraries. >>>>> >>>>&gt...
2015 Feb 09
2
[LLVMdev] [lld] Representation of lld::Reference with a fake target
...d back into the Reference object in the relocation handler to simplify further processing. Since it crashed in tests because of native format conversion, I needed to keep calculated addend to pass it along the handlers instead of just calling ref.addend(). - Denis. On 02/08/2015 08:42 PM, Shankar Easwaram <shankarke at gmail.com><mailto:shankarke at gmail.com> wrote: ARM has a concept of Group relocations, which applies relocations considering them as one set may be we should consider extending apply relocation. What do you think? > On Feb 8, 2015, at 04:50, Simon Atanasyan <simon...
2015 Feb 07
2
[LLVMdev] [lld] Representation of lld::Reference with a fake target
...f reading and writing YAML. >> >> The problem here is that why we need to force all developers to write >> code to serialize intermediate data in the middle of link, which no one >> except the round-trip passes needs. >> >> On Fri, Feb 6, 2015 at 6:41 PM, Shankar Easwaram <shankarke at gmail.com> >> wrote: >> >>> Doing it for every input file is not useful as some of the input files >>> are not represent able in YAML form. Examples are shared libraries. >>> >>> The reason I made the yaml pass be called before the...
2014 Jan 19
2
[LLVMdev] [lld] Relocation sections format: .rela / .rel
Hi, Now lld writes relocations to the ".rela" sections only. Mips requires to use the "rel" format. So we need to be able to select format and names of relocation section, names of symbols like __rela_iplt_* / __rel_iplt_*, dynamic table tag DT_RELA / DT_REL. My current idea: - Add two virtual functions DefaultLayout::createDynamicRelocationTable() and
2015 Feb 07
2
[LLVMdev] [lld] Representation of lld::Reference with a fake target
I think no one is opposing the idea of reading and writing YAML. The problem here is that why we need to force all developers to write code to serialize intermediate data in the middle of link, which no one except the round-trip passes needs. On Fri, Feb 6, 2015 at 6:41 PM, Shankar Easwaram <shankarke at gmail.com> wrote: > Doing it for every input file is not useful as some of the input files are > not represent able in YAML form. Examples are shared libraries. > > The reason I made the yaml pass be called before the writer was the > intermediate result was more...
2015 Feb 09
2
[LLVMdev] [lld] Representation of lld::Reference with a fake target
...further processing. >> Since it crashed in tests because of native format conversion, I needed to >> keep calculated addend to pass it along the handlers instead of just >> calling ref.addend(). >> >> - Denis. >> >> >> On 02/08/2015 08:42 PM, Shankar Easwaram <shankarke at gmail.com> >> <shankarke at gmail.com> wrote: >> >> ARM has a concept of Group relocations, which applies relocations >> considering them as one set may be we should consider extending apply >> relocation. What do you think? >> >>...
2015 Jun 02
2
[LLVMdev] [lld] TBSS wrong size
Hi, I am tracking some TLS issues with lld and found that it is generating wrong tbss size for case where multiple modules have non initialized threads variables. For instance: -- t0.c -- __thread int x0; __thread int x1; __thread int x2; extern __thread int e0; extern __thread int e1; extern __thread int e2; extern __thread int e3; int foo0 () { return x0; } int main () { return x0; }
2015 Jun 06
2
[LLVMdev] LLD use cases and design meeting and discussion
David, I started a discussion yesterday on lld / chunks for ELF as we need relocations to be read when reading the inputs especially for handling comdat. The other way thus can be done is doing symbol resolution while reading which makes the linker less suitable for concurrent operations. Let me know what you think? Shankar Easwaran > On Jun 5, 2015, at 23:35, Davide Italiano <davide
2015 Feb 07
4
[LLVMdev] [lld] Representation of lld::Reference with a fake target
On Fri, Feb 6, 2015 at 5:42 PM, Michael Spencer <bigcheesegs at gmail.com> wrote: > On Fri, Feb 6, 2015 at 5:31 PM, Rui Ueyama <ruiu at google.com> wrote: > > There are two questions. > > > > Firstly, do you think the on-disk format needs to compatible with a C++ > > struct so that we can cast that memory buffer to the struct? That may be > >
2014 Jan 19
0
[LLVMdev] [lld] Relocation sections format: .rela / .rel
I think the linking context should decide whether to use rel (or) rela. This is also needed if --emit-relocations option is chosen (or) -r option is used. Thoughts ? Sent from my iPhone > On Jan 19, 2014, at 15:01, Simon Atanasyan <simon at atanasyan.com> wrote: > > Hi, > > Now lld writes relocations to the ".rela" sections only. Mips requires > to use the