aboutsummaryrefslogtreecommitdiffhomepage
path: root/obj.c
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2023-06-18 22:26:53 +0200
committerlemon <lsof@mailbox.org>2023-06-18 22:26:53 +0200
commit4f979636327bb1acb371d3094554da6cc4672973 (patch)
treef1bdf1546eb83991339c1c8eeaf77cbbeb16ff21 /obj.c
parentb246b0f1f617d34560402c734630369145c2dee1 (diff)
add endian.h for endian dependent stuff
Diffstat (limited to 'obj.c')
-rw-r--r--obj.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/obj.c b/obj.c
index f2b0623..127dedd 100644
--- a/obj.c
+++ b/obj.c
@@ -51,7 +51,7 @@ objreloc(const char *sym, enum relockind reloc, enum section section, uint off,
void
objfini(void)
{
- static char buf[1<<10];
+ static char buf[1<<12];
struct wbuf out = FDBUF(buf, sizeof buf, open(objout.file, O_WRONLY | O_CREAT | O_TRUNC, 0666));
if (out.fd < 0) fatal(NULL, "could not open %'s for writing: %s", objout.file, strerror(errno));