summaryrefslogtreecommitdiff
path: root/net/etherboot/files/patch-aa
blob: 0d35ff11ff50d4bd00c25d4b6aff3f7bee0568d4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
*** Makefile.orig	Sat Mar 18 00:30:20 2000
--- Makefile	Sat Mar 18 19:46:12 2000
***************
*** 90,95 ****
--- 90,98 ----
  IDENT16=		'Etherboot/16 $(VERSION) (GPL) $@'
  IDENT32=		'Etherboot/32 $(VERSION) (GPL) $@'
  
+ AS=          `echo ../../bin*/gas/as-new`
+ LD32=          `echo ../../bin*/ld/ld-new`
+ 
  # Find out if we're using binutils 2.9.5 which uses a different syntax in some
  # places (most prominently in the opcode prefix area).
  NEWGAS:=	$(shell $(AS) --version | grep -q '2\.9\.1' || echo -DGAS295)
***************
*** 142,148 ****
  #AS86=		as86
  # If you have made changes to the *.S files and you want to rebuild *loader.bin
  # and {floppy,com}load.bin and you have nasm (not most people)
! #AS86=		nasm
  
  # if your as has trouble with the data32 directive, uncomment this
  # but note that the premade start*.o will be larger than necessary because it
--- 145,151 ----
  #AS86=		as86
  # If you have made changes to the *.S files and you want to rebuild *loader.bin
  # and {floppy,com}load.bin and you have nasm (not most people)
! AS86=		nasm
  
  # if your as has trouble with the data32 directive, uncomment this
  # but note that the premade start*.o will be larger than necessary because it
***************
*** 207,213 ****
  	|| { $(RM) $@; echo "ERROR: code size exceeds limit!"; exit 1; }
  
  # Make sure that the relocation address is acceptable for all ROM sizes
! RELOCADDR=0x98000
  # Evaluate ROMLIMIT only once - it is constant during the make run.
  # Note that the 3K safety margin below is for the 1K extended BIOS data area
  # and for the Etherboot runtime stack.  Under normal situations, 2K of stack
--- 211,218 ----
  	|| { $(RM) $@; echo "ERROR: code size exceeds limit!"; exit 1; }
  
  # Make sure that the relocation address is acceptable for all ROM sizes
! #RELOCADDR=0x98000
! RELOCADDR=0x8f000
  # Evaluate ROMLIMIT only once - it is constant during the make run.
  # Note that the 3K safety margin below is for the 1K extended BIOS data area
  # and for the Etherboot runtime stack.  Under normal situations, 2K of stack