Hi Guys,
With the annobin plugin for gcc I have a problem accessing some of the
fields in the global_options structure. Although the plugin can use
the macros defined in options.h, this only works if the plugin is in
sync with gcc. If the plugin was built for one version of gcc, but
ru
Hi John,
But they did offer some tentative support for my second suggestion of changing the meaning of bare
"netbsd" --- "netbsdaout" would still be available to unambiguously request
a.out for anyone that wants it.
I think that this would be OK for the binutils, providing that when configur
Hi Luis,
There is a CVE [1] for zlib < 1.2.12 (released march 27th).
GCC currently uses zlib 1.2.11, and binutils-gdb imports the zlib directory
from GCC. The recommendation is to get it updated to 1.2.12, which contains the
proper fix [2].
I am all for updating the binutils-gdb copy of zli
Hi Luis,
There is a CVE [1] for zlib < 1.2.12 (released march 27th).
GCC currently uses zlib 1.2.11, and binutils-gdb imports the zlib directory
from GCC. The recommendation is to get it updated to 1.2.12, which contains the
proper fix [2].
Right - I have now updated the binutils-gdb mainl
Hi Jeff,
I used -z execstack rather than --no-warn-execstack as the former is recognized
by older versions of ld, but the latter is a new option.
Thanks for it.
Unfortunately, I should have looked at the other failures that have popped up over the last week. Essentially all the nested functio
Hi Jeff,
Just FYI - I am also looking at adding in another warning. This time for
when the linker creates a PT_LOAD segment which has all of the RWX flags
set. At the moment my testing seems to show that it only causes problems
when a custom linker script is used that defines its own pr
Hi Florian,
What would be the most ELF-flavored way to implement this? After the
final link, I expect that the count (or counts, we need a separate
counter for thread-local storage) would show up under a new dynamic tag
in the dynamic segment. This is actually a very good fit because older
loa
Hi Thomas,
+/* Linker supports '-v' option. */
+#define LINK_SPEC "%{v}"
..., Tom rightfully asked:
[...] I wonder, normally we don't pass -v to ld, and need -Wl,-v for
that.
So, on my quest for making things uniform/simple, I now wonder: should we
also forward GCC '-v' to binutils linke
Hi Pali, Hi Richard,
Interesting... Another test case which is working fine:
kernoffs:
.word 0x4 - (. - 0x0)
This works because this expression can be converted into an instruction
and a relocation in the object file:
% as t.s -o t.o
% objdump -dr t.o
Disassembly of section .
Hi Pali, Hi Richard,
Having file name and line number would be also useful as it took me
some time to figure out where is the issue...
Right - I have tried a little harder and come up with a follow up patch.
This is now checked in, and given an input file that looks like this:
% cat t.s
k
Hi Pali,
Hello! I would like to remind this thread for gcc/binutils developers.
Most of these issues are still present and cause problems for compiling
native PE binary. If you have questions or you need any other information
please let me know.
Have bug reports been filed for the individual i
Hi Pali,
Hello! Just for a record, I filled individual issues to bugzilla:
https://sourceware.org/bugzilla/show_bug.cgi?id=30004
https://sourceware.org/bugzilla/show_bug.cgi?id=30139
https://sourceware.org/bugzilla/show_bug.cgi?id=30140
https://sourceware.org/bugzilla/show_bug.cgi?id=30141
https
Hi Ericxu833,
gcc.exe -g -O0 -x c -fno-exceptions -fno-stack-protector -fno-ident test.c -o
test.exe
I used IDA pro to reverse engineer test.exe and found that gcc added "call __main" to the
front of the assembly code, and then executed "jmp __do_global_ctors". I guess this code
means to ins
13 matches
Mail list logo