Page MenuHomePhabricator

WIP: fix ldscript AT> parsing
AbandonedPublic

Authored by jroelofs on Oct 20 2017, 2:57 PM.

Details

Summary

This needs thorough review... I don't know what I'm doing here. Probably not yet ready to be committed because of that.

Diff Detail

Event Timeline

jroelofs created this revision.Oct 20 2017, 2:57 PM
compnerd edited edge metadata.Oct 20 2017, 3:19 PM

The name is a bad idea, because you could get an expression or a value which is not a region name. I think that you should test that as well.

The name is a bad idea, because you could get an expression or a value which is not a region name. I think that you should test that as well.

"The AT> keyword takes the name of a memory region as an argument"

https://sourceware.org/binutils/docs/ld/Output-Section-LMA.html#Output-Section-LMA

lld/test/ELF/linkerscript/lma.s
23

I still need to debug this, since it's different with ld.bfd.

jroelofs abandoned this revision.Jul 29 2020, 1:58 PM