Last change
on this file since 410 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
|
Rev | Line | |
---|
[172] | 1 | #!ruby -Ku
|
---|
| 2 | if ARGV.size != 1 then
|
---|
| 3 | puts "Argment Error!"
|
---|
| 4 | exit
|
---|
| 5 | end
|
---|
| 6 |
|
---|
| 7 | while 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
|
---|
| 17 | end
|
---|
Note:
See
TracBrowser
for help on using the repository browser.