Commit Graph

33 Commits

Author SHA1 Message Date
diamant3
1e1fe31165 fix resource leaks 2023-09-26 13:01:09 +08:00
Wouter Wijsman
70ac0d5d6c Merge pull request #88 from rofl0r/fixup_imp
improve psp-fixup-imports
2023-03-08 10:24:29 +01:00
Diamond Rivero
8f659bd2d7 fix array param warning (#112) 2023-01-23 09:39:15 +01:00
diamant3
1c03034eaa Fix resource leaks 2023-01-20 13:46:17 +08:00
diamant3
72a5d1d4c0 fix wrong closed file stream 2023-01-20 11:50:53 +08:00
diamant3
4ad11ee364 suppress unused result warning 2023-01-19 13:21:22 +08:00
Francisco Javier Trujillo Mata
03b3fee815 Remove custom types 2022-04-04 19:57:20 +02:00
rofl0r
6f77784f04 psp-fixup-imports: make "could not fixup imports" non-fatal
i've hit this error when running psp-fixup-imports on one of the examples
in psgpl tests directory, in particular eglpbuffers.elf. i have been
unable to make the error go away by re-arranging libraries in the
command line passed to collect2/psp-ld, however it turned out that simply
disabling the error produced a working binary.

therefore, just make it print a fat warning and continue anyway.
2022-03-25 00:59:42 +00:00
rofl0r
4ff1371352 psp-fixup-imports: in verbose mode, print symbol names
this makes it easier to debug issues.
2022-03-25 00:59:42 +00:00
rofl0r
7e98bb715b psp-fixup-imports: use lowercase hex
this makes the output compatible with readelf, which prints hex
in lowercase (so one can e.g. readelf -a foo.elf | less and search
for some hex value in the output).
2022-03-23 16:45:21 +00:00
rofl0r
6b8aaa64b8 psp-fixup-imports: remove another gratuitous level of indentation 2022-03-23 16:41:04 +00:00
rofl0r
a797442dd9 psp-fixup-imports: remove one gratuitous level of indentation
there's so many indented blocks, it's hardly possible to read the code even
on a terminal that's been resized to 160 chars wide.
2022-03-23 16:37:23 +00:00
ryancaicse
72f3714247 Fix resource leaks in bin2s.c
Fix resource leaks in bin2s.c
2022-02-07 15:18:17 +08:00
ryancaicse
a78df04996 Fix resource leaks in bin2o.c
Fix resource leaks in bin2o.c
2022-02-07 15:16:25 +08:00
ryancaicse
64d91e402a Fix resouce leaks in psp-fixup-imports.c
Fix resouce leaks in psp-fixup-imports.c
2022-02-07 15:13:51 +08:00
ryancaicse
0ba656ab48 Fix resource leaks in psp-prxgen.c
Fix resource leaks in psp-prxgen.c
2022-02-07 15:12:52 +08:00
Arthur Blot
8f797dcd3e Remove another obscure useless relocation type made by the new (psp-)gcc 2021-02-14 00:25:14 +01:00
Carsten Teibes
14c5b3f6ba Fix warning when exporting stubs 2020-06-24 18:02:19 +02:00
Carsten Teibes
f8f252343c Cleanup some compiler warnings 2020-06-22 21:24:12 +02:00
Carsten Teibes
7c6e46b487 Remove outdated svn ids, change url, fix permissions
Convert to unix line endings
2020-05-08 00:50:41 +02:00
Marko Mijalkovic
700632a9ee psp-prxgen: Allow relocations before relocated section
This commit scans through all sections first, before scanning for
relocation sections. Scanning relocations in a separate step allows
relocations to appear before the section they are relocating (valid with
ELF).
2020-05-08 16:32:48 -04:00
Naomi Peori
300ec5c405 Updated my name and contact information. 2017-11-27 22:17:31 -04:00
Arthur Blot
80930eca55 psp-prxgen: remove PC16 relocations
It apparently appeared with binutils 2.18+.
It appears when compiling an assembly file containing a branch to a
global name, but looks useless (branches are relative to current
position, and I do not see how the symbol could "move").
This relocation made the PSP not load the modules using it.
2014-07-21 12:01:23 +02:00
bitlinker
cec2766db8 Update unpack-pbp.c
Fixed compilation error (non-declared variable was passed to the error reporting printf)
2014-03-25 22:55:30 +03:00
DeadlySystem
e538fe7706 Update unpack-pbp.c 2014-03-08 22:58:45 +01:00
Dave Murphy
481f1cc036 remove unrequired include, causes build failure on OSX 2012-02-29 21:07:28 +00:00
Arthur Blot
f5552d516b Fixed warning by psp-build-exports's exports.c 2012-02-29 17:52:55 +01:00
Arthur Blot
758a262dd9 Fixed PrxEncrypter for procfw (patch by popsdeco) 2012-02-29 17:33:40 +01:00
Arthur Blot
a3f9a622bb More fixes to psp-prxgen 2012-02-29 14:57:54 +01:00
Arthur Blot
390df965ea Fixed some bugs (segfaults) in prxgen 2012-02-29 13:29:40 +01:00
Sam Hegarty
e009a2f6a6 add PrxEncrypter license and update README 2011-12-07 17:11:07 +13:00
Sam Hegarty
581fe4b853 add PrxEncrypter to tools 2011-12-07 04:39:59 +13:00
Dan Peori
8a3bef9012 first commit 2010-10-18 12:54:49 -03:00