#name: weakref tests, relocations
# ecoff (OSF/alpha) lacks .weak support
# pdp11 lacks .long
+# darwin (mach-o) reverses the order of relocs.
# the following must be present in all weakref1*.d
-#not-target: alpha*-*-osf* *-*-ecoff pdp11-*-aout
+#not-target: alpha*-*-osf* *-*-ecoff pdp11-*-aout *-*-darwin*
#...
-RELOCATION RECORDS FOR \[\.text\]:
+RELOCATION RECORDS FOR \[(\.text|\$CODE\$)\]:
OFFSET +TYPE +VALUE *
# the rest of this file is generated with the following script:
# # script begin
[0-9a-f]+ [^ ]* +uh8
[0-9a-f]+ [^ ]* +uh9
[0-9a-f]+ [^ ]* +uh9
-[0-9a-f]+ [^ ]* +(ld1|\.text)(\+0x[0-9a-f]+)?
-[0-9a-f]+ [^ ]* +(ld2|\.text)(\+0x[0-9a-f]+)?
-[0-9a-f]+ [^ ]* +(ld3|\.text)(\+0x[0-9a-f]+)?
-[0-9a-f]+ [^ ]* +(ld4|\.text)(\+0x[0-9a-f]+)?
+[0-9a-f]+ [^ ]* +(ld1|\.text|\$CODE\$)(\+0x[0-9a-f]+)?
+[0-9a-f]+ [^ ]* +(ld2|\.text|\$CODE\$)(\+0x[0-9a-f]+)?
+[0-9a-f]+ [^ ]* +(ld3|\.text|\$CODE\$)(\+0x[0-9a-f]+)?
+[0-9a-f]+ [^ ]* +(ld4|\.text|\$CODE\$)(\+0x[0-9a-f]+)?
[0-9a-f]+ [^ ]* +ud5
-[0-9a-f]+ [^ ]* +(gd6|\.text)(\+0x[0-9a-f]+)?
-[0-9a-f]+ [^ ]* +(gd7|\.text)(\+0x[0-9a-f]+)?
-[0-9a-f]+ [^ ]* +(ld8|\.text)(\+0x[0-9a-f]+)?
-[0-9a-f]+ [^ ]* +(ld8|\.text)(\+0x[0-9a-f]+)?
-[0-9a-f]+ [^ ]* +(ld9|\.text)(\+0x[0-9a-f]+)?
-[0-9a-f]+ [^ ]* +(ld9|\.text)(\+0x[0-9a-f]+)?
+[0-9a-f]+ [^ ]* +(gd6|\.text|\$COD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