I am uploading a NMU to DELAYED/10 in order to fix this.
Please find the debdiff attached.
diff -Nru linux86-0.16.17/bcc/bcc.c linux86-0.16.17/bcc/bcc.c
--- linux86-0.16.17/bcc/bcc.c 2024-02-21 14:12:59.000000000 +0000
+++ linux86-0.16.17/bcc/bcc.c 2005-01-03 22:41:55.000000000 +0000
@@ -32,7 +32,6 @@
#ifndef MSDOS
#include <sys/wait.h>
#include <signal.h>
-#include <limits.h>
#endif
#include "version.h"
@@ -601,12 +600,8 @@
command_reset()
{
#ifndef MAXPATHLEN
-#ifdef PATH_MAX
-#define MAXPATHLEN PATH_MAX
-#else
#define MAXPATHLEN 1024
#endif
-#endif
char buf[MAXPATHLEN];
char ** prefix;
char * saved_cmd;
@@ -1313,7 +1308,11 @@
for(d=s=ptr; d && *s; s=d)
{
+#ifdef MAXPATHLEN
char buf[MAXPATHLEN];
+#else
+ char buf[1024];
+#endif
free(temp);
d=strchr(s, ':');
diff -Nru linux86-0.16.17/bcc/const.h linux86-0.16.17/bcc/const.h
--- linux86-0.16.17/bcc/const.h 2024-02-21 14:12:59.000000000 +0000
+++ linux86-0.16.17/bcc/const.h 2004-06-20 19:49:37.000000000 +0000
@@ -76,8 +76,7 @@
/* Unportable alignment needed for specific compilers */
#ifndef VERY_SMALL_MEMORY
-/* # define S_ALIGNMENT (sizeof(long)) */ /* A little safer */
-# define S_ALIGNMENT (2*sizeof(size_t)) /* Even more safe: do as glibc malloc
*/
+# define S_ALIGNMENT (sizeof(long)) /* A little safer */
#endif
/* local style */
diff -Nru linux86-0.16.17/copt/copt.c linux86-0.16.17/copt/copt.c
--- linux86-0.16.17/copt/copt.c 2024-02-21 14:12:59.000000000 +0000
+++ linux86-0.16.17/copt/copt.c 2003-10-07 19:46:35.000000000 +0000
@@ -174,7 +174,7 @@
/* Delete leading white spaces */
for (cp = buf; *cp && isspace(*cp); cp++) ;
if (cp != buf && *cp)
- memmove(buf, cp, strlen(cp) + 1);
+ strcpy(buf, cp);
return(buf);
}
diff -Nru linux86-0.16.17/debian/bcc.copyright
linux86-0.16.17/debian/bcc.copyright
--- linux86-0.16.17/debian/bcc.copyright 1970-01-01 00:00:00.000000000
+0000
+++ linux86-0.16.17/debian/bcc.copyright 2024-02-21 13:46:30.000000000
+0000
@@ -0,0 +1,64 @@
+This package is part of the Debian GNU/Linux's version of the 8086
+Software development environment ``linux86''.
+
+It was packaged by Juan Cespedes <[email protected]>, from
+sources obtained from:
+ http://homepage.ntlworld.com/robert.debath/
+
+
+Copyrights
+----------
+Copyright 1992-1997 Bruce Evans <[email protected]>
+Copyright 1996-2007 Robert de Bath <[email protected]>
+
+unproto:
+Copyright 1993 Wietse Venema
+ [email protected]
+ Mathematics and Computing Science
+ Eindhoven University of Technology
+ The Netherlands
+
+Contributors:
+Alan Cox <[email protected]>
+Nat Friedman <[email protected]>
+Steven Huang <[email protected]>
+Steffen Kaiser <[email protected]>
+Shane Kerr <[email protected]>
+Gero Kuhlmann <[email protected]>
+Chad Page <[email protected]>
+Dick Porter <[email protected]>
+Dale Schumacher <[email protected]>
+Wietse Venema <[email protected]>
+Joel Weber II <[email protected]>
+Claudio Matsuoka <[email protected]>
+
+Modifications for Debian:
+ Copyright (C) 1996 Christoph Lameter <[email protected]>
+ Copyright (C) 1997 Siggy Brentrup <[email protected]>
+ Copyright (C) 1997-2007 Juan Cespedes <[email protected]>
+
+
+License
+-------
+The `bcc' part of the distribution is now covered by the GPL.
+
+The programs elksemu and copt are under the GPL.
+
+unproto has the following license:
+
+> From: [email protected] (Wietse Venema)
+> Date: Sat, 25 Oct 1997 21:41:40 -0400 (EDT)
+> Message-Id: <[email protected]>
+> Subject: Re: unproto license
+>
+> Unproto pre-dates the wide-spread use of GPL and other schemes.
+> The software may be distributed as long I and my university get
+> proper credits, and as long as changes made to the software are
+> identified as such. So, there are no strings attached.
+
+A copy of the GNU General Public License is available as
+`/usr/share/common-licenses/GPL' in the Debian GNU/Linux distribution
+or on the World Wide Web at `http://www.gnu.org/copyleft/gpl.html'.
+You can also obtain them by writing to the Free Software Foundation,
+Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+
diff -Nru linux86-0.16.17/debian/bin86.copyright
linux86-0.16.17/debian/bin86.copyright
--- linux86-0.16.17/debian/bin86.copyright 1970-01-01 00:00:00.000000000
+0000
+++ linux86-0.16.17/debian/bin86.copyright 2024-02-21 13:46:30.000000000
+0000
@@ -0,0 +1,43 @@
+This package is part of the Debian GNU/Linux's version of the 8086
+Software development environment ``linux86''.
+
+It was packaged by Juan Cespedes <[email protected]>, from
+sources obtained from:
+ http://homepage.ntlworld.com/robert.debath/
+
+
+Copyrights
+----------
+Copyright 1992-1997 Bruce Evans <[email protected]>
+Copyright 1996-2007 Robert de Bath <[email protected]>
+
+Contributors:
+Alan Cox <[email protected]>
+Nat Friedman <[email protected]>
+Steven Huang <[email protected]>
+Steffen Kaiser <[email protected]>
+Shane Kerr <[email protected]>
+Gero Kuhlmann <[email protected]>
+Chad Page <[email protected]>
+Dick Porter <[email protected]>
+Dale Schumacher <[email protected]>
+Wietse Venema <[email protected]>
+Joel Weber II <[email protected]>
+Claudio Matsuoka <[email protected]>
+
+Modifications for Debian:
+ Copyright (C) 1996 Christoph Lameter <[email protected]>
+ Copyright (C) 1997 joost witteveen <[email protected]>
+ Copyright (C) 1997-2007 Juan Cespedes <[email protected]>
+
+
+License
+-------
+The 'as' and `ld' parts of the distribution are now covered by the GPL.
+
+A copy of the GNU General Public License is available as
+`/usr/share/common-licenses/GPL' in the Debian GNU/Linux distribution
+or on the World Wide Web at `http://www.gnu.org/copyleft/gpl.html'.
+You can also obtain it by writing to the Free Software Foundation,
+Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+
diff -Nru linux86-0.16.17/debian/bin86.manpages
linux86-0.16.17/debian/bin86.manpages
--- linux86-0.16.17/debian/bin86.manpages 1970-01-01 00:00:00.000000000
+0000
+++ linux86-0.16.17/debian/bin86.manpages 2024-02-21 13:47:40.000000000
+0000
@@ -0,0 +1,2 @@
+debian/man/ar86.1
+debian/man/objdump86.1
diff -Nru linux86-0.16.17/debian/changelog linux86-0.16.17/debian/changelog
--- linux86-0.16.17/debian/changelog 2024-02-21 14:12:59.000000000 +0000
+++ linux86-0.16.17/debian/changelog 2024-02-21 13:47:40.000000000 +0000
@@ -1,3 +1,12 @@
+linux86 (0.16.17-3.5) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ * Convert to source format 3.0. Closes: #1007036
+ * Build-depend on debhelper to install additional manpages and per-package
+ copyright files.
+
+ -- Bastian Germann <[email protected]> Wed, 21 Feb 2024 13:47:40 +0000
+
linux86 (0.16.17-3.4) unstable; urgency=medium
* Non-maintainer upload.
diff -Nru linux86-0.16.17/debian/control linux86-0.16.17/debian/control
--- linux86-0.16.17/debian/control 2024-02-21 14:12:59.000000000 +0000
+++ linux86-0.16.17/debian/control 2024-02-21 13:47:40.000000000 +0000
@@ -3,6 +3,7 @@
Priority: optional
Maintainer: Juan Cespedes <[email protected]>
Standards-Version: 4.1.1
+Build-Depends: debhelper-compat (= 12)
Package: bin86
Architecture: any
diff -Nru linux86-0.16.17/debian/copyright.bcc
linux86-0.16.17/debian/copyright.bcc
--- linux86-0.16.17/debian/copyright.bcc 2024-02-21 14:12:59.000000000
+0000
+++ linux86-0.16.17/debian/copyright.bcc 1970-01-01 00:00:00.000000000
+0000
@@ -1,64 +0,0 @@
-This package is part of the Debian GNU/Linux's version of the 8086
-Software development environment ``linux86''.
-
-It was packaged by Juan Cespedes <[email protected]>, from
-sources obtained from:
- http://homepage.ntlworld.com/robert.debath/
-
-
-Copyrights
-----------
-Copyright 1992-1997 Bruce Evans <[email protected]>
-Copyright 1996-2007 Robert de Bath <[email protected]>
-
-unproto:
-Copyright 1993 Wietse Venema
- [email protected]
- Mathematics and Computing Science
- Eindhoven University of Technology
- The Netherlands
-
-Contributors:
-Alan Cox <[email protected]>
-Nat Friedman <[email protected]>
-Steven Huang <[email protected]>
-Steffen Kaiser <[email protected]>
-Shane Kerr <[email protected]>
-Gero Kuhlmann <[email protected]>
-Chad Page <[email protected]>
-Dick Porter <[email protected]>
-Dale Schumacher <[email protected]>
-Wietse Venema <[email protected]>
-Joel Weber II <[email protected]>
-Claudio Matsuoka <[email protected]>
-
-Modifications for Debian:
- Copyright (C) 1996 Christoph Lameter <[email protected]>
- Copyright (C) 1997 Siggy Brentrup <[email protected]>
- Copyright (C) 1997-2007 Juan Cespedes <[email protected]>
-
-
-License
--------
-The `bcc' part of the distribution is now covered by the GPL.
-
-The programs elksemu and copt are under the GPL.
-
-unproto has the following license:
-
-> From: [email protected] (Wietse Venema)
-> Date: Sat, 25 Oct 1997 21:41:40 -0400 (EDT)
-> Message-Id: <[email protected]>
-> Subject: Re: unproto license
->
-> Unproto pre-dates the wide-spread use of GPL and other schemes.
-> The software may be distributed as long I and my university get
-> proper credits, and as long as changes made to the software are
-> identified as such. So, there are no strings attached.
-
-A copy of the GNU General Public License is available as
-`/usr/share/common-licenses/GPL' in the Debian GNU/Linux distribution
-or on the World Wide Web at `http://www.gnu.org/copyleft/gpl.html'.
-You can also obtain them by writing to the Free Software Foundation,
-Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
-
diff -Nru linux86-0.16.17/debian/copyright.bin86
linux86-0.16.17/debian/copyright.bin86
--- linux86-0.16.17/debian/copyright.bin86 2024-02-21 14:12:59.000000000
+0000
+++ linux86-0.16.17/debian/copyright.bin86 1970-01-01 00:00:00.000000000
+0000
@@ -1,43 +0,0 @@
-This package is part of the Debian GNU/Linux's version of the 8086
-Software development environment ``linux86''.
-
-It was packaged by Juan Cespedes <[email protected]>, from
-sources obtained from:
- http://homepage.ntlworld.com/robert.debath/
-
-
-Copyrights
-----------
-Copyright 1992-1997 Bruce Evans <[email protected]>
-Copyright 1996-2007 Robert de Bath <[email protected]>
-
-Contributors:
-Alan Cox <[email protected]>
-Nat Friedman <[email protected]>
-Steven Huang <[email protected]>
-Steffen Kaiser <[email protected]>
-Shane Kerr <[email protected]>
-Gero Kuhlmann <[email protected]>
-Chad Page <[email protected]>
-Dick Porter <[email protected]>
-Dale Schumacher <[email protected]>
-Wietse Venema <[email protected]>
-Joel Weber II <[email protected]>
-Claudio Matsuoka <[email protected]>
-
-Modifications for Debian:
- Copyright (C) 1996 Christoph Lameter <[email protected]>
- Copyright (C) 1997 joost witteveen <[email protected]>
- Copyright (C) 1997-2007 Juan Cespedes <[email protected]>
-
-
-License
--------
-The 'as' and `ld' parts of the distribution are now covered by the GPL.
-
-A copy of the GNU General Public License is available as
-`/usr/share/common-licenses/GPL' in the Debian GNU/Linux distribution
-or on the World Wide Web at `http://www.gnu.org/copyleft/gpl.html'.
-You can also obtain it by writing to the Free Software Foundation,
-Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
-
diff -Nru linux86-0.16.17/debian/copyright.elks-libc
linux86-0.16.17/debian/copyright.elks-libc
--- linux86-0.16.17/debian/copyright.elks-libc 2024-02-21 14:12:59.000000000
+0000
+++ linux86-0.16.17/debian/copyright.elks-libc 1970-01-01 00:00:00.000000000
+0000
@@ -1,64 +0,0 @@
-This package is part of the Debian GNU/Linux's version of the 8086
-Software development environment ``linux86''.
-
-It was packaged by Juan Cespedes <[email protected]>, from
-sources obtained from:
- http://homepage.ntlworld.com/robert.debath/
-
-
-Copyrights
-----------
-Copyright 1992-1997 Bruce Evans <[email protected]>
-Copyright 1996-2007 Robert de Bath <[email protected]>
-
-Contributors:
-Alan Cox <[email protected]>
-Nat Friedman <[email protected]>
-Steven Huang <[email protected]>
-Steffen Kaiser <[email protected]>
-Shane Kerr <[email protected]>
-Gero Kuhlmann <[email protected]>
-Chad Page <[email protected]>
-Dick Porter <[email protected]>
-Dale Schumacher <[email protected]>
-Wietse Venema <[email protected]>
-Joel Weber II <[email protected]>
-Claudio Matsuoka <[email protected]>
-
-Modifications for Debian:
- Copyright (C) 1996 Christoph Lameter <[email protected]>
- Copyright (C) 1997 Siggy Brentrup <[email protected]>
- Copyright (C) 1997-2007 Juan Cespedes <[email protected]>
-
-
-License
--------
-The contents of the libc and libbsd subdirectories are under the LGPL
-with a few noted exceptions:
-
-The regular expression routine has the following license:
-
- Copyright (c) 1986 by University of Toronto.
- Written by Henry Spencer. Not derived from licensed software.
-
- Permission is granted to anyone to use this software for any
- purpose on any computer system, and to redistribute it freely,
- subject to the following restrictions:
-
- 1. The author is not responsible for the consequences of use of
- this software, no matter how awful, even if they arise
- from defects in it.
-
- 2. The origin of this software must not be misrepresented, either
- by explicit claim or by omission.
-
- 3. Altered versions must be plainly marked as such, and must not
- be misrepresented as being the original software.
-
-The printf/scanf functions are public domain.
-
-A copy of the GNU Library General Public License is available as
-`/usr/share/common-licenses/LGPL' in the Debian GNU/Linux distribution.
-You can also obtain them by writing to the Free Software Foundation,
-Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
-
diff -Nru linux86-0.16.17/debian/elks-libc.copyright
linux86-0.16.17/debian/elks-libc.copyright
--- linux86-0.16.17/debian/elks-libc.copyright 1970-01-01 00:00:00.000000000
+0000
+++ linux86-0.16.17/debian/elks-libc.copyright 2024-02-21 13:46:30.000000000
+0000
@@ -0,0 +1,64 @@
+This package is part of the Debian GNU/Linux's version of the 8086
+Software development environment ``linux86''.
+
+It was packaged by Juan Cespedes <[email protected]>, from
+sources obtained from:
+ http://homepage.ntlworld.com/robert.debath/
+
+
+Copyrights
+----------
+Copyright 1992-1997 Bruce Evans <[email protected]>
+Copyright 1996-2007 Robert de Bath <[email protected]>
+
+Contributors:
+Alan Cox <[email protected]>
+Nat Friedman <[email protected]>
+Steven Huang <[email protected]>
+Steffen Kaiser <[email protected]>
+Shane Kerr <[email protected]>
+Gero Kuhlmann <[email protected]>
+Chad Page <[email protected]>
+Dick Porter <[email protected]>
+Dale Schumacher <[email protected]>
+Wietse Venema <[email protected]>
+Joel Weber II <[email protected]>
+Claudio Matsuoka <[email protected]>
+
+Modifications for Debian:
+ Copyright (C) 1996 Christoph Lameter <[email protected]>
+ Copyright (C) 1997 Siggy Brentrup <[email protected]>
+ Copyright (C) 1997-2007 Juan Cespedes <[email protected]>
+
+
+License
+-------
+The contents of the libc and libbsd subdirectories are under the LGPL
+with a few noted exceptions:
+
+The regular expression routine has the following license:
+
+ Copyright (c) 1986 by University of Toronto.
+ Written by Henry Spencer. Not derived from licensed software.
+
+ Permission is granted to anyone to use this software for any
+ purpose on any computer system, and to redistribute it freely,
+ subject to the following restrictions:
+
+ 1. The author is not responsible for the consequences of use of
+ this software, no matter how awful, even if they arise
+ from defects in it.
+
+ 2. The origin of this software must not be misrepresented, either
+ by explicit claim or by omission.
+
+ 3. Altered versions must be plainly marked as such, and must not
+ be misrepresented as being the original software.
+
+The printf/scanf functions are public domain.
+
+A copy of the GNU Library General Public License is available as
+`/usr/share/common-licenses/LGPL' in the Debian GNU/Linux distribution.
+You can also obtain them by writing to the Free Software Foundation,
+Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+
diff -Nru linux86-0.16.17/debian/man/ar86.1 linux86-0.16.17/debian/man/ar86.1
--- linux86-0.16.17/debian/man/ar86.1 1970-01-01 00:00:00.000000000 +0000
+++ linux86-0.16.17/debian/man/ar86.1 2024-02-21 13:47:40.000000000 +0000
@@ -0,0 +1,153 @@
+.TH ar86 1 "May, 2006"
+.BY Shyamal Prasad <[email protected]>
+.nh
+.SH NAME
+ar86 \- Create, modify, and extract from archive file
+.SH SYNOPSIS
+.B ar86
+.I operation
+.B archive
+.RI [ file... ]
+.PP
+.BR ar86
+.I positional\-op
+.B member
+.B archive
+.RI [ file ...]
+
+.SH DESCRIPTION
+The
+.B ar86
+program is used to create, examine and modify archive files produced
+by the Dev86/ELKS toolchain.
+.SH OPTIONS
+The
+.B ar86
+command requires that the operation to be performed on the archive be
+specified as the first option. If the operation is positional then the
+next option is the archive member marking the position. This is
+followed by the archive file name and any list of file names.
+.PP
+.SS Operations
+One of the following operations can be specified
+.TP
+.B d
+\fIdelete\fR the listed files from the archive.
+.TP
+.B m
+\fImove\fR the named files. By default files are moved to the end of
+the archive unless a positional modifier is present.
+.TP
+.B p
+\fIprint\fP the contents of archive members to standard out. If a file
+list is included only those members are printed. If the \fBv\fR
+modifier is present each file's contents are preceded by a new line,
+a line with the string \fBmember\fR, a space character, the member
+name, and two following newlines.
+.TP
+.B q
+.I quickly
+add the files to the end of the archive without checking
+to see if they already exist in the archive. This operation will
+ignore any positional modifiers. Creates the archive file if it does
+not exist.
+.TP
+.B r
+\fIreplace\fR archive members with the files listed. If the file name
+is not present in the archive it is added to the end of the archive
+(or to any explicitly specified position). Creates the archive file if
+it does not exist.
+.TP
+.B t
+\fItable\fR; list the file names of archive members. If a file list is
+present only those files that are present in the archive are listed.
+The \fBv\fR modifier prints member attributes.
+.TP
+.B x
+\fIextract\fR the named files from the archive into the current
+directory. If no files are specified all the archive members will be
+extracted.
+.P
+.SS Modifiers
+The following modifiers may be used with the operations
+.TP
+.B o
+\fIoriginal\fR time stamps from the archive are preserved for
+extracted files when possible.
+.TP
+.B s
+\fIsymbol\fR update; this option may be used by itself to force an
+update to the symbol definition section of the archive (the
+.B __.SYMDEF
+member). If any files are specified they will be replaced as if the
+.B r
+operation had been specified. If no symbol definition section exists
+one is created. This option will also creates the archive file if it
+does not exist.
+.TP
+.B u
+\fIupdate\fR files in the archive during a
+.B r
+.RI ( replace )
+operation. The files are added to the archive in exactly the same
+manner as
+.I replace
+except that an existing archive member will be retained (in its
+original position) if it has a modified more recently than the file
+being added. Note that this modifier acts as if a
+.B r
+operation has been specified (even it has not), and will actually
+override any other previously specified operation.
+.TP
+.B v
+\fIverbose\fR; print additional diagnostic messages while processing
+the archive.
+.SS Positional Modifiers
+The following modifiers specify where in the archive files are moved
+to or added. If any of these modifiers are specified then the second
+option to
+.B ar86
+must be the name of an archive member.
+.TP
+.B a
+\fIafter\fR; files are placed after the specified archive member.
+.TP
+.B b
+\fIbefore\fR; files are placed before the specified archive member.
+.TP
+.B i
+same as
+.BR b .
+.SH EXAMPLES
+To see the contents of an archive
+.IP
+ar86 tv libfile.a
+.PP
+To add some files to an archive
+.IP
+ar86 r libfile.a file1.o file2.o
+.PP
+to add some files after a member named mem.o and to update the symbol
+table
+.IP
+ar86 rsa mem.o libfile.a file1.o file2.o
+.SH BUGS
+A
+.B l
+modifier will be accepted but ignored.
+.SH RESTRICTIONS
+This command is intended for use only with object files created using
+the Dev86/ELKS toolchain.
+.SH "SEE ALSO"
+.BR as86 (1),
+.BR bcc (1),
+.BR ld86 (1)
+.SH AUTHORS
+\(co 1988, 1990 Free Software Foundation Inc. Changes for
+.B ar86
+by Greg Haerr <[email protected]>.
+.SH COPYRIGHT
+The manual page was written for Debian GNU/Linux, \(co 2006 Shyamal
+Prasad <[email protected]>. It is distributed under the terms of
+the GNU General Public License version 2 (or any later version
+released by the Free Software Foundation).
diff -Nru linux86-0.16.17/debian/man/objdump86.1
linux86-0.16.17/debian/man/objdump86.1
--- linux86-0.16.17/debian/man/objdump86.1 1970-01-01 00:00:00.000000000
+0000
+++ linux86-0.16.17/debian/man/objdump86.1 2024-02-21 13:47:40.000000000
+0000
@@ -0,0 +1,72 @@
+.TH objdump86 1 "May, 2006"
+.BY Shyamal Prasad <[email protected]>
+.nh
+.SH NAME
+objdump86, size86, nm86 \- Examine object, archive or executable files
+.SH SYNOPSIS
+.BI objdump86
+.RI [ file ...]
+.PP
+.B size86
+.RI [ file ...]
+.PP
+.BI nm86
+.RI [ file ...]
+
+.SH DESCRIPTION
+These commands are used to examine the contents of object files. They
+may also be used to examine archive or executable files. When archive
+files are examined each module in the archive will be processed in
+sequence.
+.PP
+.B nm86
+prints the symbol table in each of the specified files.
+.PP
+.B size86
+displays a summary of the sizes of the segments in each of the files.
+.PP
+.B objdump86
+decodes and displays the contents of the object files specified. This
+includes the section headers, symbols tables, segment sizes, and
+segment contents.
+.SH OPTIONS
+The programs are not designed to accept any options.
+.PP
+It should be noted that all three of
+.BR objdump86 ,
+.BR size86 ,
+and
+.B nm86
+are implemented as links to the same executable file (called
+.BR objdump86
+in the source distribution). The result of running this executable is
+determined by the file name actually used to execute it.
+.PP
+It is possible to force a specific behavior irrespective of the
+invocation file name using one of the options below
+.TP
+.B -s
+Behave like
+.BR size86 .
+.TP
+.B -n
+Behave like
+.BR nm86 .
+.SH RESTRICTIONS
+These commands are intended for use only with the Dev86/ELKS
+toolchain.
+.SH "SEE ALSO"
+.BR as86 (1),
+.BR bcc (1),
+.BR ld86 (1)
+.SH AUTHORS
+.BR objdump86 ,
+.BR size86 ,
+and
+.B nm86
+\(co 1999 Greg Haerr <[email protected]>.
+.SH COPYRIGHT
+The manual page was written for Debian GNU/Linux, \(co 2006 Shyamal
+Prasad <[email protected]>. It is distributed under the terms of
+the GNU General Public License version 2 (or any later version
+released by the Free Software Foundation).
diff -Nru linux86-0.16.17/debian/patches/debian.patch
linux86-0.16.17/debian/patches/debian.patch
--- linux86-0.16.17/debian/patches/debian.patch 1970-01-01 00:00:00.000000000
+0000
+++ linux86-0.16.17/debian/patches/debian.patch 2024-02-21 13:47:40.000000000
+0000
@@ -0,0 +1,223 @@
+--- linux86-0.16.17.orig/bcc/bcc.c
++++ linux86-0.16.17/bcc/bcc.c
+@@ -32,6 +32,7 @@
+ #ifndef MSDOS
+ #include <sys/wait.h>
+ #include <signal.h>
++#include <limits.h>
+ #endif
+ #include "version.h"
+
+@@ -600,8 +601,12 @@ void
+ command_reset()
+ {
+ #ifndef MAXPATHLEN
++#ifdef PATH_MAX
++#define MAXPATHLEN PATH_MAX
++#else
+ #define MAXPATHLEN 1024
+ #endif
++#endif
+ char buf[MAXPATHLEN];
+ char ** prefix;
+ char * saved_cmd;
+@@ -1308,11 +1313,7 @@ void reset_prefix_path()
+
+ for(d=s=ptr; d && *s; s=d)
+ {
+-#ifdef MAXPATHLEN
+ char buf[MAXPATHLEN];
+-#else
+- char buf[1024];
+-#endif
+
+ free(temp);
+ d=strchr(s, ':');
+--- linux86-0.16.17.orig/bcc/const.h
++++ linux86-0.16.17/bcc/const.h
+@@ -76,7 +76,8 @@ typedef long no_hope;
+
+ /* Unportable alignment needed for specific compilers */
+ #ifndef VERY_SMALL_MEMORY
+-# define S_ALIGNMENT (sizeof(long)) /* A little safer */
++/* # define S_ALIGNMENT (sizeof(long)) */ /* A little safer */
++# define S_ALIGNMENT (2*sizeof(size_t)) /* Even more safe: do as glibc malloc
*/
+ #endif
+
+ /* local style */
+--- linux86-0.16.17.orig/copt/copt.c
++++ linux86-0.16.17/copt/copt.c
+@@ -174,7 +174,7 @@ static char *readline(FILE *fp)
+ /* Delete leading white spaces */
+ for (cp = buf; *cp && isspace(*cp); cp++) ;
+ if (cp != buf && *cp)
+- strcpy(buf, cp);
++ memmove(buf, cp, strlen(cp) + 1);
+
+ return(buf);
+ }
+--- linux86-0.16.17.orig/doselks/syscalls.c
++++ linux86-0.16.17/doselks/syscalls.c
+@@ -1,4 +1,4 @@
+-
++#include <errno.h>
+ #include "doselks.h"
+ #include "syscalls.h"
+
+--- linux86-0.16.17.orig/elksemu/elks_sys.c
++++ linux86-0.16.17/elksemu/elks_sys.c
+@@ -147,9 +147,9 @@ static int elks_open(int bx,int cx,int d
+ /* Nasty hack so /lib/liberror.txt doesn't exist on the host.
+ */
+ if (strcmp(dp, "/lib/liberror.txt") == 0 ) {
+- int fd = open("/tmp/liberror.txt", O_CREAT|O_EXCL|O_RDWR, 0666);
++ int fd = open("/var/run/elks-liberror.txt", O_CREAT|O_EXCL|O_RDWR,
0666);
+ if (fd < 0) return fd;
+- unlink("/tmp/liberror.txt");
++ unlink("/var/run/elks-liberror.txt");
+ write(fd, efile, sizeof(efile));
+ lseek(fd, 0L, 0);
+ return fd;
+--- linux86-0.16.17.orig/ifdef.c
++++ linux86-0.16.17/ifdef.c
+@@ -443,10 +443,6 @@ manifest_constant()
+ #ifdef __i386__
+ save_name("__elksemu_works__", 'D');
+ #endif
+-/* Is this true ? */
+-#ifdef __x86_64__
+- save_name("__elksemu_works__", 'D');
+-#endif
+ #endif
+ #ifdef __unix__
+ save_name("__unix__", 'D');
+--- linux86-0.16.17.orig/ld/ld.c
++++ linux86-0.16.17/ld/ld.c
+@@ -2,6 +2,8 @@
+
+ /* Copyright (C) 1994 Bruce Evans */
+
++#include <errno.h>
++
+ #include "syshead.h"
+ #include "const.h"
+ #include "byteord.h"
+--- linux86-0.16.17.orig/libc/error/error.c
++++ linux86-0.16.17/libc/error/error.c
+@@ -24,7 +24,8 @@ int err;
+ }
+
+ if( err <= 0 ) goto unknown; /* NB the <= allows comments in the
file */
+- fd = open("/lib/liberror.txt", 0);
++ fd = open("/usr/lib/bcc/liberror.txt", 0);
++ if (fd < 0) fd = open("/lib/liberror.txt", 0);
+ if( fd < 0 ) goto unknown;
+
+ while( (cc=read(fd, inbuf, sizeof(inbuf))) > 0 )
+--- linux86-0.16.17.orig/libc/error/sys_errlist.c
++++ linux86-0.16.17/libc/error/sys_errlist.c
+@@ -42,7 +42,8 @@ static void init_vars()
+ int i, cc, fd, err, len, bufoff=0;
+ char * ptr;
+
+- fd = open("/lib/liberror.txt", 0);
++ fd = open("/usr/lib/bcc/liberror.txt", 0);
++ if (fd < 0) fd = open("/lib/liberror.txt", 0);
+ if( fd < 0 ) return;
+
+ for(i=0; i<NR_ERRORS; i++) sys_errlist[i] = "Unknown error";
+--- linux86-0.16.17.orig/libc/i386fp/fperr.c
++++ linux86-0.16.17/libc/i386fp/fperr.c
+@@ -3,12 +3,12 @@
+
+ #include "fperr.h"
+
+-void fperr(errno)
+-int errno;
++void fperr(err)
++int err;
+ {
+
+ #if defined(DEBUG) || 0
+- switch(errno) {
++ switch(err) {
+
+ case EFDENORMAL:
+ fputs("\nDenormal - ", stderr);
+@@ -35,7 +35,7 @@ int errno;
+ break;
+
+ default:
+- fprintf(stderr, "\nUnknown error 0x%x - ", errno);
++ fprintf(stderr, "\nUnknown error 0x%x - ", err);
+ }
+ fflush(stderr);
+ #endif
+--- linux86-0.16.17.orig/makefile.in
++++ linux86-0.16.17/makefile.in
+@@ -205,10 +205,6 @@ objdump86: bindir
+ elksemu: bindir
+ $(MAKEC) elksemu elksemu
+ cp -p elksemu/elksemu bin/elksemu
+-#else
+-elksemu: bindir
+- $(MAKEC) elksemu CC='ncc' elksemu
+- cp -p elksemu/elksemu bin/elksemu
+ #endif
+ #endif
+
+--- linux86-0.16.17.orig/man/as86.1
++++ linux86-0.16.17/man/as86.1
+@@ -186,7 +186,7 @@ Immediate value, ax becomes 1234.
+ mov ax,[_hello]
+ .fi
+ Absolute addressing, ax is set to contents of location 1234. Note the
+-third option is not strictly consistant but is in place mainly for asld
++third option is not strictly consistent but is in place mainly for asld
+ compatibility.
+
+ .sp
+--- linux86-0.16.17.orig/man/bcc.1
++++ linux86-0.16.17/man/bcc.1
+@@ -324,7 +324,7 @@ directory to place temporary files (defa
+ .P
+ .SH DIRECTORIES
+ All the include, library and compiler components are stored under the
+-.I /usr/bcc
++.I /usr/lib/bcc
+ directory under Linux-i386, this is laid out the same as a
+ .I /usr
+ filesystem and if bcc is to be the primary compiler on a system it should
+--- linux86-0.16.17.orig/man/elksemu.1
++++ linux86-0.16.17/man/elksemu.1
+@@ -4,7 +4,7 @@
+ .SH NAME
+ elksemu \- Embedded Linux Kernel Subset emulator
+ .SH SYNOPSIS
+-.B /lib/elksemu
++.B elksemu
+ .B program
+ .RB [ arguments ]
+ .SH DESCRIPTION
+--- linux86-0.16.17.orig/man/ld86.1
++++ linux86-0.16.17/man/ld86.1
+@@ -108,7 +108,7 @@ The linker predefines several labels tha
+ Standard C variable for the end of the text segment.
+ .TP
+ .B __edata
+-Standard C variable for the end of the initilised data.
++Standard C variable for the end of the initialized data.
+ .TP
+ .B __end
+ Standard C variable for the end of the bss area.
+@@ -129,8 +129,8 @@ The value 'X' is a hex digit.
+ The top of segment 'X's data area.
+ .TP
+ .B __segXCL
+-The bottom of segment 'X's 'common data' or unitilised data area. Each
+-segment has both an initilised and unitilised data area.
++The bottom of segment 'X's 'common data' or uninitialized data area. Each
++segment has both an initialized and uninitialized data area.
+ .TP
+ .B __segXCH
+ The top of segment 'X's common area.
diff -Nru linux86-0.16.17/debian/patches/series
linux86-0.16.17/debian/patches/series
--- linux86-0.16.17/debian/patches/series 1970-01-01 00:00:00.000000000
+0000
+++ linux86-0.16.17/debian/patches/series 2024-02-21 13:47:40.000000000
+0000
@@ -0,0 +1 @@
+debian.patch
diff -Nru linux86-0.16.17/debian/rules linux86-0.16.17/debian/rules
--- linux86-0.16.17/debian/rules 2024-02-21 14:12:59.000000000 +0000
+++ linux86-0.16.17/debian/rules 2024-02-21 13:47:40.000000000 +0000
@@ -51,7 +51,7 @@
install -d debian/tmp-elks-libc/usr/share/lintian/overrides
cp -p debian/lintian.overrides
debian/tmp-elks-libc/usr/share/lintian/overrides/elks-libc
gzip -9f debian/tmp-elks-libc/usr/share/doc/elks-libc/*
- cp -p debian/copyright.elks-libc
debian/tmp-elks-libc/usr/share/doc/elks-libc/copyright
+ dh_installdocs
dpkg-gencontrol -Pdebian/tmp-elks-libc -pelks-libc -isp
chown -R 0.0 debian/tmp-elks-libc
chmod -R u=rwX,go=rX debian/tmp-elks-libc
@@ -80,13 +80,13 @@
cp -p copt/README debian/tmp-bcc/usr/share/doc/bcc/README.copt
cp -p debian/changelog
debian/tmp-bcc/usr/share/doc/bcc/changelog.Debian
gzip -9f debian/tmp-bcc/usr/share/doc/bcc/*
- cp -p debian/copyright.bcc
debian/tmp-bcc/usr/share/doc/bcc/copyright
# ``bin86'' specific things:
install -d debian/tmp-bin86/usr/bin
mv debian/tmp/usr/bin/*86 debian/tmp-bin86/usr/bin
install -d debian/tmp-bin86/usr/share/man/man1
mv debian/tmp/usr/man/man1/*86.1.gz
debian/tmp-bin86/usr/share/man/man1
+ dh_installman
#
install -d debian/tmp-bin86/usr/share/doc/bin86
cp -p Changes debian/tmp-bin86/usr/share/doc/bin86/changelog
@@ -101,7 +101,7 @@
gzip -9f debian/tmp-bin86/usr/share/doc/bin86/*
install -d debian/tmp-bin86/usr/share/doc/bin86/examples
mv debian/tmp/usr/lib/bcc/as86_encap
debian/tmp-bin86/usr/share/doc/bin86/examples
- cp -p debian/copyright.bin86
debian/tmp-bin86/usr/share/doc/bin86/copyright
+ dh_installdocs
dpkg-shlibdeps -pbin86 debian/tmp-bin86/usr/bin/*
dpkg-shlibdeps -pbcc debian/tmp-bcc/usr/{bin/bcc,lib/bcc/*}
diff -Nru linux86-0.16.17/debian/source/format
linux86-0.16.17/debian/source/format
--- linux86-0.16.17/debian/source/format 2024-02-21 14:12:59.000000000
+0000
+++ linux86-0.16.17/debian/source/format 2024-02-21 13:47:38.000000000
+0000
@@ -1 +1 @@
-1.0
+3.0 (quilt)
diff -Nru linux86-0.16.17/doselks/syscalls.c linux86-0.16.17/doselks/syscalls.c
--- linux86-0.16.17/doselks/syscalls.c 2024-02-21 14:12:59.000000000 +0000
+++ linux86-0.16.17/doselks/syscalls.c 1997-08-17 09:53:05.000000000 +0000
@@ -1,4 +1,4 @@
-#include <errno.h>
+
#include "doselks.h"
#include "syscalls.h"
diff -Nru linux86-0.16.17/elksemu/elks_sys.c linux86-0.16.17/elksemu/elks_sys.c
--- linux86-0.16.17/elksemu/elks_sys.c 2024-02-21 14:12:59.000000000 +0000
+++ linux86-0.16.17/elksemu/elks_sys.c 2004-01-19 22:13:45.000000000 +0000
@@ -147,9 +147,9 @@
/* Nasty hack so /lib/liberror.txt doesn't exist on the host.
*/
if (strcmp(dp, "/lib/liberror.txt") == 0 ) {
- int fd = open("/var/run/elks-liberror.txt", O_CREAT|O_EXCL|O_RDWR,
0666);
+ int fd = open("/tmp/liberror.txt", O_CREAT|O_EXCL|O_RDWR, 0666);
if (fd < 0) return fd;
- unlink("/var/run/elks-liberror.txt");
+ unlink("/tmp/liberror.txt");
write(fd, efile, sizeof(efile));
lseek(fd, 0L, 0);
return fd;
diff -Nru linux86-0.16.17/ifdef.c linux86-0.16.17/ifdef.c
--- linux86-0.16.17/ifdef.c 2024-02-21 14:12:59.000000000 +0000
+++ linux86-0.16.17/ifdef.c 2004-10-02 13:59:29.000000000 +0000
@@ -443,6 +443,10 @@
#ifdef __i386__
save_name("__elksemu_works__", 'D');
#endif
+/* Is this true ? */
+#ifdef __x86_64__
+ save_name("__elksemu_works__", 'D');
+#endif
#endif
#ifdef __unix__
save_name("__unix__", 'D');
diff -Nru linux86-0.16.17/ld/ld.c linux86-0.16.17/ld/ld.c
--- linux86-0.16.17/ld/ld.c 2024-02-21 14:12:59.000000000 +0000
+++ linux86-0.16.17/ld/ld.c 2004-01-21 21:17:09.000000000 +0000
@@ -2,8 +2,6 @@
/* Copyright (C) 1994 Bruce Evans */
-#include <errno.h>
-
#include "syshead.h"
#include "const.h"
#include "byteord.h"
diff -Nru linux86-0.16.17/libc/error/error.c linux86-0.16.17/libc/error/error.c
--- linux86-0.16.17/libc/error/error.c 2024-02-21 14:12:59.000000000 +0000
+++ linux86-0.16.17/libc/error/error.c 2004-01-19 21:10:31.000000000 +0000
@@ -24,8 +24,7 @@
}
if( err <= 0 ) goto unknown; /* NB the <= allows comments in the
file */
- fd = open("/usr/lib/bcc/liberror.txt", 0);
- if (fd < 0) fd = open("/lib/liberror.txt", 0);
+ fd = open("/lib/liberror.txt", 0);
if( fd < 0 ) goto unknown;
while( (cc=read(fd, inbuf, sizeof(inbuf))) > 0 )
diff -Nru linux86-0.16.17/libc/error/sys_errlist.c
linux86-0.16.17/libc/error/sys_errlist.c
--- linux86-0.16.17/libc/error/sys_errlist.c 2024-02-21 14:12:59.000000000
+0000
+++ linux86-0.16.17/libc/error/sys_errlist.c 2004-01-19 21:10:40.000000000
+0000
@@ -42,8 +42,7 @@
int i, cc, fd, err, len, bufoff=0;
char * ptr;
- fd = open("/usr/lib/bcc/liberror.txt", 0);
- if (fd < 0) fd = open("/lib/liberror.txt", 0);
+ fd = open("/lib/liberror.txt", 0);
if( fd < 0 ) return;
for(i=0; i<NR_ERRORS; i++) sys_errlist[i] = "Unknown error";
diff -Nru linux86-0.16.17/libc/i386fp/fperr.c
linux86-0.16.17/libc/i386fp/fperr.c
--- linux86-0.16.17/libc/i386fp/fperr.c 2024-02-21 14:12:59.000000000 +0000
+++ linux86-0.16.17/libc/i386fp/fperr.c 1991-11-08 23:52:30.000000000 +0000
@@ -3,12 +3,12 @@
#include "fperr.h"
-void fperr(err)
-int err;
+void fperr(errno)
+int errno;
{
#if defined(DEBUG) || 0
- switch(err) {
+ switch(errno) {
case EFDENORMAL:
fputs("\nDenormal - ", stderr);
@@ -35,7 +35,7 @@
break;
default:
- fprintf(stderr, "\nUnknown error 0x%x - ", err);
+ fprintf(stderr, "\nUnknown error 0x%x - ", errno);
}
fflush(stderr);
#endif
diff -Nru linux86-0.16.17/makefile.in linux86-0.16.17/makefile.in
--- linux86-0.16.17/makefile.in 2024-02-21 14:12:59.000000000 +0000
+++ linux86-0.16.17/makefile.in 2004-10-02 13:00:53.000000000 +0000
@@ -205,6 +205,10 @@
elksemu: bindir
$(MAKEC) elksemu elksemu
cp -p elksemu/elksemu bin/elksemu
+#else
+elksemu: bindir
+ $(MAKEC) elksemu CC='ncc' elksemu
+ cp -p elksemu/elksemu bin/elksemu
#endif
#endif
diff -Nru linux86-0.16.17/man/Makefile linux86-0.16.17/man/Makefile
--- linux86-0.16.17/man/Makefile 2024-02-21 14:12:59.000000000 +0000
+++ linux86-0.16.17/man/Makefile 1998-07-31 13:03:30.000000000 +0000
@@ -1,6 +1,6 @@
MANDIR=/usr/man
-MAN1PG=as86.1 bcc.1 elks.1 elksemu.1 ld86.1 ar86.1 objdump86.1
+MAN1PG=as86.1 bcc.1 elks.1 elksemu.1 ld86.1
MAN1DIR=$(MANDIR)/man1
all:
diff -Nru linux86-0.16.17/man/ar86.1 linux86-0.16.17/man/ar86.1
--- linux86-0.16.17/man/ar86.1 2024-02-21 14:12:59.000000000 +0000
+++ linux86-0.16.17/man/ar86.1 1970-01-01 00:00:00.000000000 +0000
@@ -1,153 +0,0 @@
-.TH ar86 1 "May, 2006"
-.BY Shyamal Prasad <[email protected]>
-.nh
-.SH NAME
-ar86 \- Create, modify, and extract from archive file
-.SH SYNOPSIS
-.B ar86
-.I operation
-.B archive
-.RI [ file... ]
-.PP
-.BR ar86
-.I positional\-op
-.B member
-.B archive
-.RI [ file ...]
-
-.SH DESCRIPTION
-The
-.B ar86
-program is used to create, examine and modify archive files produced
-by the Dev86/ELKS toolchain.
-.SH OPTIONS
-The
-.B ar86
-command requires that the operation to be performed on the archive be
-specified as the first option. If the operation is positional then the
-next option is the archive member marking the position. This is
-followed by the archive file name and any list of file names.
-.PP
-.SS Operations
-One of the following operations can be specified
-.TP
-.B d
-\fIdelete\fR the listed files from the archive.
-.TP
-.B m
-\fImove\fR the named files. By default files are moved to the end of
-the archive unless a positional modifier is present.
-.TP
-.B p
-\fIprint\fP the contents of archive members to standard out. If a file
-list is included only those members are printed. If the \fBv\fR
-modifier is present each file's contents are preceded by a new line,
-a line with the string \fBmember\fR, a space character, the member
-name, and two following newlines.
-.TP
-.B q
-.I quickly
-add the files to the end of the archive without checking
-to see if they already exist in the archive. This operation will
-ignore any positional modifiers. Creates the archive file if it does
-not exist.
-.TP
-.B r
-\fIreplace\fR archive members with the files listed. If the file name
-is not present in the archive it is added to the end of the archive
-(or to any explicitly specified position). Creates the archive file if
-it does not exist.
-.TP
-.B t
-\fItable\fR; list the file names of archive members. If a file list is
-present only those files that are present in the archive are listed.
-The \fBv\fR modifier prints member attributes.
-.TP
-.B x
-\fIextract\fR the named files from the archive into the current
-directory. If no files are specified all the archive members will be
-extracted.
-.P
-.SS Modifiers
-The following modifiers may be used with the operations
-.TP
-.B o
-\fIoriginal\fR time stamps from the archive are preserved for
-extracted files when possible.
-.TP
-.B s
-\fIsymbol\fR update; this option may be used by itself to force an
-update to the symbol definition section of the archive (the
-.B __.SYMDEF
-member). If any files are specified they will be replaced as if the
-.B r
-operation had been specified. If no symbol definition section exists
-one is created. This option will also creates the archive file if it
-does not exist.
-.TP
-.B u
-\fIupdate\fR files in the archive during a
-.B r
-.RI ( replace )
-operation. The files are added to the archive in exactly the same
-manner as
-.I replace
-except that an existing archive member will be retained (in its
-original position) if it has a modified more recently than the file
-being added. Note that this modifier acts as if a
-.B r
-operation has been specified (even it has not), and will actually
-override any other previously specified operation.
-.TP
-.B v
-\fIverbose\fR; print additional diagnostic messages while processing
-the archive.
-.SS Positional Modifiers
-The following modifiers specify where in the archive files are moved
-to or added. If any of these modifiers are specified then the second
-option to
-.B ar86
-must be the name of an archive member.
-.TP
-.B a
-\fIafter\fR; files are placed after the specified archive member.
-.TP
-.B b
-\fIbefore\fR; files are placed before the specified archive member.
-.TP
-.B i
-same as
-.BR b .
-.SH EXAMPLES
-To see the contents of an archive
-.IP
-ar86 tv libfile.a
-.PP
-To add some files to an archive
-.IP
-ar86 r libfile.a file1.o file2.o
-.PP
-to add some files after a member named mem.o and to update the symbol
-table
-.IP
-ar86 rsa mem.o libfile.a file1.o file2.o
-.SH BUGS
-A
-.B l
-modifier will be accepted but ignored.
-.SH RESTRICTIONS
-This command is intended for use only with object files created using
-the Dev86/ELKS toolchain.
-.SH "SEE ALSO"
-.BR as86 (1),
-.BR bcc (1),
-.BR ld86 (1)
-.SH AUTHORS
-\(co 1988, 1990 Free Software Foundation Inc. Changes for
-.B ar86
-by Greg Haerr <[email protected]>.
-.SH COPYRIGHT
-The manual page was written for Debian GNU/Linux, \(co 2006 Shyamal
-Prasad <[email protected]>. It is distributed under the terms of
-the GNU General Public License version 2 (or any later version
-released by the Free Software Foundation).
diff -Nru linux86-0.16.17/man/as86.1 linux86-0.16.17/man/as86.1
--- linux86-0.16.17/man/as86.1 2024-02-21 14:12:59.000000000 +0000
+++ linux86-0.16.17/man/as86.1 2003-12-10 10:23:54.000000000 +0000
@@ -186,7 +186,7 @@
mov ax,[_hello]
.fi
Absolute addressing, ax is set to contents of location 1234. Note the
-third option is not strictly consistent but is in place mainly for asld
+third option is not strictly consistant but is in place mainly for asld
compatibility.
.sp
diff -Nru linux86-0.16.17/man/bcc.1 linux86-0.16.17/man/bcc.1
--- linux86-0.16.17/man/bcc.1 2024-02-21 14:12:59.000000000 +0000
+++ linux86-0.16.17/man/bcc.1 2004-06-20 22:47:36.000000000 +0000
@@ -324,7 +324,7 @@
.P
.SH DIRECTORIES
All the include, library and compiler components are stored under the
-.I /usr/lib/bcc
+.I /usr/bcc
directory under Linux-i386, this is laid out the same as a
.I /usr
filesystem and if bcc is to be the primary compiler on a system it should
diff -Nru linux86-0.16.17/man/elksemu.1 linux86-0.16.17/man/elksemu.1
--- linux86-0.16.17/man/elksemu.1 2024-02-21 14:12:59.000000000 +0000
+++ linux86-0.16.17/man/elksemu.1 2004-01-19 22:56:56.000000000 +0000
@@ -4,7 +4,7 @@
.SH NAME
elksemu \- Embedded Linux Kernel Subset emulator
.SH SYNOPSIS
-.B elksemu
+.B /lib/elksemu
.B program
.RB [ arguments ]
.SH DESCRIPTION
diff -Nru linux86-0.16.17/man/ld86.1 linux86-0.16.17/man/ld86.1
--- linux86-0.16.17/man/ld86.1 2024-02-21 14:12:59.000000000 +0000
+++ linux86-0.16.17/man/ld86.1 2002-02-19 08:00:06.000000000 +0000
@@ -108,7 +108,7 @@
Standard C variable for the end of the text segment.
.TP
.B __edata
-Standard C variable for the end of the initialized data.
+Standard C variable for the end of the initilised data.
.TP
.B __end
Standard C variable for the end of the bss area.
@@ -129,8 +129,8 @@
The top of segment 'X's data area.
.TP
.B __segXCL
-The bottom of segment 'X's 'common data' or uninitialized data area. Each
-segment has both an initialized and uninitialized data area.
+The bottom of segment 'X's 'common data' or unitilised data area. Each
+segment has both an initilised and unitilised data area.
.TP
.B __segXCH
The top of segment 'X's common area.
diff -Nru linux86-0.16.17/man/objdump86.1 linux86-0.16.17/man/objdump86.1
--- linux86-0.16.17/man/objdump86.1 2024-02-21 14:12:59.000000000 +0000
+++ linux86-0.16.17/man/objdump86.1 1970-01-01 00:00:00.000000000 +0000
@@ -1,72 +0,0 @@
-.TH objdump86 1 "May, 2006"
-.BY Shyamal Prasad <[email protected]>
-.nh
-.SH NAME
-objdump86, size86, nm86 \- Examine object, archive or executable files
-.SH SYNOPSIS
-.BI objdump86
-.RI [ file ...]
-.PP
-.B size86
-.RI [ file ...]
-.PP
-.BI nm86
-.RI [ file ...]
-
-.SH DESCRIPTION
-These commands are used to examine the contents of object files. They
-may also be used to examine archive or executable files. When archive
-files are examined each module in the archive will be processed in
-sequence.
-.PP
-.B nm86
-prints the symbol table in each of the specified files.
-.PP
-.B size86
-displays a summary of the sizes of the segments in each of the files.
-.PP
-.B objdump86
-decodes and displays the contents of the object files specified. This
-includes the section headers, symbols tables, segment sizes, and
-segment contents.
-.SH OPTIONS
-The programs are not designed to accept any options.
-.PP
-It should be noted that all three of
-.BR objdump86 ,
-.BR size86 ,
-and
-.B nm86
-are implemented as links to the same executable file (called
-.BR objdump86
-in the source distribution). The result of running this executable is
-determined by the file name actually used to execute it.
-.PP
-It is possible to force a specific behavior irrespective of the
-invocation file name using one of the options below
-.TP
-.B -s
-Behave like
-.BR size86 .
-.TP
-.B -n
-Behave like
-.BR nm86 .
-.SH RESTRICTIONS
-These commands are intended for use only with the Dev86/ELKS
-toolchain.
-.SH "SEE ALSO"
-.BR as86 (1),
-.BR bcc (1),
-.BR ld86 (1)
-.SH AUTHORS
-.BR objdump86 ,
-.BR size86 ,
-and
-.B nm86
-\(co 1999 Greg Haerr <[email protected]>.
-.SH COPYRIGHT
-The manual page was written for Debian GNU/Linux, \(co 2006 Shyamal
-Prasad <[email protected]>. It is distributed under the terms of
-the GNU General Public License version 2 (or any later version
-released by the Free Software Foundation).