[Bug ld/1543] [regression] LD very slow especially when linking C++ object files on alpha

2005-12-01 Thread neroden at gcc dot gnu dot org
-- What|Removed |Added Summary|LD very slow especially when|[regression] LD very slow |linking C++ object files on |especially when linking C++

ld should make '.rsrc' section read-only on win32

2005-12-01 Thread Michael Popov
Hello! I use mingw to produce win32 executables. It makes executable with '.rsrc' section flags 0xC040 which mean the section is writeable. While I cannot see any reasons to keep resource section writeable, I found two reasons to make it read-only: 1. for prevention of occasional write to rsr

[Bug ld/1957] New: "protected/hidden/internal" attribute in scripts ?

2005-12-01 Thread samuel dot thibault at ens-lyon dot org
Hi, I'm having problems with visibility attributes and ld scripts. For instance, the following program (test.c): extern __attribute__((visibility("internal"))) void *__foo; void* f(void) { return __foo; } compiled with the following script (test.lds): SECTIONS { .data: {

Re: bug in bfd relocation overflow handling

2005-12-01 Thread Chris Metcalf
It's not a 32-bit relocation, it's a 16-bit relocation. Chris On 12/1/2005 12:27 AM, Alan Modra wrote: On Wed, Nov 30, 2005 at 03:02:25PM -0500, Chris Metcalf wrote: It appears that if you have a 64-bit host targetting a 32-bit platform, the complain_overflow_bitfield case in _bfd_relocate