"pr19784b" \
"pass.out" \
] \
- [list \
- "Run pr21481a" \
- "$NOPIE_LDFLAGS -Wl,-z,bndplt" \
- "" \
- { pr21481a.c pr21481b.S } \
- "pr21481a" \
- "pass.out" \
- "$NOPIE_CFLAGS" \
- ] \
- [list \
- "Run pr21481b" \
- "$NOPIE_LDFLAGS -Wl,-z,bndplt,-z,now" \
- "" \
- { pr21481a.c pr21481b.S } \
- "pr21481b" \
- "pass.out" \
- "$NOPIE_CFLAGS" \
- ] \
]
}
"pass.out" \
] \
]
+ if { [check_ifunc_attribute_available] } {
+ run_ld_link_exec_tests [list \
+ [list \
+ "Run pr21481a" \
+ "$NOPIE_LDFLAGS -Wl,-z,bndplt" \
+ "" \
+ { pr21481a.c pr21481b.S } \
+ "pr21481a" \
+ "pass.out" \
+ "$NOPIE_CFLAGS" \
+ ] \
+ [list \
+ "Run pr21481b" \
+ "$NOPIE_LDFLAGS -Wl,-z,bndplt,-z,now" \
+ "" \
+ { pr21481a.c pr21481b.S } \
+ "pr21481b" \
+ "pass.out" \
+ "$NOPIE_CFLAGS" \
+ ] \
+ ]
+ }
}
undefined_weak "$NOPIE_CFLAGS" "$NOPIE_LDFLAGS"