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

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [gcc.dg/] [lto/] [20081222_1.c] - Blame information for rev 338

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 298 jeremybenn
#include "20081222_0.h"
2
 
3
/* Actually, call "x" "INT_X", and make it hidden.  */
4
extern __typeof (x) x
5
        __asm__ ("INT_x")
6
        __attribute__ ((__visibility__ ("hidden")));
7
 
8
int x ()
9
{
10
  return 7;
11
}
12
 
13
/* Make an externally-visible symbol "X" that's an alias for INT_x.  */
14
extern __typeof (x) EXT_x
15
        __asm__ ("x")
16
        __attribute__ ((__alias__ ("INT_x")));

powered by: WebSVN 2.1.0

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