blob: 068a72af5c8edc09baf2f046a4eb33532fc41781 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
/* { dg-do link } */
/* { dg-do run { target { vma_equals_lma } } } */
/* { dg-require-effective-target persistent } */
/* { dg-options "-flto -save-temps" } */
/* { dg-skip-if "data LMA != VMA" { msp430-*-* } { "-mlarge" } } */
/* { dg-final { scan-file attr-persistent-3.ltrans0.ltrans.s ".section\t\.persistent,\"aw\"\n" } } */
/* Test the "persistent" attribute with -flto. Specifically examine the
final LTO assembly file, to ensure the "persistent" setting on the variable
hasn't been lost. */
#include "attr-persistent-main.inc"
|