X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=as%2Flink%2Faslink.h;h=ff45b4661cae2d4e02931a3d833b874da2377a6f;hb=1edc7c1316ae901d7dc6aeaae8117c6af4089c89;hp=15d6e0f9b5f10cc93e01f1e32d1afff3a3d5fa0c;hpb=80afec7d3daed0a55a63785d349026eaf2d46154;p=fw%2Fsdcc diff --git a/as/link/aslink.h b/as/link/aslink.h index 15d6e0f9..ff45b466 100644 --- a/as/link/aslink.h +++ b/as/link/aslink.h @@ -1,14 +1,22 @@ -/* aslink.h */ +/* aslink.h -/* - * (C) Copyright 1989-1996 - * All Rights Reserved - * - * Alan R. Baldwin - * 721 Berkeley St. - * Kent, Ohio 44240 - * - * 28-Oct-97 JLH: + Copyright (C) 1989-1995 Alan R. Baldwin + 721 Berkeley St., Kent, Ohio 44240 + +This program is free software; you can redistribute it and/or modify it +under the terms of the GNU General Public License as published by the +Free Software Foundation; either version 3, or (at your option) any +later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . */ + +/* 28-Oct-97 JLH: * - add proto for StoreString * - change s_id from [NCPS] to pointer * - change NCPS to 80 @@ -56,29 +64,40 @@ $(STACK) = 2000 */ +#if defined decus /* DECUS C void definition */ /* File/extension seperator */ -#ifdef decus -#define VOID char -#define FSEPX '.' -#endif +#define VOID char +#define FSEPX '.' +#elif defined PDOS /* PDOS C void definition */ /* File/extension seperator */ -#ifdef PDOS -#define VOID char -#define FSEPX ':' -#endif +#define VOID char +#define FSEPX ':' -/* Default void definition */ +#elif defined UNIX +/* UNIX void definition */ /* File/extension seperator */ -#ifndef VOID -#define VOID void -#define FSEPX '.' +#define VOID void +#define FSEPX '.' +#define LKDIRSEP '/' +#define LKDIRSEPSTR "/" #define OTHERSYSTEM + +#else +/* DOS/WINDOWS void definition */ +/* File/extension seperator */ + +#define VOID void +#define FSEPX '.' +#define LKDIRSEP '\\' +#define LKDIRSEPSTR "\\" +#define OTHERSYSTEM + #endif /* @@ -474,7 +493,8 @@ struct lbfile { char *libspc; char *relfil; char *filspc; - long offset; /*>=0 if rel file is embedded in a lib file at this offset*/ + long offset; + unsigned int type; }; /*