[PATCH] D29391: [ELF] - Postpone the evaluation of DefinedSynthetic value

Rafael Avila de Espindola via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 3 11:16:38 PST 2017


> Index: test/ELF/linkerscript/symbols-synthetic.s
> ===================================================================
> --- test/ELF/linkerscript/symbols-synthetic.s
> +++ test/ELF/linkerscript/symbols-synthetic.s
> @@ -74,8 +74,8 @@
>  # SIMPLE-NEXT: 0000000000001018         .eh_frame_hdr     00000000 __eh_frame_hdr_end
>  # SIMPLE-NEXT: 0000000000001020         *ABS*             00000000 __eh_frame_hdr_end2
>  
> -# NO-SEC:       0000000000201000         .text     00000000 .hidden _begin_sec
> -# NO-SEC-NEXT:  0000000000201001         .text     00000000 .hidden _end_sec
> +# NO-SEC:       0000000000000000         .text     00000000 .hidden _begin_sec
> +# NO-SEC-NEXT:  0000000000000001         .text     00000000 .hidden _end_sec
>  
>  # IN-SEC:       0000000000201000         .text     00000000 .hidden _begin_sec
>  # IN-SEC-NEXT:  0000000000201001         .text     00000000 .hidden _end_sec

This is breaking this test. _begin_sec is defined as _start, which is
not at address 0.

Cheers,
Rafael


More information about the llvm-commits mailing list