OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [binutils-2.18.50/] [ld/] [testsuite/] [ld-sh/] [sh64/] [dlsection-1.s] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 38 julius
! Test gc-sections and datalabel references.
2
!
3
! Datalabel reference to symbol in section .text2 should
4
! prevent .text2 from being discarded.
5
! Section .spurious can be discarded.
6
        .mode SHmedia
7
 
8
        .text
9
        .global start
10
        .global foo
11
start:  .long datalabel foo
12
 
13
        .section .text2,"ax"
14
foo:    .long 23
15
 
16
        .section .spurious,"ax"
17
        .long 17

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.