Don't report symbol lookup failure in first phase of linking
[binutils-gdb.git] / ld / testsuite / ld-elf / pr23900-2.s
1 .text
2 .global start /* Used by SH targets. */
3 start:
4 .global _start
5 _start:
6 .global __start
7 __start:
8 .global main /* Used by HPPA targets. */
9 main:
10 .globl _main /* Used by LynxOS targets. */
11 _main:
12 .dc.a 0
13
14 /* NB: Deliberately incorrect section name. Should be
15 .note.gnu.property. */
16 .section .note, "a"
17 .p2align ALIGN
18 .dc.l .L1 - .L0 /* name length. */
19 .dc.l .L3 - .L1 /* data length. */
20 /* NT_GNU_PROPERTY_TYPE_0 */
21 .dc.l 5 /* note type. */
22 .L0:
23 .asciz "GNU" /* vendor name. */
24 .L1:
25 .p2align ALIGN
26 /* GNU_PROPERTY_NO_COPY_ON_PROTECTED */
27 .dc.l 2 /* pr_type. */
28 .dc.l .L5 - .L4 /* pr_datasz. */
29 .L4:
30 .L5:
31 .p2align ALIGN
32 .L3: