URL
https://opencores.org/ocsvn/eco32/eco32/trunk
Subversion Repositories eco32
Compare Revisions
- This comparison shows the changes necessary to convert path
/eco32/tags/eco32-0.22/binutils/tests-2/abs
- from Rev 7 to Rev 21
- ↔ Reverse comparison
Rev 7 → Rev 21
/abs1.s
0,0 → 1,3
.code |
.export absval |
.set absval,0xdeadbeef |
/abs2.s
0,0 → 1,4
.code |
.import absval |
ldhi $4,absval |
or $4,$4,absval |
/Makefile
0,0 → 1,15
BUILD = ../../../build |
|
all: |
$(BUILD)/bin/as -o abs1.o abs1.s |
$(BUILD)/bin/as -o abs2.o abs2.s |
$(BUILD)/bin/ld -o abs12 abs1.o abs2.o |
$(BUILD)/bin/ld -o abs21 abs2.o abs1.o |
@echo -n "Comparing abs12 and abs21: " |
@if cmp abs12 abs21 ; \ |
then echo "Files are equal." ; \ |
else echo "Error found!" ; \ |
fi |
|
clean: |
rm -f *~ abs1.o abs2.o abs12 abs21 |