]> git.sur5r.net Git - cc65/blobdiff - src/ca65/listing.c
New .FEATURE org_per_seg. If enabled, .org/.reloc do only influence the
[cc65] / src / ca65 / listing.c
index f18ac5910994aff6499e37dc65f2c9b57779feda..ad97d4b509b4effd0ec89d4675aa9440b8235dc2 100644 (file)
@@ -6,8 +6,8 @@
 /*                                                                           */
 /*                                                                           */
 /*                                                                           */
-/* (C) 2000-2003 Ullrich von Bassewitz                                       */
-/*               Römerstraße 52                                              */
+/* (C) 2000-2007 Ullrich von Bassewitz                                       */
+/*               Roemerstrasse 52                                            */
 /*               D-70794 Filderstadt                                         */
 /* EMail:        uz@cc65.org                                                 */
 /*                                                                           */
@@ -105,7 +105,7 @@ void NewListingLine (const char* Line, unsigned char File, unsigned char Depth)
        L->FragList     = 0;
        L->FragLast     = 0;
        L->PC           = GetPC ();
-       L->Reloc        = RelocMode;
+       L->Reloc        = GetRelocMode ();
        L->File         = File;
        L->Depth        = Depth;
        L->Output       = (ListingEnabled > 0);
@@ -181,7 +181,7 @@ void InitListingLine (void)
                /* Set the values for this line */
                CHECK (L != 0);
                L->PC            = GetPC ();
-               L->Reloc         = RelocMode;
+               L->Reloc         = GetRelocMode ();
                L->Output        = (ListingEnabled > 0);
                L->ListBytes = (unsigned char) ListBytes;
            } while (L->Next != LineLast);
@@ -191,7 +191,7 @@ void InitListingLine (void)
        /* Set the values for this line */
        CHECK (LineCur != 0);
        LineCur->PC         = GetPC ();
-       LineCur->Reloc      = RelocMode;
+       LineCur->Reloc      = GetRelocMode ();
        LineCur->Output     = (ListingEnabled > 0);
                LineCur->ListBytes  = (unsigned char) ListBytes;
     }