#
1.37 |
|
26-Jul-2023 |
rin |
Always use arm-elf2aout; no a.out support both for binutils{,.old}
|
Revision tags: netbsd-10-base bouyer-sunxi-drm-base netbsd-9-3-RELEASE thorpej-i2c-spi-conf2-base thorpej-futex2-base thorpej-cfargs2-base cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 netbsd-9-2-RELEASE cjep_staticlib_x-base thorpej-i2c-spi-conf-base thorpej-cfargs-base thorpej-futex-base netbsd-9-1-RELEASE bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 ad-namecache-base3 netbsd-9-0-RELEASE netbsd-9-0-RC2 ad-namecache-base2 ad-namecache-base1 ad-namecache-base netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118
|
#
1.36 |
|
31-Dec-2018 |
christos |
Switch to elf2aout for new binutils
|
Revision tags: netbsd-8-2-RELEASE netbsd-8-1-RELEASE netbsd-8-1-RC1 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base tls-maxphys-base-20171202 matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320 nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107 nick-nhusb-base-20161204 pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529 nick-nhusb-base-20160422 nick-nhusb-base-20160319 nick-nhusb-base-20151226 nick-nhusb-base-20150921
|
#
1.35 |
|
24-Aug-2015 |
uebayasi |
branches: 1.35.16; 1.35.18; Define ${LINKSCRIPT} in one place.
|
#
1.34 |
|
20-Aug-2015 |
uebayasi |
Use variables where appropriate.
|
#
1.33 |
|
19-Aug-2015 |
uebayasi |
Tweak previous.
|
#
1.32 |
|
19-Aug-2015 |
uebayasi |
Define the rule to generate the dynamic `ldscript', depending on ${SYSTEM_OBJS} properly. Don't forget cleaning the generated `ldscript'. One less ${SYSTEM_LD_HEAD_EXTRA} use as a bonus.
No binary changes in ldscript/kernel files are observed.
|
Revision tags: nick-nhusb-base-20150606 nick-nhusb-base-20150406 nick-nhusb-base
|
#
1.31 |
|
25-Nov-2014 |
skrll |
branches: 1.31.2; Explicitly set LOADADDRESS, the linker script hack is overriden by command line arguments now.
Hi uebs!
|
#
1.30 |
|
16-Nov-2014 |
uebayasi |
Set dependency via KERNLDSCRIPT. Don't touch SYSTEM_DEP from outside.
|
#
1.29 |
|
15-Nov-2014 |
uebayasi |
Use LINKSCRIPT.
|
#
1.28 |
|
13-Nov-2014 |
uebayasi |
Missing dependency on ldscript files.
|
Revision tags: netbsd-7-2-RELEASE netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 netbsd-7-1-RC1 netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 rmind-smpnet-nbase rmind-smpnet-base tls-maxphys-base
|
#
1.27 |
|
17-Aug-2013 |
skrll |
Use -fno-unwind-tables when creating a.out kernels.
|
Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base
|
#
1.26 |
|
27-Jun-2013 |
matt |
branches: 1.26.2; Don't force MACHINE_ARCH to be arm
|
Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE yamt-pagecache-tag8 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 jmcneill-usbmp-base10 yamt-pagecache-base5 jmcneill-usbmp-base9 yamt-pagecache-base4 jmcneill-usbmp-base8 jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base5 jmcneill-usbmp-base4 jmcneill-usbmp-base3 jmcneill-usbmp-pre-base2 jmcneill-usbmp-base2 netbsd-6-base jmcneill-usbmp-base jmcneill-audiomp3-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
|
#
1.25 |
|
10-Jul-2011 |
tsutsui |
branches: 1.25.2; 1.25.12; Use common ${OBJCOPY_ELF2AOUT_FLAGS}.
|
#
1.24 |
|
02-Jul-2011 |
tsutsui |
Sync with src/sys/arch/shark/conf/Makefile.shark.inc rev 1.14: > also need to strip out GCC 4.5's new .debug_pubtypes section. > while here, minor cleanup.
XXX: probably we should have something like ${ARM_AOUT_REMOVE_SECTIONS} XXX: in bsd.own.mk
|
Revision tags: rmind-uvmplock-nbase cherry-xenmp-base jym-xensuspend-nbase uebayasi-xip-base7 bouyer-quota2-nbase bouyer-quota2-base jruoho-x86intr-base matt-mips64-premerge-20101231 uebayasi-xip-base6 uebayasi-xip-base5 uebayasi-xip-base4 uebayasi-xip-base3 yamt-nfs-mp-base11 uebayasi-xip-base2 yamt-nfs-mp-base10 rmind-uvmplock-base jym-xensuspend-base
|
#
1.23 |
|
06-Jul-2010 |
mrg |
remove almost all the ability to build netbsd with an a.out target. we're ELF now, and there are many missing checks against OBJECT_FMT. if we ever consider switching, the we can figure out what new ones we need but for now it's just clutter.
this doesn't remove any of the support for exec_aout or any actually required-for-boot a.out support, only the ability to build a netbsd release in a.out format. ie, most of this code has been dead for over a decade.
i've tested builds on vax, amd64, i386, mac68k, macppc, sparc, atari, amiga, shark, cats, dreamcast, landisk, mmeye and x68k. this covers the 5 MACHINE_ARCH's affected, and all the other arch code touched. it also includes some actual run-time testing of sparc, i386 and shark, and i performed binary comparison upon amiga and x68k as well.
some minor details relevant: - move shlib.[ch] from ld.aout_so into ldconfig proper, and cut them down to only the parts ldconfig needs - remove various unused source files - switch amiga bootblocks to using elf2bb.h instead of aout2bb.h
|
Revision tags: uebayasi-xip-base1 yamt-nfs-mp-base9 uebayasi-xip-base matt-premerge-20091211 yamt-nfs-mp-base8
|
#
1.22 |
|
20-Aug-2009 |
skrll |
branches: 1.22.2; 1.22.4; Remove .ARM.attributes when converting from ELF to a.out.
|
Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 yamt-nfs-mp-base7 netbsd-5-0-1-RELEASE jymxensuspend-base yamt-nfs-mp-base6 yamt-nfs-mp-base5 yamt-nfs-mp-base4 yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 nick-hppapmap-base2 netbsd-5-0-RC2 netbsd-5-0-RC1 haad-dm-base2 haad-nbase2 ad-audiomp2-base netbsd-5-base nick-hppapmap-base matt-mips64-base2 haad-dm-base1 wrstuden-revivesa-base-4 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 haad-dm-base wrstuden-revivesa-base-1 simonb-wapbl-nbase yamt-pf42-base4 simonb-wapbl-base wrstuden-revivesa-base mjf-devfs2-base
|
#
1.21 |
|
07-Jun-2008 |
he |
Mirror the change from shark: something, somewhere is emitting new ELF sections which we need to filter out when objcopying to the a.out kernel. The new sections are .debug_frame, .debug_loc, .debug_pubnames, and .debug_aranges.
|
Revision tags: yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 yamt-nfs-mp-base2 yamt-nfs-mp-base yamt-pf42-base ad-socklock-base1 yamt-lazymbuf-base15 yamt-lazymbuf-base14 chris-arm-intr-rework-base7 keiichi-mipv6-nbase nick-net80211-sync-base keiichi-mipv6-base chris-arm-intr-rework-base6 chris-arm-intr-rework-base5 chris-arm-intr-rework-base4 bouyer-xeni386-nbase bouyer-xeni386-base matt-armv6-nbase mjf-devfs-base hpcarm-cleanup-base
|
#
1.20 |
|
19-Jan-2008 |
he |
branches: 1.20.6; 1.20.8; 1.20.10; 1.20.12; Remove the debugging sections too when converting from an ELF to an a.out file, after the addition of the "debugging always included" file added recently.
|
Revision tags: bouyer-xeni386-merge1 chris-arm-intr-rework-base3 vmlocking2-base3 yamt-kmem-base3 cube-autoconf-base yamt-kmem-base2 yamt-kmem-base vmlocking2-base2 reinoud-bufcleanup-nbase vmlocking2-base1 bouyer-xenamd64-base2 vmlocking-nbase bouyer-xenamd64-base matt-armv6-base jmcneill-pm-base reinoud-bufcleanup-base
|
#
1.19 |
|
17-Nov-2007 |
skrll |
branches: 1.19.6; Remove the .note section when creating the a.out kernel image.
|
Revision tags: nick-csl-alignment-base5 matt-armv6-prevmlocking jmcneill-base yamt-x86pmap-base4 yamt-x86pmap-base3 yamt-x86pmap-base2 yamt-x86pmap-base chris-arm-intr-rework-base2 chris-arm-intr-rework-base nick-csl-alignment-base matt-mips64-base yamt-idlelwp-base8 ppcoea-renovation-base thorpej-atomic-base mjf-ufs-trans-base vmlocking-base
|
#
1.18 |
|
04-Mar-2007 |
tsutsui |
branches: 1.18.2; 1.18.16; 1.18.18; 1.18.20; 1.18.22; 1.18.26; 1.18.28; Move mkldscript.sh, which is used to create ldscript dynamically to merge link_set_* sections into the text section for a.out kernels, from sys/arch/arm/conf/ to sys/conf/ since there is no ARM specific stuff in it and other ports would share it.
|
Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-newbase wrstuden-fixsa-base-1 netbsd-4-0-RELEASE netbsd-4-0-RC5 matt-nb4-arm-base netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 wrstuden-fixsa-base ad-audiomp-base post-newlock2-merge newlock2-nbase yamt-splraiseipl-base5 yamt-splraiseipl-base4 yamt-splraiseipl-base3 abandoned-netbsd-4-base yamt-splraiseipl-base2 yamt-splraiseipl-base yamt-pdpolicy-base9 newlock2-base yamt-pdpolicy-base8 yamt-pdpolicy-base7 netbsd-4-base yamt-pdpolicy-base6 chap-midi-nbase gdamore-uart-base simonb-timcounters-final yamt-pdpolicy-base5 chap-midi-base yamt-pdpolicy-base4 yamt-pdpolicy-base3 peter-altq-base yamt-pdpolicy-base2 elad-kernelauth-base yamt-pdpolicy-base yamt-uio_vmspace-base5 simonb-timecounters-base rpaulo-netinet-merge-pcb-base yamt-readahead-base3 ktrace-lwp-base
|
#
1.17 |
|
24-Nov-2005 |
dbj |
branches: 1.17.24; 1.17.26; 1.17.30; . Have dbsym explicitly suggest increasing SYMTAB_SPACE when an overflow occurs. . Make this error a fatal build time error . Move the support for dbsym into the MI Makefile.kern.inc, conditional upon the SYMTAB_SPACE option being defined in the kernel config file.
|
Revision tags: netbsd-3-1-1-RELEASE netbsd-3-0-3-RELEASE netbsd-3-1-RELEASE netbsd-3-0-2-RELEASE netbsd-3-1-RC4 netbsd-3-1-RC3 netbsd-3-1-RC2 netbsd-3-1-RC1 netbsd-3-0-1-RELEASE netbsd-3-0-RELEASE netbsd-3-0-RC6 netbsd-3-0-RC5 netbsd-3-0-RC4 netbsd-3-0-RC3 yamt-readahead-base2 netbsd-3-0-RC2 yamt-readahead-pervnode yamt-readahead-perfile yamt-readahead-base netbsd-3-0-RC1 yamt-vop-base3 yamt-vop-base2 thorpej-vnode-attr-base yamt-vop-base yamt-km-base4 yamt-km-base3 netbsd-3-base yamt-km-base2 yamt-km-base kent-audio2-base kent-audio1-beforemerge kent-audio1-base
|
#
1.16 |
|
13-Sep-2004 |
chs |
branches: 1.16.12; 1.16.18; work around a binutils bug where converting ELF kernels to a.out with objcopy produces corrupted binaries when the link_set_* sections extend into another page after the end of the .text section by using a generated an ldscript that puts all the link_set_* data into the .text section in the first place.
|
Revision tags: netbsd-2-0-base
|
#
1.15 |
|
04-Oct-2003 |
chris |
branches: 1.15.2; Add Experimental ELF support for cats. Only to be used if you feel daring enough to run the ABLE firmware.
|
#
1.14 |
|
21-Sep-2003 |
matt |
Need to remove .comment too.
|
Revision tags: nathanw_sa_before_merge nathanw_sa_base
|
#
1.13 |
|
03-Jan-2003 |
thorpej |
branches: 1.13.2; Don't define -D${MACHINE} in Makefile.arm. Instead, let platforms that care define it themselves. Note that evbarm NO LONGER defines -D${MACHINE}.
|
Revision tags: fvdl_fs64_base gmcgarry_ctxsw_base gmcgarry_ucred_base
|
#
1.12 |
|
21-Nov-2002 |
chris |
Take the newly added kern.ldscript for handling ELF->a.out from jason, and apply to the cats kernel build. Seems to work happily for me.
|
#
1.11 |
|
03-Nov-2002 |
chris |
Checkin new interrupt handling code for the footbridge. This is based upon Jason's work on xscale.
Most of the interrupt handling code is now written in C using an asm stub to call into the C code.
spl* now only updates a software mask, and does not update the hardware, this should be much faster.
The new code works well on cats, it's untested on netwinder, but should work.
The code implements generic soft interrupts.
More work is still required to bring the isa interrupt handling code upto scratch currently all isa interrupts are handled at IPL_BIO on the footbridge. This may cause isa interrupts to be handled later than they should be. I plan to fix this in the near future.
|
#
1.10 |
|
29-Oct-2002 |
tsutsui |
Echo dbsym command.
|
Revision tags: kqueue-aftermerge kqueue-beforemerge
|
#
1.9 |
|
05-Oct-2002 |
chs |
cats has full protos.
|
Revision tags: netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base gehenna-devsw-base kqueue-base
|
#
1.8 |
|
11-Apr-2002 |
skrll |
branches: 1.8.4; The results of my cats NWDO hacking.
This was tested using a custom INSTALL kernel. The current one is >4Mb which the cats firmware can't currently boot. We need to decide what needs to be removed from INSTALL.
|
#
1.7 |
|
04-Apr-2002 |
skrll |
Remove trailing whitespace.
|
Revision tags: eeh-devprop-base newlock-base ifpoll-base
|
#
1.6 |
|
09-Feb-2002 |
chris |
Update elf2aout to cope with infile and outfile being the same. Make the cats a.out kernel be called netbsd. This means that make install installs the correct kernel
|
#
1.5 |
|
06-Feb-2002 |
thorpej |
Adjust for new location of elf2aout.sh, and echo the command before executing it (like we do for other commands).
|
#
1.4 |
|
06-Feb-2002 |
chris |
LINKADDRESS != LOADADDRESS, so fix that typo. Also move the elf2aout conversion to be last in the build sequence, this means that strip is run on the elf kernel. Also have dbsym run on the kernel, this should allow us to have symbols in the kernel. This now means kernels boot and run, and can also have ddb symbols.
|
#
1.3 |
|
31-Jan-2002 |
chris |
Initial mechanism for building a working cats kernel with ELF compiler. Note that the shell script needs work, currently it assumes TOOLDIR is valid, if it's not it should probably just try using objdump and size. So some work still to do, but you can cross compile cats kernels now.
|
#
1.2 |
|
31-Jan-2002 |
chris |
Set LOOSE_PROTOTYPES to no for cats. This means cats now uses stricter prototype checking.
|
#
1.1 |
|
27-Nov-2001 |
thorpej |
branches: 1.1.2; 1.1.4; Move interrupt-related stuff out of the generic 32-bit ARM genassym.cf and into platform-specific genassym.cf files.
|