[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Map and Fullmap not supported by nlmconv
From: |
Aravinda PR |
Subject: |
Map and Fullmap not supported by nlmconv |
Date: |
Wed, 30 Jun 2004 11:37:41 +0530 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030821 |
Hi all,
The map and fullmap directives in the linker definition file is not
supported by nlmconv as of now. I am using the gcc/nlmconv for porting
Perl 5.8.4 for NetWare. I found this porblem and hence has modified the
code to get this done. I am sending a patch containing my changes so
that this can be synced to the cvs and the further versions of
binutils/nlmconv will be able to generate the mapfile.
Thanks,
Aravinda
140c140
< PARAMS ((struct string_list *, char *, char *));
---
> PARAMS ((struct string_list *, char *));
334,341c334
< if (map_file != NULL)
< {
< input_file = link_inputs (input_files, ld_arg, map_file);
< }
< else
< {
< input_file = link_inputs (input_files, ld_arg, "stderr");
< }
---
> input_file = link_inputs (input_files, ld_arg);
942a936,937
> if (map_file != NULL)
> non_fatal (_("warning: MAP and FULLMAP are not supported; try ld -M"));
2098c2093
< link_inputs (inputs, ld, map_file)
---
> link_inputs (inputs, ld)
2101d2095
< char *map_file;
2116c2110
< argv = (char **) alloca ((c + 7) * sizeof(char *));
---
> argv = (char **) alloca ((c + 5) * sizeof(char *));
2148,2157c2142
< if(strcmp(map_file, "stderr") == 0)
< {
< argv[4] = (char *) "-Map";
< argv[5] = map_file;
< i = 6;
< }
< else
< {
< i = 4;
< }
---
> i = 4;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Map and Fullmap not supported by nlmconv,
Aravinda PR <=