|
From: | maskray at google dot com |
Subject: | [Bug ld/24505] New: Should --nmagic affect MAXPAGESIZE/COMMONPAGESIZE? |
Date: | Tue, 30 Apr 2019 15:59:44 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=24505 Bug ID: 24505 Summary: Should --nmagic affect MAXPAGESIZE/COMMONPAGESIZE? Product: binutils Version: unspecified Status: UNCONFIRMED Severity: normal Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: maskray at google dot com Target Milestone: --- -n/--nmagic disables page alignment of sections. Should it affect the target specific constants MAXPAGESIZE and COMMONPAGESIZE by changing them to 1? % cat a.lds maxpagesize = CONSTANT(MAXPAGESIZE); commonpagesize = CONSTANT(COMMONPAGESIZE); % as /dev/null -o a.o % ld.bfd -n a.o -T a.lds -o a % readelf -Ws a | grep pagesize 2: 0000000000001000 0 NOTYPE GLOBAL DEFAULT ABS commonpagesize 3: 0000000000200000 0 NOTYPE GLOBAL DEFAULT ABS maxpagesize Feel free to close the issue if CONSTANT(MAXPAGESIZE) / CONSTANT(COMMONPAGESIZE) are not supposed to change. I just have a feeling that making commonpagesize=maxpagesize=1 may simplify the implementation. -- You are receiving this mail because: You are on the CC list for the bug.
[Prev in Thread] | Current Thread | [Next in Thread] |