mirror of
https://github.com/golang/go
synced 2024-11-26 17:36:56 -07:00
cmd/5l, cmd/6l, cmd/8l: put floating point numbers in .rodata section
R=golang-dev, rsc CC=0xe2.0x9a.0x9b, golang-dev https://golang.org/cl/6742063
This commit is contained in:
parent
75692424d2
commit
3dbbb6eb4c
@ -688,7 +688,7 @@ loop:
|
||||
sprint(literal, "$%ux", ieeedtof(&p->from.ieee));
|
||||
s = lookup(literal, 0);
|
||||
if(s->type == 0) {
|
||||
s->type = SBSS;
|
||||
s->type = SRODATA;
|
||||
adduint32(s, ieeedtof(&p->from.ieee));
|
||||
s->reachable = 0;
|
||||
}
|
||||
@ -710,7 +710,7 @@ loop:
|
||||
p->from.ieee.l, p->from.ieee.h);
|
||||
s = lookup(literal, 0);
|
||||
if(s->type == 0) {
|
||||
s->type = SBSS;
|
||||
s->type = SRODATA;
|
||||
adduint32(s, p->from.ieee.l);
|
||||
adduint32(s, p->from.ieee.h);
|
||||
s->reachable = 0;
|
||||
|
@ -682,7 +682,7 @@ loop:
|
||||
sprint(literal, "$%ux", ieeedtof(&p->from.ieee));
|
||||
s = lookup(literal, 0);
|
||||
if(s->type == 0) {
|
||||
s->type = SDATA;
|
||||
s->type = SRODATA;
|
||||
adduint32(s, ieeedtof(&p->from.ieee));
|
||||
s->reachable = 0;
|
||||
}
|
||||
@ -716,7 +716,7 @@ loop:
|
||||
p->from.ieee.l, p->from.ieee.h);
|
||||
s = lookup(literal, 0);
|
||||
if(s->type == 0) {
|
||||
s->type = SDATA;
|
||||
s->type = SRODATA;
|
||||
adduint32(s, p->from.ieee.l);
|
||||
adduint32(s, p->from.ieee.h);
|
||||
s->reachable = 0;
|
||||
|
@ -675,7 +675,7 @@ loop:
|
||||
sprint(literal, "$%ux", ieeedtof(&p->from.ieee));
|
||||
s = lookup(literal, 0);
|
||||
if(s->type == 0) {
|
||||
s->type = SDATA;
|
||||
s->type = SRODATA;
|
||||
adduint32(s, ieeedtof(&p->from.ieee));
|
||||
s->reachable = 0;
|
||||
}
|
||||
@ -709,7 +709,7 @@ loop:
|
||||
p->from.ieee.l, p->from.ieee.h);
|
||||
s = lookup(literal, 0);
|
||||
if(s->type == 0) {
|
||||
s->type = SDATA;
|
||||
s->type = SRODATA;
|
||||
adduint32(s, p->from.ieee.l);
|
||||
adduint32(s, p->from.ieee.h);
|
||||
s->reachable = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user