This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Should this version script work?


--x.map--
{
local:
  bar; 

global:
  *;
};
--

# gcc -shared -Wl,--version-script,x.map x.o 
/usr/bin/ld:x.map:5: parse error in VERSION script
collect2: ld returned 1 exit status

--x.map--
{
local:
  bar; 
};
--

or

--x.map--
{
global:
  *;
};
--

work. Is that a bug?



H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]