Home | History | Annotate | Download | only in ppc64

Lines Matching refs:ld

36 	"cmd/link/internal/ld"
40 func Init() (*sys.Arch, ld.Arch) {
46 theArch := ld.Arch{
64 // TODO(austin): ABI v1 uses /usr/lib/ld.so.1,
77 func archinit(ctxt *ld.Link) {
80 ld.Exitf("unknown -H option: %v", ctxt.HeadType)
83 ld.HEADR = 32
85 if *ld.FlagTextAddr == -1 {
86 *ld.FlagTextAddr = 4128
88 if *ld.FlagDataAddr == -1 {
89 *ld.FlagDataAddr = 0
91 if *ld.FlagRound == -1 {
92 *ld.FlagRound = 4096
97 *ld.FlagD = true // TODO(austin): ELF ABI v1 not supported yet
99 ld.Elfinit(ctxt)
100 ld.HEADR = ld.ELFRESERVE
101 if *ld.FlagTextAddr == -1 {
102 *ld.FlagTextAddr = 0x10000 + int64(ld.HEADR)
104 if *ld.FlagDataAddr == -1 {
105 *ld.FlagDataAddr = 0
107 if *ld.FlagRound == -1 {
108 *ld.FlagRound = 0x10000
112 ld.Elfinit(ctxt)
113 ld.HEADR = 0x10000
114 ld.Funcalign = 16
115 if *ld.FlagTextAddr == -1 {
116 *ld.FlagTextAddr = 0x20000
118 if *ld.FlagDataAddr == -1 {
119 *ld.FlagDataAddr = 0
121 if *ld.FlagRound == -1 {
122 *ld.FlagRound = 0x10000
126 if *ld.FlagDataAddr != 0 && *ld.FlagRound != 0 {
127 fmt.Printf("warning: -D0x%x is ignored because of -R0x%x\n", uint64(*ld.FlagDataAddr), uint32(*ld.FlagRound))