10852 libficl-sys: implement loader emulator commands with linker set

Review Request #1789 - Created April 25, 2019 and submitted - Latest diff uploaded

Information
Toomas Soome
illumos-gate
10852
1788, 1774, 1668
57555ba...
Reviewers
general
10852 libficl-sys: implement loader emulator commands with linker set

in ficl-sys, the loader commands are listed with ? and the commands do work as expected.

tsoome@uefi-oi:~$ elfdump /usr/lib/amd64/libficl-sys.so.4.1.0 | grep Xcommand_set
Section Header[26]:  sh_name: set_Xcommand_set
      [81]  0x0000000000042c70 0x0000000000000000  NOTY LOCL  H    0 set_Xcommand_s __stop_set_Xcommand_set
     [107]  0x0000000000042bd8 0x0000000000000000  NOTY LOCL  H    0 set_Xcommand_s __start_set_Xcommand_set
    [1025]  0x0000000000042bd8 0x0000000000000008  OBJT LOCL  D    0 set_Xcommand_s __set_Xcommand_set_sym__cmd_help
    [1028]  0x0000000000042be0 0x0000000000000008  OBJT LOCL  D    0 set_Xcommand_s __set_Xcommand_set_sym__cmd_commandlist
    [1031]  0x0000000000042be8 0x0000000000000008  OBJT LOCL  D    0 set_Xcommand_s __set_Xcommand_set_sym__cmd_show
    [1033]  0x0000000000042bf0 0x0000000000000008  OBJT LOCL  D    0 set_Xcommand_s __set_Xcommand_set_sym__cmd_printenv
    [1036]  0x0000000000042bf8 0x0000000000000008  OBJT LOCL  D    0 set_Xcommand_s __set_Xcommand_set_sym__cmd_set
    [1039]  0x0000000000042c00 0x0000000000000008  OBJT LOCL  D    0 set_Xcommand_s __set_Xcommand_set_sym__cmd_setprop
    [1042]  0x0000000000042c08 0x0000000000000008  OBJT LOCL  D    0 set_Xcommand_s __set_Xcommand_set_sym__cmd_unset
    [1045]  0x0000000000042c10 0x0000000000000008  OBJT LOCL  D    0 set_Xcommand_s __set_Xcommand_set_sym__cmd_echo
    [1049]  0x0000000000042c18 0x0000000000000008  OBJT LOCL  D    0 set_Xcommand_s __set_Xcommand_set_sym__cmd_read
    [1052]  0x0000000000042c20 0x0000000000000008  OBJT LOCL  D    0 set_Xcommand_s __set_Xcommand_set_sym__cmd_more
    [1056]  0x0000000000042c28 0x0000000000000008  OBJT LOCL  D    0 set_Xcommand_s __set_Xcommand_set_sym__cmd_ls
    [1060]  0x0000000000042c30 0x0000000000000008  OBJT LOCL  D    0 set_Xcommand_s __set_Xcommand_set_sym__cmd_include
    [1064]  0x0000000000042c38 0x0000000000000008  OBJT LOCL  D    0 set_Xcommand_s __set_Xcommand_set_sym__cmd_boot
    [1067]  0x0000000000042c40 0x0000000000000008  OBJT LOCL  D    0 set_Xcommand_s __set_Xcommand_set_sym__cmd_autoboot
    [1073]  0x0000000000042c48 0x0000000000000008  OBJT LOCL  D    0 set_Xcommand_s __set_Xcommand_set_sym__cmd_load
    [1076]  0x0000000000042c50 0x0000000000000008  OBJT LOCL  D    0 set_Xcommand_s __set_Xcommand_set_sym__cmd_unload
    [1079]  0x0000000000042c58 0x0000000000000008  OBJT LOCL  D    0 set_Xcommand_s __set_Xcommand_set_sym__cmd_reboot
    [1082]  0x0000000000042c60 0x0000000000000008  OBJT LOCL  D    0 set_Xcommand_s __set_Xcommand_set_sym__cmd_sifting
    [1085]  0x0000000000042c68 0x0000000000000008  OBJT LOCL  D    0 set_Xcommand_s __set_Xcommand_set_sym__cmd_framebuffer
tsoome@uefi-oi:~$ 
Loading...