SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View file

@ -0,0 +1,25 @@
Index: sim/msp430/interp.c
--- sim/msp430/interp.c.orig
+++ sim/msp430/interp.c
@@ -1880,18 +1880,18 @@ get_stop_addr (struct bfd *abfd)
storage_needed = bfd_get_symtab_upper_bound (abfd);
if (storage_needed < 0)
- return;
+ return 0;
if (storage_needed == 0)
{
- return;
+ return 0;
}
symbol_table = (asymbol **) xmalloc (storage_needed);
number_of_symbols = bfd_canonicalize_symtab (abfd, symbol_table);
if (number_of_symbols < 0)
- return;
+ return 0;
for (i = 0; i < number_of_symbols; i++)
{