145afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgglobal bar 245afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgglobal foo 345afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.org 445afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgsection .bar 545afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgbar: 645afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgdd foo-$ 745afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgdd baz-$ 845afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgcall foo 945afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgcall baz 1045afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgfoo: 1145afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.org 1245afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgsection .data 1345afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgbaz: 1445afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgdd foo-$ 1545afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.org;dd $-foo ; illegal 1645afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgdd baz-$ 1745afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgdd $-baz 1845afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgdd foo+4-$ ; with constant 1945afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgdd $-baz+foo+4-$ ; both local and cross-segment (legal) 2045afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgdd baz+foo+4-$-$ ; ditto, slightly different 2145afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.org;dd (bar-$)+(foo-$) ; illegal (too many cross-segment) 2245afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgdd baz-$+baz-$ ; two from same segment 2345afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.org 2445afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgsection .text 2545afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgmov dword [foo-$], 5 2645afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgmov eax, foo-$ 2745afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgcall foo 28