source: atk2-sc3-1.4.0-ntisr/arch/v850_gcc/conv2cs+.rb@ 172

Last change on this file since 172 was 172, checked in by ertl-ishikawa, 8 years ago

ATK2-SC3 1.4.0 RH850依存部 非信頼C2ISR対応を追加

  • Property svn:executable set to *
File size: 444 bytes
Line 
1#!ruby -Ku
2if ARGV.size != 1 then
3 puts "Argment Error!"
4 exit
5end
6
7while str = STDIN.gets
8 if /^.*\.data\s+[\dabcdef]+\s+[\dabcdef]+\s+([\dabcdef]+)\s+.*/ =~ str
9 command = 'v850-elf-objcopy -R .bss ' + ARGV[0]
10 puts command
11 system(command)
12 command = 'v850-elf-objcopy --change-section-vma .data=0x' + $1 + ' ' + ARGV[0]
13 puts command
14 system(command)
15 exit(0)
16 end
17end
Note: See TracBrowser for help on using the repository browser.