1. 15 10月, 2019 12 次提交
  2. 11 10月, 2019 1 次提交
  3. 09 10月, 2019 1 次提交
  4. 08 10月, 2019 16 次提交
  5. 25 9月, 2019 2 次提交
  6. 10 9月, 2019 1 次提交
  7. 03 9月, 2019 1 次提交
    • M
      riscv: tools: Handle addend to absolute reloc in prelink-riscv · 71bdfcb2
      Marcus Comstedt 提交于
      Previously the handling of R_RISCV_32 and R_RISCV_64 would simply
      insert the value of the symbol and ignore any addend.  However, there
      exist relocs where the addend is non-zero:
      
      0000000080250900 R_RISCV_64        efi_runtime_services+0x0000000000000068
      0000000080250910 R_RISCV_64        efi_runtime_services+0x0000000000000038
      0000000080250920 R_RISCV_64        efi_runtime_services+0x0000000000000018
      0000000080250930 R_RISCV_64        efi_runtime_services+0x0000000000000020
      0000000080250980 R_RISCV_64        efi_runtime_services+0x0000000000000048
      0000000080250990 R_RISCV_64        efi_runtime_services+0x0000000000000050
      00000000802509a0 R_RISCV_64        efi_runtime_services+0x0000000000000058
      0000000080250940 R_RISCV_64        systab+0x0000000000000030
      0000000080250950 R_RISCV_64        systab+0x0000000000000040
      0000000080250960 R_RISCV_64        systab+0x0000000000000050
      0000000080250970 R_RISCV_64        systab+0x0000000000000060
      
      In these cases the addend needs to be added to the symbol value to get
      the correct value for the reloc.
      Signed-off-by: NMarcus Comstedt <marcus@mc.pp.se>
      Cc: Rick Chen <rick@andestech.com>
      71bdfcb2
  8. 26 8月, 2019 1 次提交
  9. 22 8月, 2019 1 次提交
    • H
      easylogo: avoid buffer overrun · 2bdb42f7
      Heinrich Schuchardt 提交于
      Building easylogo with `HOST_TOOLS_ALL=y make tools` results in a build
      warning due to a possible buffer overrun:
      
      tools/easylogo/easylogo.c:453:4: note: ‘sprintf’ output between 7 and
      262 bytes into a destination of size 256
          sprintf (str, "%s, 0x%02x", app, *dataptr++);
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      
      Truncate the output to fit into the destination buffer.
      Signed-off-by: NHeinrich Schuchardt <xypron.glpk@gmx.de>
      2bdb42f7
  10. 21 8月, 2019 1 次提交
    • H
      easylogo: avoid buffer overrun · cd1db463
      Heinrich Schuchardt 提交于
      Building easylogo with `HOST_TOOLS_ALL=y make tools` results in a build
      warning due to a possible buffer overrun:
      
      tools/easylogo/easylogo.c:453:4: note: ‘sprintf’ output between 7 and
      262 bytes into a destination of size 256
          sprintf (str, "%s, 0x%02x", app, *dataptr++);
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      
      Truncate the output to fit into the destination buffer.
      Signed-off-by: NHeinrich Schuchardt <xypron.glpk@gmx.de>
      cd1db463
  11. 15 8月, 2019 2 次提交
  12. 12 8月, 2019 1 次提交