6698 freebsd btxld port for illumos (loader project)

Review Request #158 — Created March 1, 2016 and submitted

tsoome
illumos-gate
6698
general
6698 freebsd btxld port for illumos (loader project)


  • 0
  • 0
  • 2
  • 1
  • 3
Description From Last Updated
tsoome
tsoome
tsoome
richlowe
  1. 
      
  2. usr/src/tools/btxld/Makefile (Diff revision 2)
     
     

    We generally don't use VPATH. Does this get unwieldy with explicit rules? dmake's implementation of VPATH has been scary, in the past.

    1. Yes, I did miss this Makefile from initial VPATH based port.

  3. usr/src/tools/btxld/btxld.c (Diff revision 2)
     
     

    Would it make future merges easier to do this (and all similar) with a #define somewhere?

    1. Since we now have endian.h, I did revert the change to byteorder macros. However, had to keep byteorder for elfh.c.

  4. usr/src/tools/btxld/imgact_aout.h (Diff revision 2)
     
     

    Why include a.out support at all?

    1. The bios blocks are built using aout middle format before converting to binary. Since this method is working well, I would rather keep it for at least time being.

  5. 
      
tsoome
tsoome
richlowe
  1. Ship It!
  2. 
      
trisk
  1. Ship It!
  2. 
      
tsoome
trisk
  1. Seems fine. Was btx.h missing in the prior version?

    1. oh, no, the only chage is about adding local endian.h (using byteorder.h) for case the build host is too old to have endian.h - since the btxld is built as tool to run from make, it has to be built against build host. However, the rbt reviewboard update did got a bit messed up as I took the update from squashed commit...

  2. 
      
tsoome
Review request changed

Status: Closed (submitted)

Loading...