summaryrefslogtreecommitdiff
path: root/libgcc
Commit message (Collapse)AuthorAgeFilesLines
* ppc: Do not generate .stabs ELF sections to prevent GDB from choking on themGlenn Washburn2022-02-231-4/+0
| | | | | | | | | | | | | | | | | | Recent versions of GDB (and probably older ones too, but not checked) crash with and abort when loading the non-stripped 32-bit PPC QEMU build[1]. This is due to a bug in GDB on reading stab symbols. The only place in OpenBIOS where stab symbols are generated is in libgcc/crtsavres.S, which was copied from the linux kernel[2]. Symbols that were defined in the stabs section are still able to be seen in GDB after stabs removal. There does not appear to be a loss in debugging functionality. [1] https://sourceware.org/bugzilla/show_bug.cgi?id=28900 [2] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/powerpc/include/asm/ppc_asm.h?h=v5.17-rc4#n211 Signed-off-by: Glenn Washburn <development@efficientek.com> Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
* ppc: fix build with newer GCCsBlue Swirl2010-10-032-1/+403
| | | | | | | | | | | | | | | | | New GCCs (for example 4.6.0) needed a few more functions to libgcc. Without the functions, there were a lot of linker errors: LINK openbios-qemu.elf libqemu.a(ofmem.o): In function `hash_page': /src/openbios-devel/obj-ppc/../arch/ppc/qemu/ofmem.c:353: undefined reference to `_restgpr_25_x' libqemu.a(ofmem.o): In function `ea_to_phys': /src/openbios-devel/obj-ppc/../arch/ppc/qemu/ofmem.c:231: undefined reference to `_restgpr_30_x' etc. Copy the needed functions from Linux. Signed-off-by: Blue Swirl <blauwirbel@gmail.com> git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@885 f158a5a8-5612-0410-a976-696ce0be7e32
* Some gcc versions need __negti2Blue Swirl2009-08-203-0/+56
| | | | | | Signed-off-by: Blue Swirl <blauwirbel@gmail.com> git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@561 f158a5a8-5612-0410-a976-696ce0be7e32
* Fix Unix target warnings from SparseBlue Swirl2009-08-041-1/+1
| | | | | | Signed-off-by: Blue Swirl <blauwirbel@gmail.com> git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@535 f158a5a8-5612-0410-a976-696ce0be7e32
* Update FSF addressesBlue Swirl2009-01-054-8/+8
| | | | git-svn-id: svn://coreboot.org/openbios/openbios-devel@351 f158a5a8-5612-0410-a976-696ce0be7e32
* Remove unnecessary trailing newlinesBlue Swirl2008-12-131-1/+0
| | | | git-svn-id: svn://coreboot.org/openbios/openbios-devel@285 f158a5a8-5612-0410-a976-696ce0be7e32
* TImode confuses GCC 4.x on Sparc32, so use them only on Sparc64Blue Swirl2008-11-051-7/+13
| | | | git-svn-id: svn://coreboot.org/openbios/openbios-devel@245 f158a5a8-5612-0410-a976-696ce0be7e32
* Add a common header file for libgcc functionsBlue Swirl2008-07-0713-50/+54
| | | | git-svn-id: svn://coreboot.org/openbios/openbios-devel@192 f158a5a8-5612-0410-a976-696ce0be7e32
* only build TI mode stuff for sparc64Stefan Reinauer2006-06-131-6/+5
| | | | git-svn-id: svn://coreboot.org/openbios/openbios-devel@65 f158a5a8-5612-0410-a976-696ce0be7e32
* sparc64: fix CFLAGS and add missing pci includeStefan Reinauer2006-06-111-0/+2
| | | | git-svn-id: svn://coreboot.org/openbios/openbios-devel@63 f158a5a8-5612-0410-a976-696ce0be7e32
* add 128bit functions. Stefan Reinauer2006-06-116-1/+186
| | | | git-svn-id: svn://coreboot.org/openbios/openbios-devel@62 f158a5a8-5612-0410-a976-696ce0be7e32
* get sparc64 build some furtherStefan Reinauer2006-06-108-0/+291
move libgcc to top level git-svn-id: svn://coreboot.org/openbios/openbios-devel@61 f158a5a8-5612-0410-a976-696ce0be7e32