Skip to content

Commit

Permalink
Added support for big-endian 32-bit MIPS kernels. Only native MIPS
Browse files Browse the repository at this point in the history
crash binaries may be built with big-endian support; running the
"make target=MIPS" build option on an x86 or x86_64 host creates
x86 binaries with little-endian support only.
(rabin@rab.in)
  • Loading branch information
Dave Anderson committed Jan 14, 2015
1 parent 04073aa commit 46de58d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions configure.c
Expand Up @@ -375,7 +375,7 @@ get_current_configuration(struct supported_gdb_version *sp)
#ifdef __aarch64__
target_data.target = ARM64;
#endif
#ifdef __mipsel___
#ifdef __mips__
target_data.target = MIPS;
#endif

Expand Down Expand Up @@ -1325,7 +1325,7 @@ make_spec_file(struct supported_gdb_version *sp)
printf("Vendor: Red Hat, Inc.\n");
printf("Packager: Dave Anderson <anderson@redhat.com>\n");
printf("ExclusiveOS: Linux\n");
printf("ExclusiveArch: %%{ix86} alpha ia64 ppc ppc64 ppc64pseries ppc64iseries x86_64 s390 s390x arm aarch64 ppc64le\n");
printf("ExclusiveArch: %%{ix86} alpha ia64 ppc ppc64 ppc64pseries ppc64iseries x86_64 s390 s390x arm aarch64 ppc64le mips mipsel\n");
printf("Buildroot: %%{_tmppath}/%%{name}-root\n");
printf("BuildRequires: ncurses-devel zlib-devel bison\n");
printf("Requires: binutils\n");
Expand Down

0 comments on commit 46de58d

Please sign in to comment.