svn commit: r359761 - in stable: 11/stand/mips/beri/loader 11/stand/powerpc/ofw 11/stand/uboot/lib 12/stand/mips/beri/loader 12/stand/powerpc/ofw 12/stand/uboot/lib
Kyle Evans
kevans at FreeBSD.org
Fri Apr 10 00:23:35 UTC 2020
Author: kevans
Date: Fri Apr 10 00:23:34 2020
New Revision: 359761
URL: https://svnweb.freebsd.org/changeset/base/359761
Log:
MFC r359688: stand: -fno-common fixes for !x86 loaders
- beriloader: archsw is declared extern and defined elsewhere
- ofwloader: ofw_elf{,64} are defined in elf_freebsd.c and
ppc64_elf_freebsd.c respectively
- ubldr: syscall_ptr is defined in start.S for whichever ubldr platform is
building
-fno-common will become the default in GCC10/LLVM11.
Modified:
stable/11/stand/mips/beri/loader/main.c
stable/11/stand/powerpc/ofw/conf.c
stable/11/stand/uboot/lib/glue.h
Directory Properties:
stable/11/ (props changed)
Changes in other areas also in this revision:
Modified:
stable/12/stand/mips/beri/loader/main.c
stable/12/stand/powerpc/ofw/conf.c
stable/12/stand/uboot/lib/glue.h
Directory Properties:
stable/12/ (props changed)
Modified: stable/11/stand/mips/beri/loader/main.c
==============================================================================
--- stable/11/stand/mips/beri/loader/main.c Thu Apr 9 23:51:18 2020 (r359760)
+++ stable/11/stand/mips/beri/loader/main.c Fri Apr 10 00:23:34 2020 (r359761)
@@ -59,8 +59,6 @@ struct devsw *devsw[] = {
NULL
};
-struct arch_switch archsw;
-
struct file_format *file_formats[] = {
&beri_elf,
NULL
Modified: stable/11/stand/powerpc/ofw/conf.c
==============================================================================
--- stable/11/stand/powerpc/ofw/conf.c Thu Apr 9 23:51:18 2020 (r359760)
+++ stable/11/stand/powerpc/ofw/conf.c Fri Apr 10 00:23:34 2020 (r359761)
@@ -97,8 +97,8 @@ struct netif_driver *netif_drivers[] = {
* rather than reading the file go first.
*/
-struct file_format ofw_elf;
-struct file_format ofw_elf64;
+extern struct file_format ofw_elf;
+extern struct file_format ofw_elf64;
struct file_format *file_formats[] = {
&ofw_elf,
Modified: stable/11/stand/uboot/lib/glue.h
==============================================================================
--- stable/11/stand/uboot/lib/glue.h Thu Apr 9 23:51:18 2020 (r359760)
+++ stable/11/stand/uboot/lib/glue.h Fri Apr 10 00:23:34 2020 (r359761)
@@ -56,7 +56,7 @@
#endif
int syscall(int, int *, ...);
-void *syscall_ptr;
+extern void *syscall_ptr;
int api_parse_cmdline_sig(int argc, char **argv, struct api_signature **sig);
int api_search_sig(struct api_signature **sig);
More information about the svn-src-stable
mailing list