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

Subversion Repositories open8_urisc

[/] [open8_urisc/] [trunk/] [gnu/] [binutils/] [ld/] [genscrba.sh] - Blame information for rev 146

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 145 khays
#!/bin/bash
2
source_em()
3
{
4
  local current_script="$em_script"
5
  em_script=$1
6
  . $em_script
7
  em_script=$current_script
8
}
9
fragment()
10
{
11
  if [ ${BASH_VERSINFO[3]} -ge 3 ]; then
12
    local lineno=$[${BASH_LINENO[0]} + 1]
13
    echo >> e${EMULATION_NAME}.c "#line $lineno \"$em_script\""
14
  fi
15
  cat >> e${EMULATION_NAME}.c
16
}

powered by: WebSVN 2.1.0

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