[PATCH] asan_test.C: disable -Wstringop-overflow, PR/93058

2020-01-23 Thread slyfox.inbox.ru via gcc-patches
From: Sergei Trofimovich From: Sergei Trofimovich asan's test allocates 2 pages via pvalloc(kPageSize + 100) and makes sure dereference of 'kPageSize + 101' does not trigger asan checks. glibc's and gcc's malloc-like attribute checkers trigger a warning: asan_test.cc:129:22: error: writing

[PATCH v2] libgcc: m68k: avoid TEXTRELs in shared library (PR 86224)

2018-07-28 Thread slyfox.inbox.ru via gcc-patches
From: Sergei Trofimovich Cc: Ian Lance Taylor Cc: Jeff Law Cc: Andreas Schwab Signed-off-by: Sergei Trofimovich --- libgcc/config/m68k/lb1sf68.S | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libgcc/config/m68k/lb1sf68.S b/libgcc/config/m68k/lb1sf68.S index 325a7c17d9b..d5240d4aa55 1

[PATCH] libgcc: m68k: avoid TEXTRELs in shared library (PR 86224)

2018-07-28 Thread slyfox.inbox.ru via gcc-patches
From: Sergei Trofimovich Cc: Ian Lance Taylor Cc: Jeff Law Cc: Andreas Schwab Signed-off-by: Sergei Trofimovich --- libgcc/config/m68k/lb1sf68.S | 19 ++- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/libgcc/config/m68k/lb1sf68.S b/libgcc/config/m68k/lb1sf68.

[PATCH v2] libitm: sh: avoid absolute relocation in shared library (PR 86712)

2018-07-28 Thread slyfox.inbox.ru via gcc-patches
From: Sergei Trofimovich Cc: Andreas Schwab Cc: Torvald Riegel Cc: Alexandre Oliva Cc: Oleg Endo Cc: Kaz Kojima Signed-off-by: Sergei Trofimovich --- libitm/config/sh/sjlj.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libitm/config/sh/sjlj.S b/libitm/config/sh/s

[PATCH] libitm: sh: avoid absolute relocation in shared library (PR 86712)

2018-07-28 Thread slyfox.inbox.ru via gcc-patches
From: Sergei Trofimovich Signed-off-by: Sergei Trofimovich --- libitm/config/sh/sjlj.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libitm/config/sh/sjlj.S b/libitm/config/sh/sjlj.S index 043f36749be..80a810d8360 100644 --- a/libitm/config/sh/sjlj.S +++ b/libitm/confi