Closed
Bug 628378
Opened 15 years ago
Closed 15 years ago
Please drop [] around the expressions in .size assembler directives
Categories
(NSS :: Build, defect, P2)
Tracking
(Not tracked)
RESOLVED
FIXED
3.12.10
People
(Reporter: espindola, Assigned: espindola)
References
Details
Attachments
(1 file, 1 obsolete file)
|
1.30 KB,
patch
|
wtc
:
review+
|
Details | Diff | Splinter Review |
In mpi_amd64_gas.s there is code like
.size s_mpv_mul_set_vec64, [.-s_mpv_mul_set_vec64]
Using [] is undocumented (at least I couldn't find anything in the gas manual), not as supported and IMHO less clear than ().
Currently this is all that prevents this from being assembled by llvm's integrated assembler. I can fix llvm.org/PR8685 instead, but it looked better to change 4 chars in this file :-)
| Assignee | ||
Updated•15 years ago
|
Attachment #506509 -
Attachment is patch: true
Updated•15 years ago
|
Assignee: nobody → respindola
Comment 1•15 years ago
|
||
Comment on attachment 506509 [details] [diff] [review]
patch
Thanks for the patch. Let's just remove the [].
The () are not necessary:
http://sourceware.org/binutils/docs/as/Size.html#Size
Attachment #506509 -
Flags: review-
Comment 2•15 years ago
|
||
Please also fix mozilla/security/nss/lib/freebl/mpi/mpi_amd64_sun.s.
Thanks.
Status: NEW → ASSIGNED
Priority: -- → P2
Target Milestone: --- → 3.12.10
| Assignee | ||
Comment 3•15 years ago
|
||
Attachment #506509 -
Attachment is obsolete: true
Attachment #508150 -
Flags: review?(wtc)
Comment 4•15 years ago
|
||
Comment on attachment 508150 [details] [diff] [review]
Drop the []
r=wtc.
Patch checked in on the NSS trunk (NSS 3.13) and the
NSS_3_12_BRANCH (NSS 3.12.10).
Checking in mpi_amd64_gas.s;
/cvsroot/mozilla/security/nss/lib/freebl/mpi/mpi_amd64_gas.s,v <-- mpi_amd64_g
as.s
new revision: 1.3; previous revision: 1.2
done
Checking in mpi_amd64_sun.s;
/cvsroot/mozilla/security/nss/lib/freebl/mpi/mpi_amd64_sun.s,v <-- mpi_amd64_s
un.s
new revision: 1.2; previous revision: 1.1
done
Checking in mpi_amd64_gas.s;
/cvsroot/mozilla/security/nss/lib/freebl/mpi/mpi_amd64_gas.s,v <-- mpi_amd64_g
as.s
new revision: 1.2.70.1; previous revision: 1.2
done
Checking in mpi_amd64_sun.s;
/cvsroot/mozilla/security/nss/lib/freebl/mpi/mpi_amd64_sun.s,v <-- mpi_amd64_s
un.s
new revision: 1.1.198.1; previous revision: 1.1
done
Attachment #508150 -
Flags: review?(wtc) → review+
Updated•15 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Summary: Please use () instead of [] → Please drop [] around the expressions in .size assembler directives
Comment 6•15 years ago
|
||
How can we get this patch on to mozilla-central? Should we wait for the next NSS update? Or can we land it on our own?
Updated•15 years ago
|
Blocks: clang-macosx
Comment 7•15 years ago
|
||
ehsan: please wait for the next NSS update.
Comment 8•15 years ago
|
||
Wan-Teh: do you know when the next NSS update is going to be? We need these patches on mozilla-central really soon. Is this OK that we just go ahead and land this bug and bug 629839 on mozilla-central if the NSS update is not going to happen until next week?
You need to log in
before you can comment on or make changes to this bug.
Description
•