Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(332)

Issue 6538110: Cherry pick -r124899 from llvm root (Closed)

Created:
9 years, 10 months ago by jasonwkim
Modified:
9 years, 7 months ago
Visibility:
Public.

Description

Just what it says - for ARM/MC/ELF http://llvm.org/viewvc/llvm-project?view=rev&revision=124899 From: -r124899 Teach ARM/MC/ELF about EF_ARM_EABI_VERSION. The magic number is set to 5 to match the current doc. Added FIXME reminder Make it really configurable later. NOTE: NaCl requires an special ELF e_flags. So does ARM. PNaCl lib/MC/ELFObjectwriter.cpp had a @LOCALMOD to deal with the NaCl specific e_flags which conflicted with the necessary update to ARM. This required the merged version to have the @LOCALMOD@ as well to handle both cases.

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -11 lines) Patch
M llvm-trunk/include/llvm/Support/ELF.h View 1 chunk +4 lines, -0 lines 0 comments Download
M llvm-trunk/lib/MC/ELFObjectWriter.cpp View 5 chunks +35 lines, -11 lines 2 comments Download
A llvm-trunk/test/MC/ARM/elf-eflags-eabi.s View 1 chunk +13 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
jasonwkim
9 years, 10 months ago (2011-02-23 01:45:36 UTC) #1
robertm
http://codereview.chromium.org/6538110/diff/1/llvm-trunk/lib/MC/ELFObjectWriter.cpp File llvm-trunk/lib/MC/ELFObjectWriter.cpp (right): http://codereview.chromium.org/6538110/diff/1/llvm-trunk/lib/MC/ELFObjectWriter.cpp#newcode281 llvm-trunk/lib/MC/ELFObjectWriter.cpp:281: // @LOCALMOD-BEGIN I am confused which way are you ...
9 years, 10 months ago (2011-02-23 15:08:58 UTC) #2
jasonwkim
http://codereview.chromium.org/6538110/diff/1/llvm-trunk/lib/MC/ELFObjectWriter.cpp File llvm-trunk/lib/MC/ELFObjectWriter.cpp (right): http://codereview.chromium.org/6538110/diff/1/llvm-trunk/lib/MC/ELFObjectWriter.cpp#newcode281 llvm-trunk/lib/MC/ELFObjectWriter.cpp:281: // @LOCALMOD-BEGIN On 2011/02/23 15:08:58, robertm wrote: > I ...
9 years, 10 months ago (2011-02-23 15:28:17 UTC) #3
robertm
Could you add some info to the description. Maybe indicated that this is not just ...
9 years, 10 months ago (2011-02-23 15:40:00 UTC) #4
jasonwkim
On 2011/02/23 15:40:00, robertm wrote: > Could you add some info to the description. > ...
9 years, 10 months ago (2011-02-23 16:09:58 UTC) #5
robertm
9 years, 10 months ago (2011-02-23 16:15:14 UTC) #6
LGTM

On 2011/02/23 16:09:58, jasonwkim wrote:
> On 2011/02/23 15:40:00, robertm wrote:
> > Could you add some info to the description.
> > Maybe indicated that this is not just a cherry
> > pick but that it also contains local mods.
> 
> PTAL. 
> 
> > 
> > 
> > On 2011/02/23 15:28:17, jasonwkim wrote:
> > >
> >
>
http://codereview.chromium.org/6538110/diff/1/llvm-trunk/lib/MC/ELFObjectWrit...
> > > File llvm-trunk/lib/MC/ELFObjectWriter.cpp (right):
> > > 
> > >
> >
>
http://codereview.chromium.org/6538110/diff/1/llvm-trunk/lib/MC/ELFObjectWrit...
> > > llvm-trunk/lib/MC/ELFObjectWriter.cpp:281: // @LOCALMOD-BEGIN
> > > On 2011/02/23 15:08:58, robertm wrote:
> > > > I am confused which way are you cherry picking.
> > > > Why is there a LOCAMOD here
> > > 
> > > Because our code uses EF_NACL_ALIGN_32 which the upstream doesn't know
> about,
> > > thus the @LOCALMOD
> > > 
> > > This code was lifted from line 477 of the PNACL ELFObjectWriter.cpp I am
> also
> > > merely preserving the localmod that was there

Powered by Google App Engine
This is Rietveld 408576698