2496 Commits

Author SHA1 Message Date
mintsuki
33db129c84 lib/elf: Reject relocatable ELFs in elf*_load_elsewhere() 2024-06-09 21:34:55 +02:00
mintsuki
70a0460a6e lib/elf: Do not check for DT_RELAENT size for DT_PLTREL entries 2024-06-09 00:19:30 +02:00
mintsuki
8d5f6d1504 lib/elf: Panic on unresolved symbols, unless marked weak 2024-06-08 23:37:35 +02:00
mintsuki
e9338aedfa build/bootstrap: Bump limine-efi revision 2024-06-08 17:02:45 +02:00
mintsuki
1de27783ee build/bootstrap: Bump limine-efi revision 2024-06-08 16:28:24 +02:00
mintsuki
1aab3b2951 misc/efi: Replace .padding with manual alignment 2024-06-08 16:11:17 +02:00
mintsuki
d14075daed lib/elf: Ignore PT_LOAD PHDRs with 0 memsz 2024-06-08 01:19:42 +02:00
mintsuki
e52cba9a9e lib/panic: Use ternary in 'return to' message 2024-06-08 00:48:50 +02:00
mintsuki
60e3b09f7d
Merge pull request #369 from iillis/v7.x
Setting different error message for boot failure when booting from menu or from the editor.
2024-06-07 23:56:36 +02:00
iillis
c16c25a232 Setting different error message for boot failure when booting from menu or booting from the editor 2024-06-07 23:31:28 +02:00
illis
cce8a70eee
When booting from editor fails you return to the editor while keeping the text as you were editing it (#364)
* When booting from editor fails you return to the editor while keeping the failing text

* Fixing syntax and menu render, and adding title backup

* Adding the buffer end and fixing blank bug

* Using strcpy() instead of memcpy for the title and relocating booting_from_editor = true;
2024-06-06 16:56:47 +02:00
mintsuki
f137a99b50 docs: Update ChangeLog and README.md for 7.7.1 v7.7.1 2024-06-06 16:01:13 +02:00
mintsuki
d25b7bd0c6 build/linker: UEFI: New padding method that doesn't mangle PT_DYNAMIC 2024-06-05 16:53:00 +02:00
mintsuki
ffe25e3808 lib/elf: Stop parsing PT_DYNAMIC once DT_NULL reached 2024-06-05 11:30:57 +02:00
mintsuki
dc4c3f2b9d docs: Update ChangeLog and README.md for 7.7.0 v7.7.0 2024-06-04 12:19:45 +02:00
mintsuki
e6a742e8d0 lib/elf: Panic if ELF file contains DT_NEEDED tags 2024-06-04 03:09:08 +02:00
mintsuki
d694902642 lib/elf: Check if DT_PLTREL is DT_RELA 2024-06-04 03:02:55 +02:00
mintsuki
7a596fa9fe lib/elf: Use __builtin_popcountll instead of __builtin_popcountg 2024-06-04 02:43:26 +02:00
mintsuki
77143b153c lib/elf: Use __builtin_popcountg instead of __builtin_popcount 2024-06-04 02:31:01 +02:00
mintsuki
3ce1415a3a lib/elf: Free allocated RELA structs for RELR 2024-06-04 02:11:06 +02:00
mintsuki
54e8882328 lib/elf: Fix a GCC uninitialised var warning 2024-06-04 02:06:03 +02:00
mintsuki
9789274c6d lib/elf: Add RELR support 2024-06-04 01:45:04 +02:00
mintsuki
5a7052d135 lib/elf: Add more and better sanity checks 2024-06-03 22:34:45 +02:00
mintsuki
65fa1a9d5c build: Bring back the xz tarball 2024-06-03 22:02:44 +02:00
mintsuki
450c40ce0e build: bootstrap: Bump limine-efi and flanterm 2024-06-03 03:38:15 +02:00
mintsuki
04f6957f17 lib/elf: Add support for R_*_NONE relocations 2024-06-03 03:29:14 +02:00
mintsuki
89bc8aad5e lib/elf: Optimise is_relocatable() a bit 2024-06-03 02:28:21 +02:00
mintsuki
4c4d79b7fe lib/elf: Move R_AARCH64_ABS64 case where it makes more sense 2024-06-03 01:53:23 +02:00
mintsuki
4b101ddb75 lib/elf: Remove stray semicolon in apply_relocations() 2024-06-03 01:03:10 +02:00
mintsuki
c9cbc359e7 lib/elf: aarch64: Support ABS64 reloc/add r_addend in JUMP_SLOT/GLOB_DAT relocs 2024-06-03 00:42:59 +02:00
mintsuki
77a8af1d0a lib/elf: More sound calculation of relocs_i 2024-06-03 00:14:58 +02:00
mintsuki
6b1e6d88dd lib/elf: Add support for GLOB_DAT, JUMP_SLOT, and 64 relocation types 2024-06-03 00:03:33 +02:00
mintsuki
a4171f1e82
Merge pull request #363 from iillis/v7.x
Changing unsupported protocol panic message
2024-06-02 18:37:05 +02:00
iillis
b10993f248 Changed unsupported protocol panic message 2024-06-02 18:10:34 +02:00
mintsuki
fc26ad8640 docs: Update ChangeLog and README.md for 7.6.0 v7.6.0 2024-06-01 22:09:19 +02:00
mintsuki
ba1ef60fd3
Merge pull request #361 from limine-bootloader/dependabot/github_actions/trunk/cachix/install-nix-action-27
build(deps): bump cachix/install-nix-action from 26 to 27
2024-06-01 21:56:00 +02:00
mintsuki
984576e5b0 misc/lds: .eh_frame -> .eh_frame* 2024-06-01 17:38:23 +02:00
dependabot[bot]
6b7170232a
build(deps): bump cachix/install-nix-action from 26 to 27
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 26 to 27.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v26...V27)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-01 03:18:41 +00:00
mintsuki
dad9a69f97 misc/build: libfdt related cleanups 2024-05-31 21:54:03 +02:00
mintsuki
3a51368db6 misc/build: Update limine-efi commit and fixes for linker portability 2024-05-31 21:38:40 +02:00
mintsuki
1e85ce85fd
Merge pull request #360 from xvanc/trunk
Add support for RISC-V systems without ACPI
2024-05-31 20:51:41 +02:00
xvanc
7ac5935b5d
lib/libc: move some functions to libc.c 2024-05-31 12:18:38 -05:00
xvanc
b5c6bdcf10
build: switch to git repo for libfdt 2024-05-30 17:38:46 -05:00
xvanc
65e2c1b4d8
riscv: add support for device tree 2024-05-30 10:53:21 -05:00
xvanc
1ebeb06570
build: add libfdt 2024-05-30 10:41:45 -05:00
mintsuki
45fb3ded6f misc: Update linker scripts for better ld.gold compat 2024-05-27 00:18:14 +02:00
mintsuki
8a4ad07e38 bootstrap: Bump limine-efi revision 2024-05-27 00:13:04 +02:00
mintsuki
c204af454f docs: Update ChangeLog and README.md for 7.5.3 v7.5.3 2024-05-24 11:59:16 +02:00
mintsuki
1811c7f8b7 lib/elf: Do not perform any additional checks if an ELF is both ET_DYN and has a PT_DYNAMIC segment 2024-05-24 10:01:46 +02:00
mintsuki
a9afcf89a0 test/multiboot2: Fix up memmap entry_count calculation and add EFI memmap printing 2024-05-23 16:39:43 +02:00