mirror of
https://github.com/tailix/libkernaux.git
synced 2025-04-21 17:42:26 -04:00
Remove unnecessary define
This commit is contained in:
parent
c8ccffbf47
commit
e37d4ac0f2
5 changed files with 4 additions and 5 deletions
|
@ -14,7 +14,7 @@ SECTIONS
|
|||
|
||||
.text BLOCK(4K) : ALIGN(4K)
|
||||
{
|
||||
*(.multiboot)
|
||||
*(.multiboot2)
|
||||
*(.text)
|
||||
}
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#include <kernaux/multiboot2.h>
|
||||
|
||||
__attribute__((section(KERNAUX_MULTIBOOT2_HEADER_SECTION), used))
|
||||
__attribute__((section(".multiboot2"), used))
|
||||
__attribute__((aligned(KERNAUX_MULTIBOOT2_HEADER_ALIGN)))
|
||||
const struct {
|
||||
struct KernAux_Multiboot2_Header multiboot2_header;
|
||||
|
|
|
@ -14,7 +14,7 @@ SECTIONS
|
|||
|
||||
.text BLOCK(4K) : ALIGN(4K)
|
||||
{
|
||||
*(.multiboot)
|
||||
*(.multiboot2)
|
||||
*(.text)
|
||||
}
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#include <kernaux/multiboot2.h>
|
||||
|
||||
__attribute__((section(KERNAUX_MULTIBOOT2_HEADER_SECTION), used))
|
||||
__attribute__((section(".multiboot2"), used))
|
||||
__attribute__((aligned(KERNAUX_MULTIBOOT2_HEADER_ALIGN)))
|
||||
const struct {
|
||||
struct KernAux_Multiboot2_Header multiboot2_header;
|
||||
|
|
|
@ -11,7 +11,6 @@ extern "C" {
|
|||
#define KERNAUX_MULTIBOOT2_HEADER_MAGIC 0xE85250D6
|
||||
#define KERNAUX_MULTIBOOT2_INFO_MAGIC 0x36D76289
|
||||
|
||||
#define KERNAUX_MULTIBOOT2_HEADER_SECTION ".multiboot"
|
||||
#define KERNAUX_MULTIBOOT2_HEADER_ALIGN 4
|
||||
|
||||
#define KERNAUX_MULTIBOOT2_HEADER_CHECKSUM(arch, total_size) \
|
||||
|
|
Loading…
Add table
Reference in a new issue