Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(384)

Issue 11485045: code review 11485045: cmd/ld: be specific about EABI floating point ABI (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 9 months ago by dave
Modified:
10 years, 8 months ago
Reviewers:
minux1, rsc
CC:
golang-dev
Visibility:
Public.

Description

cmd/ld: be specific about EABI floating point ABI At Canonical we have a number of post build steps that analyse the final binaries. We had a bug in our tool that got confused about the floating point ABI, which we've fixed, but at the same time, it doesn't hurt for the linker to be more specific. Update issue 5640 Be specific about EABI floating point ABI.

Patch Set 1 #

Patch Set 2 : diff -r 77be25034f84 https://code.google.com/p/go #

Patch Set 3 : diff -r 77be25034f84 https://code.google.com/p/go #

Patch Set 4 : diff -r 1264bf34914d https://code.google.com/p/go #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -1 line) Patch
M src/cmd/ld/elf.c View 1 2 3 1 chunk +5 lines, -1 line 0 comments Download

Messages

Total messages: 7
dave_cheney.net
Hello rsc@golang.org, minux.ma@gmail.com (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go
10 years, 9 months ago (2013-07-19 02:18:53 UTC) #1
dave_cheney.net
An alternative solution would be to leave ld/elf.c as is, and update hdr.flags to a ...
10 years, 9 months ago (2013-07-19 02:20:24 UTC) #2
rsc
It seems wrong for the binary that 5l generates to depend on a #define on ...
10 years, 9 months ago (2013-07-19 02:38:32 UTC) #3
dave_cheney.net
For 5l, I think it is the value of goarm. For $DAYJOB we don't build ...
10 years, 9 months ago (2013-07-19 02:41:55 UTC) #4
rsc
Can you also dig up the exact meaning of the two bits (0x400 and 0x200)? ...
10 years, 9 months ago (2013-07-19 02:50:25 UTC) #5
dave_cheney.net
http://infocenter.arm.com/help/topic/com.arm.doc.ihi0044d/IHI0044D_aaelf.pdf, page 16, table 4-2 On Fri, Jul 19, 2013 at 12:50 PM, Russ Cox ...
10 years, 9 months ago (2013-07-19 02:57:00 UTC) #6
minux1
10 years, 9 months ago (2013-07-19 08:20:28 UTC) #7
in a sense, both constants do not match our generated code exactly.

those constants are mainly about whether the program pass fp argument
in normal arm register or vfp register. however, we always pass arguments
on stack.

i think the annotation is only relevant for cgo programs, so we could
determine
that flag from the elf header of shared library (libc.so, specifically) we
are using.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b