X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=as%2Flink%2Fhc08%2Flkarea.c;fp=as%2Flink%2Fhc08%2Flkarea.c;h=0f44b0ea8048a0f96da9e8edea3a26abc3919098;hb=22ec133e94d056a395025c302b6c331c8cd04658;hp=b103bc0a6cbae8fe55ac5ec675985f45c94f3d3d;hpb=b7fec7bdb767e95165097f43e52cf1cbc4ee6017;p=fw%2Fsdcc diff --git a/as/link/hc08/lkarea.c b/as/link/hc08/lkarea.c index b103bc0a..0f44b0ea 100644 --- a/as/link/hc08/lkarea.c +++ b/as/link/hc08/lkarea.c @@ -1,13 +1,22 @@ -/* lkarea.c */ +/* lkarea.c + + 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 . */ /* - * (C) Copyright 1989-1995 - * All Rights Reserved - * - * Alan R. Baldwin - * 721 Berkeley St. - * Kent, Ohio 44240 - * * 3-Nov-97 JLH: * - change lkparea to use a_type == 0 as "virgin area" flag * 02-Apr-98 JLH: add code to link 8051 data spaces @@ -601,9 +610,9 @@ Addr_T lnksect(struct area *tap) taxp = taxp->a_axp; } } else if (tap->a_flag & A_ABS) { - /* - * Absolute sections - */ + /* + * Absolute sections + */ while (taxp) { allocate_space(taxp->a_addr, taxp->a_size, tap->a_id, codemap); taxp->a_addr = 0; /* reset to zero so relative addresses become absolute */