Files
rgbds/include/link/script.hpp
Eldred Habert fd78a9ae83 Port linkerscript parser to Bison (#1266)
Notable side effects:
* Use the standard-conformant MSVC preproc
* Add test for linker script INCLUDE
* Improve wording of placement conflict errors
* Fix errors from not newline-terminated files
* Teach checkdiff about the linker script doc
* Call linker script "commands" "directives" instead

---------

Co-authored-by: Rangi42 <remy.oukaour+rangi42@gmail.com>
2023-12-11 02:29:37 +01:00

17 lines
336 B
C++

/* SPDX-License-Identifier: MIT */
// Parsing a linker script
#ifndef RGBDS_LINK_SCRIPT_H
#define RGBDS_LINK_SCRIPT_H
#include <stdint.h>
#include "linkdefs.hpp"
/*
* Parses the linker script, and modifies the sections mentioned within appropriately.
*/
void script_ProcessScript(char const *path);
#endif // RGBDS_LINK_SCRIPT_H