t strategy that means that find_task_size() would loop
for a very long time, from 2^42 to 2^53. To fix this, increase addr
in the loop for s390x as soon as we exceed the 2^42 limit.
Signed-off-by: Gerald Schaefer
---
tests/task-size-overrun.c | 4
1 file changed, 4 insertions(+)
diff --git a/
On Thu, 28 Feb 2013 09:36:36 -0800
Eric B Munson wrote:
> On 2013-02-28 09:00, Gerald Schaefer wrote:
> > On Tue, 26 Feb 2013 14:33:54 +0100
> > Gerald Schaefer wrote:
> >
> >> commit 8c075e33 introduced a regression. The previous sscanf()
> >> implicitl
On Thu, 28 Feb 2013 09:36:36 -0800
Eric B Munson wrote:
> On 2013-02-28 09:00, Gerald Schaefer wrote:
> > On Tue, 26 Feb 2013 14:33:54 +0100
> > Gerald Schaefer wrote:
> >
> >> commit 8c075e33 introduced a regression. The previous sscanf()
> >> implicitl
t;
Signed-off-by: Gerald Schaefer
---
hugeutils.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/hugeutils.c b/hugeutils.c
index 6a4dc85..53a7fbd 100644
--- a/hugeutils.c
+++ b/hugeutils.c
@@ -665,6 +665,7 @@ static void find_mounts(void)
On Wed, 12 Dec 2012 18:10:02 +
Steve Capper wrote:
> This patch adds support for the ARM architecture to libhugetlbfs.
>
> We do not add the xBT/xBDT style linker scripts as these have been
> deprecated in favour of adjusting the page sizes via command line
> parameter to ld.
Have you consi
linking
tests. This means that the default for running run_tests.py directly is
now changed to skip the old-style linking tests.
Signed-off-by: Gerald Schaefer
---
Makefile | 17 -
ld.hugetlbfs | 11 +++
tests/Makefile | 10 ++
tests/run_tests.
ble
is introduced to the build process, which will skip the respective test
cases.
Gerald Schaefer (2):
Make custom linker scripts configurable
Add --hugetlbfs-align linking support on s390
HOWTO | 7 ---
Makefile | 21 +++--
ld.hugetlbfs |
This patch adds support for libhugetlbfs linking on s390 for binutils >= 2.17
with the --hugetlbfs-align option. No custom linker scripts are provided, so
CUSTOM_LDSCRIPTS is set to "no" and the deprecated --hugetlbfs-link option is
not supported on s390.
Signed-off-by: Ge
down-aligned
offset instead of the offset itself before calling check_range_empty().
Signed-off-by: Gerald Schaefer
---
elflink.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/elflink.c b/elflink.c
index e92d2dd..b746b26 100644
--- a/elflink.c
+++ b/elflink.c
@@ -872,7 +872,7